xsl-list
[Top] [All Lists]

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

2003-05-02 11:09:28
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>
For the record that says
<item><xsl:value-of select="item" />&amp#160;</item>
<item><xsl:value-of select="item" />[and]#160;</item>

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

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



<Prev in Thread] Current Thread [Next in Thread>