Home All Groups Group Topic Archive Search About
Author
4 Oct 2006 5:20 AM
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.

Author
4 Oct 2006 1:00 PM
Charlie Brown
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.


xna***@gmail.com wrote:
Show quoteHide quote
> 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.