This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Xalan - Stylesheet included using setInclude can't see other temp lates


>From: Damon Horrell <dhorrell@oktobor.com>
>To: "'XSL-List@lists.mulberrytech.com'" <XSL-List@lists.mulberrytech.com>
>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]