Dear editors, I find it (very slightly) frustrating that the xsl:attribute element does not have a select attribute. For example, I must type: <xsl:for-each select="$atts/*"> <xsl:attribute name="name()"> <xsl:value-of select="."/> </xsl:attribute> </xsl:for-each> If $x = <att1>1</att1><att2>2</att2><att3>boo</att3> Then we get: <... att1="1" att2="2" att3="boo" ...> (This is a bit more dynamic then using xsl:attribute-set) In an ideal world I could type: <xsl:for-each select="$atts/*"> <xsl:attribute name="name()" select="." /> </xsl:for-each> The same applies to xsl:element... Regards, Agnes Clarke www.agslin.net -- The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.Received on Thursday, 2 January 2003 10:53:24 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 10 August 2007 00:11:37 GMT