- From: Lamers, Peter <LamersP@usoft.nl>
- Date: Fri, 8 Dec 2000 16:12:02 +0100
- To: xsl-editors@w3.org
Dear Sir/Madam, Recently I have been involved in writing XSLT-documents. I find XSLT is a very usefull stylesheet language. However, I have encountered a limitation in the language specification, that makes certain situations impossible or at least very dificult. In elements where you need to specify a QNAME it is not possible to insert a reference to a value in the XML-document. Example: You want to declare an attribute into the HTML document that you are generating that represents an event-handler (onClick, onFocus, etc.). The concerning event-handler is specified in the XML document in the attribute 'type' of an element named 'Event'. Preferably you want to be able to implement this in the following way: <xsl:attribute name='Event/@type'> alert( "Hello World" ) </xsl:attribute> This will not work correctly because the 'name' attribute can not handle XML-references. I hope this problem will be solved in the next version of the XSLT language specification, Best regards, Peter Lamers USoft Products Holland
Received on Friday, 8 December 2000 10:09:34 UTC