XSL: textarea with xsl code???

Thomas S.

Usenet Archive
Joined
Feb 5, 2004
Messages
5
Reaction score
0
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
 

Markus Spath

Usenet Archive
Joined
Feb 6, 2003
Messages
35
Reaction score
0
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
548,042
Messages
3,104,224
Members
248,132
Latest member
henrywalsh

Latest Threads

Top