Subject: RE: [xsl] insert linefeed From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx> Date: Tue, 20 Apr 2004 21:39:53 +0200 |
> -----Original Message----- > From: Derrick Koes [mailto:derrick_koes@xxxxxxxxxxx] > > and then parse it to a DOM document for use in an XSL transform > (applying a > sytlesheet). Parsing always throws the following exception. > > org.xml.sax.SAXParseException: An invalid XML character (Unicode: > 0x10) was Well... linefeed is actually either O10 (decimal) or 0x0A (hex), but 0x10 would yield a control character that is indeed not allowed as character in XML. So, > test.appendChild(doc.createTextNode("\u0010")); Try making it '\uA' (it's '\uXXXX', where XXXX is a sequence of one to four *hexadecimal* characters) Hope this helps! Cheers, Andreas
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] insert linefeed, Derrick Koes | Thread | [xsl] Carriage returns in attribute, Ramon M. Felciano @ |
[xsl] insert linefeed, Derrick Koes | Date | RE: [xsl] typing of integer operati, Michael Kay |
Month |