sql server - FOR XML EXPLICIT - Generating £ -
i have issue when using xml explicit.
basically (our company) use document printing company send xml to. in process of developing new document , 1 of sentences needed is:
"pays £98 each month 12 months in claim."
the printing company cant process £ sign have asked in format of £ though easy achieve. have built string in sql when output generated, xml explicit generates £ company doesn't want either.
please can me output literal string £
thanks in advance :)
you should use modificators (element, xml). see this
select 1 tag, null parent, '£' [a!1!b!xml], '£' [a!1!c!xml], '£' [a!1!d!element] xml explicit