Transform XML.NET

chapmancairo

New Member
Ok, I got my asp.net component menu working fine. The menu looks for data from an XML file. This XML files came with the component and is in a very specific sturcture. The data for the menu is from a database. Since the data is from a database I need to query the DB to generate the correct data.<BR><BR>I use the wonderful command: dataset.WriteXML(filename) and the XML page gets generated, but it's not in the same form as what the menu XML is in. The WriteXML takes the form of the database, taking the field and tables names and sets them as the tags. I need a way to transform what WriteXML gives me into what the menu XML looks like.
 
Back
Top