[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

AW: textarea bug?

Subject: AW: textarea bug?
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Sat, 21 Apr 2001 16:25:37 +0200
xslt textarea bug
If you're using XSLT, use:

<textarea name="{@name}"><xsl:value-of select="@value"/></textarea>

otherwise try

<textarea><xsl:attribute name="name"><xsl:value-of
select="@name"/></xsl:attribute><xsl:value-of select="@value"/></textarea>



-----Ursprüngliche Nachricht-----
Von: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]Im Auftrag von the matrix
Gesendet: Samstag, 21. April 2001 16:13
An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Betreff:  textarea bug?


I get the close textarea tag before the value. Is this
a bug or am I doing something wrong:

XML:
<TAREA name="comments" value="this is my comment"/>

XSL:
<xsl:template match="TAREA">
        <xsl:element name="textarea">
                <xsl:attribute
name="name"><xsl:value-of
select="@NAME"/></xsl:attribute>
        </xsl:element>
                <xsl:value-of select="@VALUE"/>
        <xsl:element name="/textarea"/>
</xsl:template>

here is the HTML output:

<textarea name="comments"></textarea>this is my comment

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.