XSL: textarea with xsl code???

T

Thomas S.

Hello I´ve got a question concerning the usage of a textarea in a xsl.
When i just write the following code,

<span style="font-size:12.0pt; "><textarea name="hotelbeschreibung"
rows="5" cols="35"></textarea>
</span>

The textarea is filled up with the complete rest of the xsl code.
When I put in a sign like this - everything works and the sign is
shown in the textarea.

<span style="font-size:12.0pt; "><textarea name="hotelbeschreibung"
rows="5" cols="35">-</textarea>
</span>

How can I reach, the text area to be completely empty, when the site
appears in the browser??

Thank you,

Thomas
 
M

Markus Spath

Thomas said:
Hello I´ve got a question concerning the usage of a textarea in a xsl.
When i just write the following code,

<span style="font-size:12.0pt; "><textarea name="hotelbeschreibung"
rows="5" cols="35"></textarea>
</span>

The textarea is filled up with the complete rest of the xsl code.
When I put in a sign like this - everything works and the sign is
shown in the textarea.

since its an empty element the processor probably is transforming it to

<textarea name="hotelbeschreibung" rows="5" cols="35" />

and your browser is confused.

inserting a nonbreakable space should avoid this:
<textarea name="hotelbeschreibung" rows="5" cols="35">&#160:</textarea>

markus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,739
Latest member
Clint8040

Latest Threads

Top