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

RE: Flow data in table

Subject: RE: Flow data in table
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Wed, 12 Nov 2003 13:37:30 +0100
xsl nesting templates
> -----Original Message-----
> From: Andrew Glass

> success. The problem seems to be that your suggestion requires
> nesting xsl:template instructions since this segment needs to sit
> within html and that within the primary xsl:template. Apparently

Re-reading your reply, I don't quite get this... Why would it need to sit
within the primary template? All templates being called from inside this
template automatically 'stay' within the html root node constructed by it.

If by 'template-instructions' you mean 'xsl:apply-templates' or
'xsl:call-template', then you can nest all you want. As long as there is a
template defined somewhere in a 'reachable' spot matching the selected
node's name or any of its children, there should be no problems.
('reachable' referring to the current stylesheet or any included or imported
ones )

The separate xsl:templates, however, can only appear as children of an
xsl:stylesheet. Of course, you could do away with the 'nested' templates
altogether, go for a single root template and use a nested <xsl:for-each
...>.

Hope this helps!


Cheerz,

Andreas


 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.