RE: [xsl] tag minimisation

Subject: RE: [xsl] tag minimisation
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 7 Feb 2002 09:54:25 -0000
> >No it is entirely up to the system how it linearises empty elements:
> >some XSLT systems use <p/> some <p></p> .Since every XML system will
> >treet these identically it shouldn't matter which you get.
> 
> Well, it does matter.
> 
It matters for HTML output but not for XML.

If you choose xsl:output method="html" you should always get <p></p>.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx  

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread