473,386 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

XSL: textarea with xsl code???

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
Jul 20 '05 #1
1 4040
Thomas S. wrote:
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

Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Gadrin77 | last post by:
I noticed when displaying the contents of a CDATA node inside a TEXTAREA using MSXML and XSL, I get an extra space before the data. at first I thought I hadn't "tightened up" the XSL, but then...
1
by: discomiller | last post by:
Mario Mueller: Hello *, radiobuttons belong to other radiobuttons by the "name="any_value"" attribut. Thats a fakt. I got the following XML:...
4
by: TJS | last post by:
can the rows and columns of a textarea element with an id be changed on the fly ? if so is there an example ?
6
by: wperry1 | last post by:
I am writing a small database utility to catalog all of my favorite ASM/JS/VBS... functions and scripts on an asp page. Everything is going smoothly except for one thing that I can't quite seem to...
0
by: Patrick.O.Ige | last post by:
I have a xml file and i want to format it using XSL I needed to do a distinct which is ok on the first node "Code" But when it gets to the "programDescription" node it prints out values for both...
4
by: polly.woodhouse | last post by:
Hi, I have created an xsl document containing html client side controls and when I used my XSLCompileTransform class it successfully created an xhtml page. I then changed the client side...
3
by: Wizfrog | last post by:
Hello, I am using XSL to transform a XML file into a HTML output. classic so, I have a tag calling an image with a local path as <img src="images/myimage.jpg"/> nothing really strange...
5
by: a113n | last post by:
I have the following XSL code to handle textareas: <!-- Match TEXTAREA --> <xsl:template name="TEXTAREA" match="TEXTAREA"> <TEXTAREA ROWS="{@ROWS}" COLS="{@COLS}" NAME="{@NAME}"> <xsl:if...
0
by: pradip sonar | last post by:
Hello, I am having a problem with Xalan transforming a document containing Japanese characters. (An initial note: the problem does not occur on my Windows development machine, only on the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.