This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: VERY special characters :)
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] VERY special characters :)
- From: Wendell Piez <wapiez at mulberrytech dot com>
- Date: Thu, 17 May 2001 16:05:30 +0100
- References: <20010517171250.D86863@interbizz.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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 http://www.jclark.com/xml/xt.html. See the section on "Non-XML
Output".
Cheers,
Wendell
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@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
======================================================================
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list