- From: Kay, Michael <Michael.Kay@softwareag.com>
- Date: Mon, 18 Feb 2002 12:57:56 +0100
- To: Jörg Walter <ehrlich@ich.bin.kein.hoschi.de>, xsl-editors@w3.org
I'm sympathetic to this, but I want to resolve the current debate about how we create typed elements and attributes before we leap into this. If we decide that we need a construct to create an attribute whose type is (say) a date, then the select="xxx" syntax may well be suitable for this. In the usage you propose, it serves only to reduce the number of keystrokes, which may still be worthwhile, but isn't as pressing a requirement. Mike Kay > -----Original Message----- > From: Jörg Walter [mailto:ehrlich@ich.bin.kein.hoschi.de] > Sent: 07 February 2002 20:02 > To: xsl-editors@w3.org > Subject: suggestion for xslt: xsl:attribute and xsl:element values > > > Hi! > > I have a small suggestion for XSLT, which I'd like to see in > a new release. > After repeatedly writing stuff like: > > <a><xsl:attribute name="href"> > <xsl:value-of select="some/thing"/> > </xsl:attribute> > Some text > </a> > > I begin to miss the very convenient select="" attribute found > on many other > elements, like xsl:param, xsl:variable, and so on. I think > this would make a > very convenient addition to XSLT, enhancing readability as > well as reducing > typing. Moreover, it looks more consistent to me having > (optional) select="" > on every element which uses some kind of input. > > -- > CU > Joerg > > PGP Public Key at http://ich.bin.kein.hoschi.de/~trouble/public_key.asc PGP Key fingerprint = D34F 57C4 99D8 8F16 E16E 7779 CDDC 41A4 4C48 6F94
Received on Monday, 18 February 2002 06:58:02 UTC