|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Proposed New XSL Element -" xsl:insert" - Could it be considered
Hi Jim, > >So my issue is to find a method to "simply" insert > >the header, menu, footer and various structures in > >the master table layout...not something I can do > >"simply" with the current xsl... > > It seems to me that global variables and named templates and the xsl:copy-of > instruction between them provide all the capability you need. To be a little bit more detailed: I think you probably try to include "in the wrong direction" Your master stylesheet doesn't have to include something, but will be included by others. Instead of using <xsl:include> or <xsl:insert> you have to use e.g. <xsl:call template name="menu"/> This template may be defined in different versions in other stylesheets, each of them includes your master stylesheet, which in turn calls the "right" (specific) named template at the appropriate position. Accordingly you may define global variables with different values in the specific stylesheets and use these variables in the master stylesheet. Does this solve your problem? Regards, Oliver /-------------------------------------------------------------------\ | ob|do Dipl.Inf. Oliver Becker | | --+-- E-Mail: obecker@i... | | op|qo WWW: http://www.informatik.hu-berlin.de/~obecker | \-------------------------------------------------------------------/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








