xsl-list
[Top] [All Lists]

Re: [xsl] xpath problem

2012-02-07 08:11:57
I am sorry its typo error. 
 <plan>
    <source>asfasfs</source>
 </plan>



--- On Tue, 7/2/12, Martin Honnen <Martin(_dot_)Honnen(_at_)gmx(_dot_)de> wrote:

From: Martin Honnen <Martin(_dot_)Honnen(_at_)gmx(_dot_)de>
Subject: Re: [xsl] xpath  problem
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Date: Tuesday, 7 February, 2012, 7:33 PM
ram wrote:

       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>
       ^^^^^^^   
   ^^^^^^^^^
That is not even well-formed so please post samples that
allow us to 
reproduce the issue.
 
   <value>adadf</value>
</plan>

      when i run the above line i am not
getting any result. is there anything wrong with the
statement.




-- 

    Martin Honnen --- MVP Data Platform
Development
    http://msmvps.com/blogs/martin_honnen/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


<Prev in Thread] Current Thread [Next in Thread>