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

Re: Does this XSLT 2.0 stylesheet use any XSLT 2.0 fe

Subject: Re: Does this XSLT 2.0 stylesheet use any XSLT 2.0 features?
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Fri, 26 Sep 2008 17:31:39 +0200 (CEST)
Re:  Does this XSLT 2.0 stylesheet use any XSLT 2.0  fe
Jonathan Robie wrote:

  Hi

> Unfortunately, this happens in at least several places in at
> least several stylesheets, and I doubt there's any easy way to
> automatically detect where the difference

  You could be able to transform quite easily your stylesheets to embed
all your xsl:value-of/@select in a call to zero-or-more().  You then
run your stylesheets with representative inputs, and each time a
sequence with more than 1 item is used in those @select, that will
generate an error.

  If you have quite extensive input samples (that cover all possible
execution paths) you would be able to detect all harmful value-of...

  BTW Michael, does Saxon provide something like this (without the need
to transform the stylesheets before)?  That could be useful for
migrating stylehseets from XSLT 1.0 to 2.0.

  Regards,

--drkm

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.