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

RE: > replaced by ">", < is not replaced...

Subject: RE: > replaced by ">", < is not replaced...
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 13 Jul 2007 13:38:31 +0100
RE:  &gt; replaced by ">"
> With 'removed' I mean: "replaced by the actual character". So 
> "&#160;" 
> becomes a " " (SPACE) in the output, "&gt;" become a ">". 
> This is not what I want. Not because of visualization in an 
> HTML client, but because I have to be able to map the output 
> of the XLS back to some original input which contains the 
> "&gt;", "&#160;", etc. I basically just want to keep the 
> character encodings from the input in the output.

You can't, because XSLT works on the logical data structure, not on its
physical encoding. If you want to manipulate the physical encoding, you need
a lower-level tool.

XSLT programmers shouldn't have to worry about whether a character was
written as itself, as an entity reference, or as a decimal or hexadecimal
character reference.

Michael Kay
http://www.saxonica.com/

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.