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

RE: Supressing entity expansion during XSLT transform

Subject: RE: Supressing entity expansion during XSLT transform
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sat, 12 Jan 2008 09:52:13 -0000
RE:  Supressing entity expansion during XSLT transform
> For saxon:serialize, I first need to understand how to invoke 
> Florent's serializer.
> 
> Incidentally, Michael, I am puzzled by one aspect of the 
> design of saxon:serialize - namely the passing of an 
> xsl:output element.
> 
> If I was writing a built-in extension function, I would take 
> advantage of access to the processor internals, and pass the 
> value of the xsl:output name attribute. 

When it's used in XSLT, the second argument can indeed be the name of an
xsl:output declaration in the stylesheet. The other option, of providing a
run-time xsl:output element, is there for two reasons:

* It works in XQuery.

* It allows a completely dynamic specification of the serialization
parameters.

Of course, the specification has evolved in a slightly ad-hoc way looking at
only one user requirement at a time - you generally get a better spec if you
apply a number of minds to the task and try and analyze all the requirements
in advance, hence the suggestion of doing it under EXSLT auspices.

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.