RE: [xsl] Attributes and Axis

Subject: RE: [xsl] Attributes and Axis
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Thu, 13 Apr 2006 18:14:32 +0200 (CEST)
Antsnio Mota wrote:

> 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...

  Because you didn't say which version you're using, I'll assume 1.0. 
You can check <URL:>.  For example:

    the following-sibling axis contains all the
    following siblings of the context node; if the
    context node is an attribute node or namespace node,
    the following-sibling axis is empty

  BTW, remember that attributes are not ordered.




Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services prifiris : virifiez vos nouveaux mails, lancez vos recherches et suivez l'actualiti en temps riel. 
Rendez-vous sur

Current Thread