Results 1 to 8 of 8

Thread: XML: A Problem

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2004
    Posts
    25

    Question XML: A Problem

    Hi,

    I'm new to XML and Visual Basic. My question is whether it is possible to Show xml data directly on vb form without using any vb classes, i.e. xmlTextReader, xmlValidatingReader, etc.?

    In my project, the requirements are such that I have to xml data directly in the vb application by using xsl/css. But, as far as I know, viewing xml data directly is only possible with Internet Explorer.

    Please, solve my query. It's urgent and important.

  2. #2

  3. #3
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    Viewing XML data is possible in any way that you wish using VB. You just have to parse the structure of the data and lay it out for your users to view it in a reasonable way.

    Now.... how to go about that... well... that could take some time
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Apr 2004
    Posts
    25

    XML: How?

    Dear Friend,

    Thanks a lot for your reply. I have noted ur answer, but the question still remains there. How? How can we do the same? Could u please help me in getting the answer? I need to apply the same in my project.

    Thanx

  5. #5
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: XML: How?

    Originally posted by javvym
    Dear Friend,

    Thanks a lot for your reply. I have noted ur answer, but the question still remains there. How? How can we do the same? Could u please help me in getting the answer? I need to apply the same in my project.

    Thanx
    Are you asking me or are you asking ober5861?

  6. #6
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    I think he was asking me. And the answer is too long to even consider trying to sit here and explain. You need to understand the XML objects and how a XML structure is defined. Then you can go about parsing the file, and loading the structure into a tree showing the various parts of the structure. Do a search on google. I'm sure you'll get some good resources.
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  7. #7

  8. #8

    Thread Starter
    Junior Member
    Join Date
    Apr 2004
    Posts
    25

    XML: Problem in detail.

    Dear Marty & Ober,

    Let me explain the problem a bit in detail.

    I am developing an application in VB6 that has to take travel inputs(air availability, car rentals, hotel reservations, etc.) from the travel agent. The application will then convert the parameters into xml format, which will be sent to www.worldspan.com. The site will send a response in xml format. Now, here I'm facing problems. My code should be able to display the xml data in a tabular format in the VB application without being response specific. The results are not to be displayed in IE or somehere else.My code should not search for tags or rather it should not rip-off the tags to display data. The code should be very general and no matter what kind of xml response comes, it should simply be able to show the data. Atmost, I can use .xsl or .css files.

    Can u people help me in solving this problem? If possible, than give me codes/resources or specific urls where I can find related help.

    Thanks a lot.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width