W3C home > Mailing lists > Public > xsl-editors@w3.org > July to September 1999

Re: handling of "empty" tags

From: James Clark <jjc@jclark.com>
Date: Wed, 07 Jul 1999 14:47:03 +0700
Message-ID: <378305F7.90EF18E6@jclark.com>
To: Justin Starren <starren@columbia.edu>
CC: xsl-editors@w3.org
  <outputtag value="whatever"></outputtag>


 <outputtag value="whatever/>

are equivalent in XML and are not distguished by standard APIs such as
SAX and the DOM nor by the Infoset.

Justin Starren wrote:
> I have been testing two xslt translators, the ibm lotusxsl and ixslt.
> both of these frequently converty empty tags  into full tags.  The code
> <xsl:template match="mytag">
>     <outputtag value="whatever"/>
> </xsl:template>
> produces the ouput
> <outputtag value="whatever"></outputtag>
> Is this part of the spec?  If so, it is a big problem.  There must be a
> way to force output tags to be empty.
Received on Wednesday, 7 July 1999 07:42:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:16 UTC