This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: special char in html textarea using xsl?
- To: Sylvia Lowden <Lowden at entelos dot com>
- Subject: Re: [xsl] special char in html textarea using xsl?
- From: Mike Brown <mike at skew dot org>
- Date: Thu, 22 Mar 2001 11:40:14 -0700 (MST)
- CC: xsl-list at lists dot mulberrytech dot com
- Reply-To: xsl-list at lists dot mulberrytech dot com
Sylvia Lowden wrote:
> Thanks, but I've already tried those too. They all show up in the text area
> as text rather than a linefeed.
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html"/>
<xsl:template match="/">
<html>
<head>
<title>foo</title>
</head>
<body>
<form action="" method="GET">
<textarea rows="6" cols="40" name="foo">
<xsl:text>some default value</xsl:text>
</textarea>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
works just fine for me.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list