xsl-list
[Top] [All Lists]

Re: How to test if a named attribute exists and put the name of that attribute in an generic way

2003-04-07 05:53:35
Hi David,

thanks.

regarding: 
<xsl:copy-of select="$attribute[. != '']"/>

Is empty igual not exist? 
It means if attribute exists and its value is not empty copy the attribute 
node. 

Is above equal to 
<xsl:copy-of select="$attribute[string(.) != '']"/> 
?


Thanks again,

Hans

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