Subject: [xsl] xsl:apply-imports and (imported) default templates From: "Rushforth, Peter peter.rushforth@xxxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 15 May 2014 14:37:52 -0000 |
Hi, We are using <xsl:apply-imports/> to allow an imported stylesheet to provide custom javascript links in the head of the generated html page. The problem is that unless the imported stylesheet provides a do-nothing template for this mode, the <xsl:apply-imports/> directive seems to invoke the default templates from either the imported stylesheet or itself. I thought, from reading the "manual", that xsl:apply-imports only invoked templates which have the same mode as that of the invoking template. Why are the default templates apparently being invoked? Thank you. Peter Rushforth
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] WARNING org.xml.sax.SAXPa, Kulas, Jack jkulas@x | Thread | Re: [xsl] xsl:apply-imports and (im, Michael Kay mike@xxx |
Re: [xsl] WARNING org.xml.sax.SAXPa, Kulas, Jack jkulas@x | Date | Re: [xsl] xsl:apply-imports and (im, Michael Kay mike@xxx |
Month |