This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Unsupported symbols


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]