xsl-list
[Top] [All Lists]

[xsl] Attributes and Axis

2006-04-13 08:59:08
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>