This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: special char in html textarea using xsl?
- To: "'Mike Brown '" <mike at skew dot org>, Sylvia Lowden <Lowden at entelos dot com>
- Subject: RE: [xsl] special char in html textarea using xsl?
- From: Sylvia Lowden <Lowden at entelos dot com>
- Date: Thu, 22 Mar 2001 10:50:28 -0800
- Cc: "'xsl-list at lists dot mulberrytech dot com '" <xsl-list at lists dot mulberrytech dot com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Okay, I'm an deufuss! I'm getting it to work now. Thanks :)
-----Original Message-----
From: Mike Brown
To: Sylvia Lowden
Cc: xsl-list@lists.mulberrytech.com
Sent: 3/22/2001 10:40 AM
Subject: Re: [xsl] special char in html textarea using xsl?
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