This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Unsupported symbols
- From: Jarno dot Elovirta at nokia dot com
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 5 Apr 2002 13:57:35 +0300
- Subject: RE: [xsl] Unsupported symbols
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi,
> Please advise a way how can I pass by means of XSLT
> characters unsupported
> with XML (for example ) to result document during XML->TXT
> transformation. I use Xalan XSLT processor.
There's no XSLT way of doing this. If you're using Xalan-J, write an extension that will e.g. take the Unicode code point as input and return a String containing that character. It's been a while since the last time I tried this, but at the time Xalan-J's serializer allowed to write non-XML characters in text nodes into the output. Other way of doing this would be to write e.g. <?char 000C?> processing instructions and then write your own serializer to serialize those processing intstructions as the specified character.
Santtu
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list