Subject: Re: [xsl] xsl:import From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Fri, 04 Sep 2009 13:56:43 -0400 |
Thanks for your reply, Ken. So an importing stylesheet doesn't respect priorities assigned explicitly in imported stylesheets?
I.e., if in stylesheet A.xsl, I have
<xsl:template match="ElemName"> DO THIS </xsl:template>
and in stylesheet B.xsl I have
<xsl:template match="node()" priority="-1"> DO THAT </xsl:template>
and then I run the stylesheet C.xsl which looks like
<xsl:import href="A.xsl"/> <xsl:import href="B.xsl"/>
any element called elemName (and any other, for that matter, if we stick with just the XSL upstairs) is going to DO THAT instead of DOING THIS.
This seems to be what David Carlisle was explaining in his post archived on David Pawson's XSLT FAQ: http://www.dpawson.co.uk/xsl/sect2/N4738.html#d6607e353
-- Interested in these classes? http://www.CraneSoftwrights.com/s/i/ Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18 Video overview: http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18 G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl:import, Bill French | Thread | [no subject], Unknown |
Re: [xsl] passing a regex matched s, Martin Honnen | Date | Re: [xsl] passing several external , Wendell Piez |
Month |