[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: VERY special characters :)

Subject: Re: VERY special characters :)
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 17 May 2001 16:05:30 +0100
lf custom characters
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@xxxxxxxxxxxxxxxx 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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.