Re: [xsl] VERY special characters :)

Subject: Re: [xsl] VERY special characters :)
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 17 May 2001 16:05:30 +0100
I think Mikael might do well to take a good look at the custom output method included with XT. (Someone mentioned this is passing -- David C.?) The idea there is to represent the desired non-XML characters with tags in the output (or rather, elements /attributes in the result tree); then the custom serializer picks them up and does the Right Thing with them.

The application, though a demo, might even work out of the box for Mikael: the fit seems pretty good.

Find XT at See the section on "Non-XML Output".


At 05:21 PM 5/17/01, Mike Brown wrote:
Mikael Karpberg wrote:
> I want to output a control-character (0x00-0x1f) with output method "text".

Control characters in that range, except for TAB, CR and LF, are not allowed
in XML documents, not even by reference. This is what David Carlisle meant
by XML characters. You don't have any way of saying, using XSLT, that you
want these characters in the output. You need a custom output method or you
need to output something else and post-process it to translate to the
characters you need.

- Mike

====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. 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 ======================================================================

XSL-List info and archive:

Current Thread