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

Re: document(), apply-templates and parameters

Subject: Re: document(), apply-templates and parameters
From: "Larry Mason" <Larry_Mason@xxxxxx>
Date: Wed, 20 Oct 1999 09:33:10 -0500
apply templates document

Try xsl:call-template instead of xsl:apply-templates





"Tangi Vass" <tangivass@xxxxxxxxxxxxxx> on 10/20/99 09:01:36 AM

Please respond to xsl-list@xxxxxxxxxxxxxxxx

To:   "Mulberrytech's XSL-list" <xsl-list@xxxxxxxxxxxxxxxx>
cc:    (bcc: Larry Mason/Dallas/US/i2Tech)
Subject:  document(), apply-templates and parameters



I tried to do this:

    <xsl:apply-templates select="document('foo.xml')">
      <xsl:with-param name="arg1">ok</xsl:with-param>
    </xsl:apply-templates>

But it fails: arg1's value is ignored.

Could someone tell me why ("normal" feature to prevent potential side-effects,
bug in LotusXSL 0.18.2, ...) ?

Thanks in advance,

Tangi
I tried to do this:
 
    <xsl:apply-templates select="document('foo.xml')">
      <xsl:with-param name="arg1">ok</xsl:with-param>
    </xsl:apply-templates>
 
But it fails: arg1's value is ignored.
 
Could someone tell me why ("normal" feature to prevent potential side-effects, bug in LotusXSL 0.18.2, ...) ?
 
Thanks in advance,
 
Tangi
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.