Re: XML Heck
- From: "Han" <hp4444@xxxxxxxxxxxxxxxx>
- Date: Sun, 19 Aug 2007 20:48:49 +0900
If the text field is legal XML,
select convert(xml, text-col) from table for xml ...
"KMouse" <kittinmouse@xxxxxxxxx> wrote in message
news:1187392347.795987.131390@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I've got a stored procedure that includes a SELECT statement with FOR
XML AUTO, ELEMENTS, ROOT['Listings']
The data in one of the table elements contains things like
<ul><li>Hello World</li></ul>.
What's spit out by the stored procedure is
&lt;ul&gt&lt;li&gt;Hello World&lt;/
li&gt&lt;/ul&gt;
How in the world can I get MSSQL Server 2005 to stop doing that?
.
- Follow-Ups:
- Re: XML Heck
- From: KMouse
- Re: XML Heck
- References:
- XML Heck
- From: KMouse
- XML Heck
- Prev by Date: Re: Checking hidden macro in Open-XML
- Next by Date: Re: XML Heck
- Previous by thread: Re: XML Heck
- Next by thread: Re: XML Heck
- Index(es):