Subject: Re: [xsl] 0x19 is not a legal XML character From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Thu, 28 Jun 2007 13:28:28 +0200 |
Of course, it can be valid content, in which case the XML documents should be opened as XML 1.1 documents.
I'm reluctant to join a thread that has been deemed by both the OP and Tommie to be off-topic, but in the interests of accuracy: x19 is a legal character in XML 1.1 only if written in the form of a numeric character reference. (Which means that encoding is definitely NOT an issue).
<xsl:character-map name="char-to-ent"> <xsl:output-character character="" string="&#x16;"/> <xsl:output-character character="" string="&#x17;"/> <xsl:output-character character="" string="&#x18;"/> <xsl:output-character character="" string="&#x19;"/> </xsl:character-map>
<xsl:template match="/" name="main"> <xsl:value-of select="unparsed-text('make-control-chars.xml')" /> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] 0x19 is not a legal XML c, Michael Kay | Thread | [xsl] Re: Thank you all![xsl] 0x19 , Vaduvoiu Tiberiu |
RE: [xsl] 0x19 is not a legal XML c, Michael Kay | Date | [xsl] Re: Thank you all![xsl] 0x19 , Vaduvoiu Tiberiu |
Month |