[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
On 07/02/2012 14:00, ram wrote:
My guess would be that $var is actually the document node that contains <plan> as a child element, in which case you need to select down an extra level.
Re: [xsl] xpath problem
Subject: Re: [xsl] xpath problem From: Michael Kay <mike@xxxxxxxxxxxx> Date: Tue, 07 Feb 2012 14:12:50 +0000 |
On 07/02/2012 14:00, ram wrote:
It's hard to debug problems when all you know is that the input is "something like this" - solving programming problems requires accurate detail.Hi, I was trying to do xpath like following.
<xsl:variable name='abc' select="normalize-space($var1/*[local-name()='source']/text())"/>
the $var1 contains a node set something like this.
<plan> <sourc>asfasfs</source> <value>adadf</value> </plan>
when i run the above line i am not getting any result. is there anything wrong with the statement.
My guess would be that $var is actually the document node that contains <plan> as a child element, in which case you need to select down an extra level.
Michael Kay Saxonica
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xpath problem, ram | Thread | Re: [xsl] xpath problem, Andrew Welch |
Re: [xsl] xpath problem, ram | Date | Re: [xsl] xpath problem, Andrew Welch |
Month |
Keywords