Viewing XML Data

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jonathan Taylor

    Viewing XML Data

    I have a large XML file that contains many complex objects.

    The objects contain a fairly sizeable amount of information and I'm only
    interested in displaying the name of each item. I don't want to read the
    whole document into memory, I merely want to go through the document and
    populate a list view which will list all items in the xml file.

    When i select an item in the list view I then want to view it. I do this by
    pressing a button that will display the form for viewing the item. I could
    pass the new form an identifier which will tell it the item to display.

    Can anyone suggest the best way to do this ?

    Many thanks.


  • clintonG

    #2
    Re: Viewing XML Data

    Yes, fragments are supported as I understand. Not reading the whole tree
    into memory is I believe dependent on which parser is being used.

    Google: "system.xml"+"f ragment"
    Google: "xml parser comparison"

    <%= Clinton Gallagher
    METROmilwaukee (sm) "A Regional Information Service"
    NET csgallagher AT metromilwaukee. com
    URL http://metromilwaukee.com/
    URL http://clintongallagher.metromilwaukee.com/


    "Jonathan Taylor" <jontay@0000000 0homtail.com> wrote in message
    news:eOJEi6HXFH A.1384@TK2MSFTN GP09.phx.gbl...[color=blue]
    >I have a large XML file that contains many complex objects.
    >
    > The objects contain a fairly sizeable amount of information and I'm only
    > interested in displaying the name of each item. I don't want to read the
    > whole document into memory, I merely want to go through the document and
    > populate a list view which will list all items in the xml file.
    >
    > When i select an item in the list view I then want to view it. I do this
    > by pressing a button that will display the form for viewing the item. I
    > could pass the new form an identifier which will tell it the item to
    > display.
    >
    > Can anyone suggest the best way to do this ?
    >
    > Many thanks.
    >[/color]


    Comment

    Working...