Re: [xsl] Can I force XSLT to output the long-form of an element rather than the shorthand form?

Subject: Re: [xsl] Can I force XSLT to output the long-form of an element rather than the shorthand form?
From: me@xxxxxxxxxxxx
Date: Fri, 02 May 2003 10:02:29 -0700 (PDT)
> Yes, I know that '<a id="page-1"></a>' and '<a
> id="page-1" />' are supposed 
> to be equivalent,
> but one of the tools my users use (XMetaL) doesn't. It
> throws a validation 
> error for '<a id="page-1" />'
This is a hack, and there is probably a better way to
do this but if it gets to the wire you could do
something like

<item><xsl:value-of select="item" /> </item>

    _/  _/_/    _/_/_/
   _/_/   _/ _/     _/
  _/               _/
 _/             _/
_/          _/_/_/_/
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net

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


Current Thread