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

[xsl] Default attribute values?


Subject: [xsl] Default attribute values?
From: Phillip B Oldham <phillip.oldham@xxxxxxxxxx>
Date: Mon, 14 Aug 2006 12:36:18 +0100

Hi again

I'm trying to add default attribute values to elements, but I get errors. Is there a simple way to do it using xpath? What i'm trying is:

<input type="text" value="{un|'Please enter your username'}" />

Is there a simple way of doing this, or do I have to throw an xsl:choose inside an xsl:attribute?


Current Thread