|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
XML into string varI 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. 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.
.NET 2 recommended books?
Sending email with attachments writing commands to command prompt in VB.NET Open folders to process files automatically Datetimepicker - just getting the data part ComboBox.Items.Clear() How to convert code snipped from VB6 to Visual Studio 2005/VB (VB7?) How hard would this be? Regular Expression test "file exists" on remote computer? |
|||||||||||||||||||||||