Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML declaration statement

Status
Not open for further replies.

rq

Programmer
Jun 13, 2002
56
0
0
US
I created a Select statement using the For XML Explicit clause to convert SQL data into an XML format. As you are aware the XML declaration statement -- <?xml version ="1.0" encoding="UTF-8"?> must be inserted before defining the root element.

How do I define the XML declaration statement with respect to my existing Select...For XML Explicit statement?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top