Subject: Attributes and Axis
From: "António Mota" <amsmota@xxxxxxxxx>
Date: Thu, 13 Apr 2006 16:58:51 +0100
|
Hi all:
I'm trying to navigate thru the attributes of a element, but no
success. Something like
<xsl:template match="@*">
<xsl:if test="following-sibling::attribute()">
</xsl:if>
</xsl:template>
meaning if there is more attributes for this node...
But ofcourse that wont work...
I finnaly made what i want using
<xsl:when test="position()=last()">
But what if i need to use axis with attributes? Or there arent't axis
with attributes? If so, how can i refrence other attributes on the
same element?
Thanks
|