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

Re: [xsl] Input not editable


Subject: Re: [xsl] Input not editable
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Wed, 20 Sep 2006 12:11:10 +0200

m.core@xxxxxxxxxxxxxxxx wrote:
Hi all,

I need to set input not editable in some box i have build with xsl, so i have done:

<input valuet="{@value}" type="text" mode"read">
various attributes here...
</input>

One more thing: valuet is neither an input-element attribute. Note that input is an empty element, meaning that the "various attributes" you are talking about will most likely not be seen by your browser, unless these are <xsl:attribute> elements in xslt, which in turn will be translated to attributes of the input-element.

If you instead, are trying to get a certain "mode" to work in xslt, you can use the mode-attribute of <xsl:apply-templates> and <xsl:template>. If they match, they will be called.

-- Abel Braaksma


Current Thread
Keywords