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

RE: Identity transformation for XSLT 2.0

Subject: RE: Identity transformation for XSLT 2.0
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 17 Dec 2007 11:29:14 -0000
RE:  Identity transformation for XSLT 2.0
> An entity reference is supposed to be an ___author 
> convenience_ that does not affect further processing.

I think there are two use cases where keeping the entity references through
the transformation is a valid user requirement:

(a) where the result of the transformation will again be subject to human
editing. (This is also a case where you don't want default values expanded).
For example, I would love to be able to do a transformation on the XSLT spec
that removed some of the change history, but made no other changes. It's
hard to achieve that currently.

(b) where the entity references are to entities whose final expansion is not
known at the time of the transformation, that is, where you want the
reference to be expanded further downstream in the processing pipeline when
more information is available. 

One answer to these requirements, which is the one I tend to adopt, is not
to use entities. But that's not always an option.

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.