Subject: [xsl] Xalan - Stylesheet included using setInclude can't see other temp lates From: Mulberry Technologies List Owner <xsl-list-owner@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 29 May 2002 23:25:27 -0400 |
>From: Damon Horrell <dhorrell@xxxxxxxxxxx> >To: "'XSL-List@xxxxxxxxxxxxxxxxxxxxxx'" <XSL-List@xxxxxxxxxxxxxxxxxxxxxx> >Subject: Xalan - Stylesheet included using setInclude can't see other temp > lates >Date: Thu, 30 May 2002 09:14:10 +1200 > >This question refers to Xalan-Java 2. > >I am trying to include an additional xsl stylesheet into a stylesheet that >is already being processed by using >stylesheet.setInclude(myStylesheet); > >I am calling recompose on each of the templates in my new stylesheet. > >This works except that I am not able to call templates in the original >stylesheet as it can't find them. > >Does anyone know how I can force it to recognise these? I want to end up >with a single stylesheet being processed but need to include part of it >dynamically after the first part has already been read in. > >The main stylesheet is read in using TransformerFactory.newTemplates which >seems to resolve all the includes etc at the time it is read in. I just >want to add an additional xsl:include after that but have it behave the same >as any normal one. > >If I use <xsl:include> in my new stylesheet to include the templates that I >want then they end up being duplicated and this causes a problem too. > >Is anyone able to help? > >Thanks, >Damon XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Problem w/ call-template, NILESH PATEL | Thread | [xsl] Checking whether node value i, Mukul . Mudgal |
Re: [xsl] Problem w/ call-template, Peter Davis | Date | [xsl] Checking whether node value i, Mukul . Mudgal |
Month |