Subject: Re: [xsl] Second of two consecutive call-template instructions appears to affect the first? From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 15 Mar 2006 17:11:21 -0500 |
Many thanks Wendell for your comprehensive explanation. Events somehow conspired to convince me that call-template behaved differently to apply-templates, and that I didn't need to explicitly pass parameters from the caller, nor declare them in the callee.
As I wrote the stylesheet (based on this assumption), each new addition of conditional logic seemed to work, nay, _did_ work, as I intended, further convincing me of my incorrect understanding!
Anyhow, the stylesheet is now about 20 lines longer due to the addition of lines like this in the callers:
(1) <xsl:with-param name="name"><xsl:value-of select="$name" /></xsl:with-param>
It was probably also the seemingly pointless and repetitive nature of this mechanism that served to further convince me that "this can't be necessary!" I can see why 'tunnel parameters' have been introduced, if they serve to cut down on the number of lines like these, especially (1).
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Second of two consecutive, Sebastian Tennant | Thread | Re: [xsl] Second of two consecutive, Sebastian Tennant |
Re: [xsl] Displaying one section of, Gowri Ratakonda | Date | RE: Re: [xsl] Complex expression, cknell |
Month |