|
-
Nov 1st, 2002, 10:38 AM
#1
Thread Starter
Hyperactive Member
Change Root Tag On DataSet XML
Right now i have a small application that reads from SQL and writes the data back to an XML file. However the XML root is called <NewDataSet> and the sub elements are called <Table>. Is there a way to customize these with my own names?
..::[ kleptos]::..
- Database Administrator (MSSQL 2000)
- Application Developer (C#)
- Web Developer (ASP.NET)

-
Nov 1st, 2002, 10:44 AM
#2
PowerPoster
You could write a xslt stylesheet to transform the xml into any output you want.
-
Nov 1st, 2002, 10:54 AM
#3
Thread Starter
Hyperactive Member
Well, i need the XML file to have different tags. not just on display.
..::[ kleptos]::..
- Database Administrator (MSSQL 2000)
- Application Developer (C#)
- Web Developer (ASP.NET)

-
Nov 1st, 2002, 11:31 AM
#4
PowerPoster
You can change the tags to whatever you want using xsl.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|