Subject: Re: [xsl] using variables in xsl value of select From: "Joris Gillis" <roac@xxxxxxxxxx> Date: Fri, 18 Feb 2005 17:50:17 +0100 |
i am loading an xml into a variable using the document asHi,
<xsl:variable name="srcxml" select="document('QP_Sample.xml')" />
i have certain conditions to check and then am getting the node whose value has to be retrived from this xml
<xsl:variable name="node"> <xsl:call-template name="tail"> <xsl:with-param name="string" select="@ref"/> </xsl:call-template> </xsl:variable>
this node gives me the end of the node for example if i have A/B/C/D then this tail template returns D into my node
I would like to get the value of this node from the above xml for which i am using
<xsl:value-of select="$srcxml//$node"/>
regards, -- Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041) "Quot capita, tot sententiae" - Terentius , Phormio 454
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] using variables in xsl value , Prasad Akella | Thread | Re: [xsl] using variables in xsl va, Prasad Akella |
[xsl] W3C, WHAT-WG and Forms confus, António Mota | Date | Re: [xsl] Muenchian grouping, Mukul Gandhi |
Month |