Subject: Re: [xsl] Variable in XPath... From: Alessio Mazzieri <mazzieri@xxxxxxxxxxx> Date: Fri, 09 Nov 2001 09:33:29 +0100 |
Ohh!? The $node_id variable contains a "string" (obviously intended as a single node tree fragment contains a text), not a tree fragment related to config_doc.xml. Or not?The $node_id contains the exact node name.
I suspect you have the wrong model of what's happening.
It's a bit hard to tell as you didn't show th eformat of either of your input files, but I guess
config.xml looks like <config> <nodename>xxx</nodename> </config>
if so then $node_id contains a single element node (nodename)
so
<xsl:for-each select="$node_id">
will select that node (in config_doc.xml, not any nodes in the original document)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Variable in XPath..., David Carlisle | Thread | Re: [xsl] Variable in XPath..., David Carlisle |
Re: [xsl] Generating new element wh, bernwardhanssen | Date | [xsl] linking troubles, Arend Vogtländer |
Month |