[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Changing Attribute Value in all the ChildNodes at any level down the current node.


Subject: RE: [xsl] Changing Attribute Value in all the ChildNodes at any level down the current node.
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 27 May 2004 17:18:54 +0100

> > 	<xsl:attribute name="href"/>
> 
> AFAIK, xsl:attribute is not a self-closing element, so if you 
> really want to
> create an empty href attribute, at least there should be
> <xsl:attribute name="href"></xsl:attribute>

Where on earth did you get this idea? XSLT is XML, and in XML you can always
write <a/> in place of <a></a>.

Michael Kay


Current Thread
Keywords