Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xsl] XSL transformation removing closing tag for empty div

From: "Michael Kay" <mike@------------>
To:
Date: 6/4/2007 2:53:00 PM
If you use the XML output method then the system assumes that the output is
going to be read by an XML parser and that any well-formed XML
representation of the output will be OK.

I still don't understand why you are using the XML output method and then
sending the output to something that doesn't accept well-formed XML.

Michael Kay
http://www.saxonica.com/
 

> -----Original Message-----
> From: A D [mailto:hopethisisstillthere@xxxxxxxxx] 
> Sent: 04 June 2007 15:43
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] XSL transformation removing closing tag 
> for empty div
> 
> Is there any way I can do this without tweaking the xsl? I 
> mean, I would like to do this on the server side and ask it 
> not to remove the closing tags before transforming. Here is 
> the xsl declaration i use:
> 
> <xsl:stylesheet 
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
> 
> and I set the content type to text/xml before transforming.


transparent
Print
Mail
Digg
delicious
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