Subject: Re: Fwd: document() doesn't pick up a param From: Gary L Peskin <garyp@xxxxxxxxxxxx> Date: Thu, 07 Sep 2000 13:29:32 -0700 |
Michael Labhard wrote: > The XSL statement "with-param" doesn't seem to be carried over to processing of > nodesets from "document(...)" calls. Observer: Michael -- The parameters are not carried over to documents but to templates. The document() function returns the _root node_ of the requested document. However, you don't have a template that matches the root node so the built-in template is used. The built-in template doesn't have any parameters, so when it invokes your matchme template, the parameters are lost. To see the difference, change your document function to: document('incoming.xml')/matchme and everything should work. HTH, Gary XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Fwd: document() doesn't pick up a p, Michael Labhard | Thread | Re: Fwd: document() doesn't pick up, Jeni Tennison |
Re: dynamically changing the XSL No, John E. Simpson | Date | RE: dynamically changing the XSL No, Krishnamurthy, Rama |
Month |