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

Suggestion for improving XSLT

From: Lamers, Peter <LamersP@usoft.nl>
Date: Fri, 8 Dec 2000 16:12:02 +0100
Message-ID: <EFC38E57260DD311B0170090275D213032E3FE@nlpdpo05.products.usoft.nl>
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. 

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" )

This will not work correctly because the 'name'  attribute can not handle

I hope this problem will be solved in the next version of the XSLT language

Best regards,
Peter Lamers
USoft Products
Received on Friday, 8 December 2000 10:09:34 UTC

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