Hi XML Gurus,
Apostrophe is causing my XML to break.
declare @xml xml
set @xml =
'
test1 '
'
select c.value('issuerCode[1]', 'varchar(20)') AS test
from
@xml.nodes('/root/issuers') AS T(c)
Now instead of ' if I have ' it breaks.
As ' is not a mandatory encoding character as per w3 standards the vendor who is generating the XML does not want to encode it. Is it a SQL issue or issue with my understanding?