Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: I want to have an empty textarea

From: Cecil Westerhof <dummy@-----.-->
To: NULL
Date: 2/9/2007 6:16:00 PM

roy axenov wrote:

>> When I remove the '#' to get an empty textare, the endtag
>> is collapsed into the begintag and all the HTML code
>> after the textarea is displayed into the textare. How can
>> I get an empty textarea?
> 
> You do get an empty textarea element, it is just being
> serialized as XML. There are a few possible causes for
> this:
> 
>  - you might've forgotten to set <xsl:output method="html"
>    ... /> in your transformation. If this is the case, the
>    fix should be obvious.
>  - your XSLT processor doesn't grok <xsl:output method=
>    "html" ... /> and blissfully serializes the resulting
>    tree as XML anyway. If this is the case, change your
>    XSLT processor.

I did not use xsl:output, but using it only complicated things. It made all
the tags uppercase and even added some tags. But the textarea kept being
generated the xml way. This was when using the firefox browser as
xslt-processor. When the processing is done on the server there is no
problem. But I like the processing to be done in the browser.
I decided to just use a '#' as a placeholder when I need an empty textarea
and delete the '#' with javascript. The only problem with this is that I
can not have a textarea filled with only a '#', but I think I can live with
that. :-}



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent