Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

trouble with textarea

 
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am trying to transform a xhtml file into a html file,
I have big trouble with <textarea> tag. I have the
following in my xhtml file:
<textarea ....></textarea>
Number of textarea's attributes is unknown.
in my xsl file, I try to parse all html code as it was. Even
though I put <xsl utput method="html"/>, the resulting textarea
tag is always like this:
<textarea .../>
It seems browsers cannot handle the above compact form of textarea,
it just dumps all html source code into textarea. I need to keep
textarea as the first case:
<textarea ...></textarea>
so that all other stuff will not be dumped into textarea.
How can I achieve that?
regards,
[ January 14, 2004: Message edited by: rick collette ]
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What happens if you try a single space as initial content?
Bill
 
rick collette
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by William Brogden:
What happens if you try a single space as initial content?
Bill


Thanks,
If there is a single space or any other data inside element, then
it works ok. But user may not put anything inside. Thats the problem.
regards
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could you post the part of your XSL which handles the textarea elements?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic