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

Re: Parameter Scope

Subject: Re: Parameter Scope
From: Matt <puskas.duck@xxxxxxxxx>
Date: Tue, 12 Jun 2007 15:41:20 +0100
Re:  Parameter Scope
Thanks Andrew, I didn't want to put too much info in as to cloud the issue.

I'm quite happy with the structure - other than it appears there is a
lack of way of communucating between the peer templates (pageLayouts)
, and I wondered if I'd missed a trick.

I was thinking of including an extra template in between the root and
the pageLayouts, which would be recursively called from pageLayout,
and your suggestion is encouraging me down that route.

The structure is quite important as I need to map it all back on to a
database design which allows the XSL to be autogenerated eventually.


<xsl:template match="/">
 <xsl:appy-templates mode="report" />

<xsl:template mode="report">
 <xsl:param name="pageNo" select="'1'"/>

<xsl:apply-templates mode="pageLayout1">
   <xsl:with-param name="pageNo" select="'$pageNo'"/>

<xsl:apply-templates mode=pageLayout2">
  <xsl:with-param name="pageNo" select="'$pageNo'"/>


Current Thread


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.
First Name
Last Name
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.