-----Original Message-----
From: Derrick Koes [mailto:derrick_koes(_at_)hotmail(_dot_)com]
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