This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: new to XSl/variable usage


> 
>  I am dong the following
> 
> <xsl:for-each select="contains($objName,'&quot;')">
> 
The contains() function returns a boolean, so there's not much point
trying to iterate over it. You can only use xsl:for-each iteration to
iterate over a node-set. In other cases you need to use a recursive
template. You will find an example by searching for "replace" in the FAQ
for this list.

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]