W3C home > Mailing lists > Public > xproc-dev@w3.org > March 2012

Serialization options

From: Wendell Piez <wapiez@mulberrytech.com>
Date: Tue, 27 Mar 2012 16:17:15 -0400
Message-ID: <4F72204B.9090808@mulberrytech.com>
To: xproc-dev@w3.org

I am successfully using

<p:serialization port="final" encoding="us-ascii"/>

to get my pipeline to serialize non-ascii characters as Unicode 
character references.

But my client (no, I can't say why) wants them to be in hex notation not 
decimal, which is what I'm now getting. So close, and yet so far. :-(

Does anyone have any tips to share? I'm using Calabash under oXygen. 
Saxon has an extension attribute on xsl:output for this, 
saxon:character-representation, but I wouldn't know how to invoke it 
even if it's possible.

I've thought of writing the output from a terminal stylesheet using 
xsl:result-document, but I'd gladly do this the right way.


Wendell Piez                            mailto:wapiez@mulberrytech.com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
   Mulberry Technologies: A Consultancy Specializing in SGML and XML
Received on Tuesday, 27 March 2012 20:17:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:17:02 UTC