[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Xalan - Stylesheet included using setInclude can't see

Subject: 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
xalan stylesheet
>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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.