You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Martin Heiden <ma...@netcologne.de> on 2005/06/29 23:08:51 UTC

HTML Comments and empty elements

Hi!

  My Pagelayout uses IE Conditional Comments and some empty divs /
  spans. How can I prevent that Lenya strips the comments and outputs
  the empty divs/spans in short notation (div />)?

Thanks!

 Martin


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: HTML Comments and empty elements

Posted by simon litwan <si...@wyona.com>.
>   My Pagelayout uses IE Conditional Comments and some empty divs /
>   spans. How can I prevent that Lenya strips the comments and outputs
>   the empty divs/spans in short notation (div />)?
> 


hi martin

i used &#160; inside empty tags to prevent transform it to the short
form. i never used it for div/span-tags, just for textarea-tags. but i
think it should work as well.

HTH
simon




> Thanks!
> 
>  Martin
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: HTML Comments and empty elements

Posted by Lee Carroll <le...@aol.com>.
Try putting your xsl:comment tags in strip_namespaces.xsl.
I think its the last transform and as such the comments get to the browser.

Lee C





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org