Re: [xsl] xsl:include

Subject: Re: [xsl] xsl:include
From: "Tony Graham" <tgraham@xxxxxxxxxx>
Date: Wed, 13 Nov 2013 10:19:32 -0000 (GMT)
On Wed, November 13, 2013 9:28 am, Nic Gibson wrote:
> Ive just been asked a question that Im having trouble answering.
> The question was could you give me a scenario where xsl:include is a
> better choice than xsl:import? I cant 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.


Tony Graham                                   tgraham@xxxxxxxxxx
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