XML into string var

  • Thread starter Thread starter xnakxx
  • Start date Start date
X

xnakxx

I have a real simple xml doc...
<?xml version="1.0" ?>
<parent>
<child-a>value-a </child-a>
<child-b>value-b </child-b>
.....
</parent>

I am having a heck of a time trying to read it into vars
ie.
the var "child-a" = "value-a"

what i am trying to accomplish is to output a (dynamic) html file using
streamwriter with the values from the xml doc.

any sugestions would be greatly appreciated.
 
This is a common function of an XSLT http://en.wikipedia.org/wiki/XSLT

Done right it will transform the xml file into whatever html you would
like. There are some great examples of this in the WROX book
Professional VB.NET as well.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top