This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Determining if an element exists within any tag of a specifiedname...
<xsl:if test="current()[../*/attrtype[. != '')]">
can be shortened to <xsl:if test="../*/attrtype != ''">.
But maybe you can shorten the complete code as I did it.
<xsl:if test="current()[not(end())]">, </xsl:if>
<xsl:if test="position() != last()">, </xsl:if>
should do the job.
Regards,
Joerg
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list