Subject: [xsl] copy-of select in textaereas From: Sylvia Egger <segger@xxxxxxxxxxxx> Date: Mon, 2 Dec 2002 18:12:32 +0100 |
Hi, i'd like to print out some content in a textaerea. if i use "value-of select" then i get the content but not the e.g. the carrige returns. the carriage returns are existing in database and xml. but if i try to get the content with carriage return using "copy-of select" i get this result: XSLT: this works fine without carriage returns: <textarea name="{@name}" onChange="{@onchange}" onclick="{@onclick}" rows="4" cols="10"><xsl:value-of select="@value"/></textarea> this doesn't work at all: <textarea name="{@name}" onChange="{@onchange}" onclick="{@onclick}" rows="4" cols="10"><xsl:copy-of select="@value"/></textarea> HTML: result with value-of select: <textarea name="buchung" onChange="" onclick="form_aenderung()" rows="4" cols="10">hallo das ist ein test das ist ein text das ist ein text</textarea> result with copy-of select: <textarea name="buchung" onChange="" onclick="form_aenderung()" rows="4" cols="10" value="hallo das ist ein test das ist ein text das ist ein text"></textarea> the value will be printed into the textarea-tag? do you have a kind of hint how to get the content with carriage returns printet into the textaerea. maybe it's that easy. but i didn't get it actually. thanks a lot, sylvia e. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: how to group nodes by id?, Dimitre Novatchev | Thread | RE: [xsl] copy-of select in textaer, Robert Koberg |
[xsl] Re: how to group nodes by id?, Dimitre Novatchev | Date | Re: [xsl] & replacemnt?, David Carlisle |
Month |