xsl-list
[Top] [All Lists]

Re: [xsl] xsl:include

2013-11-13 04:40:49
Ah, yes

Thanks Tony

cheers

nic

On 13 Nov 2013, at 11:19, Tony Graham <tgraham(_at_)mentea(_dot_)net> wrote:

On Wed, November 13, 2013 9:28 am, Nic Gibson wrote:
I’ve just been asked a question that I’m having trouble answering.
The question was “could you give me a scenario where xsl:include is a
better choice than xsl:import?” I can’t think of one right now. Anyone got
a good example?

When you don't want import precedence doing its thing, e.g., when the
other module works around potential template rule conflicts by using
@priority, if you import the other module, then templates in the current
module won't play nicely with the finely graduated @priority values in the
other module.

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>
--~--


--
Corbas Consulting / @CorbasLtd
Digital Publishing Consultancy and Training
http://www.corbas.co.uk, +44 (0)7718 906817/+44 (0)1273 930765


--~------------------------------------------------------------------
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>