|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: insert linefeed
> -----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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








