Subject: RE: [xsl] Parameter passing through call to "document" From: "William Scarvie" <wscarvie@xxxxxxxxxxx> Date: Thu, 16 Mar 2006 22:37:24 -0800 |
You have a template that matches "/projects". In this template you do an
apply-templates and attempt to pass a parameter named "project_id". The value
you assign to this parameter appears to be a node named "record_id_". There is
your problem. This construct assumes an XPath structure of
"/projects/record_id_", where in the actual document the XPath is
"/projects/record/record_id_".
When you assign "/projects/record_id_" to the value of the parameter, you are
selecting a node that doesn't exist. Ergo, you get the default value of the
parameter.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Parameter passing through, cknell | Thread | RE: [xsl] Parameter passing through, William Scarvie |
RE: [xsl] Parameter passing through, cknell | Date | [xsl] FW: Output formatting, Linda Burgess |
Month |