Re: Preventing tags from collapsing
Sent: Thursday, April 14, 2005 2:11 PM
Subject: Preventing tags from collapsing
We have yet to find a way to stop tags containing no content from being collapsed :
Sounds like you're trying to output xhtml, if xsl:output method is set to html this shouldn't happen. As the most widely used browser, for better or for worse this is still IE, doesn't support xhtml you're fighting a losing battle. Unless you are targetting an audience where the browser can be specified you'll need a workaround.
For script can you test if the content is empty and if so output a script comment (//this is a comment, for example)?
For textarea it depends, can you have a single space?
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format