xsl-list
[Top] [All Lists]

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

2013-12-19 09:09:49
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(_at_)mentea(_dot_)net
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



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>