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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML whitespace problem

Status
Not open for further replies.

jigen3

Technical User
Oct 19, 2003
13
JP
hi there,
i have a problem that doesn't seem to be mentioned anywhere. when i output data to xml using the SELECT statement and FOR XML the results have no whitespace formatting (no returns, tabs). is there some sort of setting i have to adjust to make the xml output include whitespace? thx for reading and any replies.

jigen3
 
The for xml clause just produces xml. If you want to have it formatted so that it's easily readable then try loading it into an xml editor.

======================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top