[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] with select attribute

Subject: Re: [xsl] <xsl:apply-imports/> with select attribute
From: "Tony Graham" <tgraham@xxxxxxxxxx>
Date: Thu, 19 Dec 2013 15:09:36 -0000 (GMT)

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

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


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