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

Subject: RE: [xsl] XSL transformation removing closing tag for empty div
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sun, 3 Jun 2007 17:59:21 +0100
> Thanks for the reply. Since i am setting the content type as 
> text/xml, I cannot set the output to html. If I do, it will 
> throw an error. The reason I set the content type as text/xml 
> is because I need an Ajax response, which should be in XML format.

Well, <div/> is in XML format. So we need to understand what's happening to
this XML and why it's being passed to something that can't handle it.

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

Current Thread