O.k., so I'm loading french translations into a DB, as XML ...
I can use '' for the simple apostrophies, I can't use '(because the SQL errors) and There is the ’ (this one looks like an apostrophe/or tick, but apparently comes out as a funky accented A (’) when I try to use it here natively..? it is U+2019) which is causing problems:
Declare @FRENCHxml xml
set @FRENCHxml = '
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" />
<xsl:template match="/">
<html>
<head>
<title>
some title
</title>
</head>
<body>
LOTS of stuff here including --- l'application(looks like)
LOTS of stuff here including
</body>
</html>
</xsl:template>
</xsl:stylesheet>' -- end FRENCH
UPDATE [TemplateTable]
SET [Template] =@FRENCHxml WHERE [ID] = @Number
Has anyone seen this or can assist me?
incidentally CDATA won't work because this is an SQL exception, not an XML issue.. basically how do you get the "dangerous" characters to save into your XML haven't found a useable solution that involves the & sign inside the XML block
Mainly concerned with U+2019 character can't use the
’
because of the ampersand.. And I can't try
\’
because that results in \’ in the XML node with no way to remove the slash!!!
And any other method I can think of will not work also...
ARGH! :doh: :mad:
please and thank you .. I'm going mad here....!!!
Apparently" i'm even experiencing problems trying to show the non-escaped characters here as well...hmmm Well If you want to know more about my offensive punctuation mark Look
Here[
^]