Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

speical chars in xml (not the ones that belongs to to escaped chars)

$
0
0

i got text with the char for example(marked in red)

speical char

i try to parse the content that inside the xml

select	cast(XMLMessage as XML).query('MSG/MESSAGE').value('.', 'nvarchar(MAX)') as Content from table1 where id=10

and i get the error

XML parsing: line 1, character 330, illegal xml character

how can i deal with speical chars like this?


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>