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

Re: <xsl:apply-imports/> with select attribute

Subject: Re: <xsl:apply-imports/> with select attribute
From: "Tony Graham" <tgraham@xxxxxxxxxx>
Date: Thu, 19 Dec 2013 15:09:36 -0000 (GMT)
Re:  <xsl:apply-imports/> with select attribute
On Thu, December 19, 2013 2:22 pm, Tony Graham wrote:
...
> From your template for '/', instead of using xsl:for-each, you could apply
> templates on the document nodes in the collection but use a mode, and from
> the template for '/' in that mode, use xsl:apply-imports.

Sorry, no, xsl:apply-imports will keep the current mode.  See
http://www.w3.org/TR/xslt20/#apply-imports

So it could work if you started in an initial mode, but not the other way
around.

Regards,


Tony Graham                                   tgraham@xxxxxxxxxx
Consultant                                 http://www.mentea.net
Mentea       13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
 --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
    XML, XSL-FO and XSLT consulting, training and programming
       Chair, Print and Page Layout Community Group @ W3C

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.