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

Subject: Re: [xsl] How to test if a named attribute exists and put the name of that attribute in an generic way
From: "Braumüller, Hans" <H.Braumueller@xxxxxxxxxxxx>
Date: Mon, 7 Apr 2003 14:53:35 +0200
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


Current Thread