W3C home > Mailing lists > Public > xsl-editors@w3.org > October to December 2000

loop over attributes in xsl

From: Gilad Bar Lev <GBarlev@ifn.co.il>
Date: Wed, 4 Oct 2000 14:39:44 +0200
Message-ID: <903BD0010067D411B94C009027731B1516A25A@IFN_MAIL>
To: "'xsl-editors@w3.org'" <xsl-editors@w3.org>

Is there a way I can go over all the attributes of an element?

My code for the xsl file is that:

<?xml version="1.0"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"
	<xsl:template match="/">
			<xsl:for-each select="//z:row"
order-by="number(@I_ENTRY_ID)" direction="-">
			<xsl:for-each select="//z:row[attribute(@)]">
		<xsl:attribute name="I_NEW_ITEM">g</xsl:attribute>


could you come back to me as soon as possible

thank you very much


Received on Wednesday, 4 October 2000 07:41:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:20 UTC