basic XML question (read & write)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Stijn Goris

    basic XML question (read & write)

    Hi all,

    I have created a XML structure with XSD and want to write and read data from
    the elements in the XML structure. Ik have for example an element called
    server and want to read the server data from the xml file. Is this possible?

    regards
    Stijn
  • Nick Malik [Microsoft]

    #2
    Re: basic XML question (read & write)

    look into XPath queries. This is usually the most effective way to get data
    from an XML structure, especially since you have the schema.


    --
    --- Nick Malik [Microsoft]
    MCSD, CFPS, Certified Scrummaster


    Disclaimer: Opinions expressed in this forum are my own, and not
    representative of my employer.
    I do not answer questions on behalf of my employer. I'm just a
    programmer helping programmers.
    --
    "Stijn Goris" <StijnGoris@dis cussions.micros oft.com> wrote in message
    news:8CEAABC8-9A20-4F57-8EDF-ABA526E290B9@mi crosoft.com...[color=blue]
    > Hi all,
    >
    > I have created a XML structure with XSD and want to write and read data[/color]
    from[color=blue]
    > the elements in the XML structure. Ik have for example an element called
    > server and want to read the server data from the xml file. Is this[/color]
    possible?[color=blue]
    >
    > regards
    > Stijn[/color]


    Comment

    Working...