|
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 11:09:28 -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>
For the record that says
<item><xsl:value-of select="item" />&#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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Can I force XSLT to outpu, me | Thread | [xsl] Normalize-Space for a templat, Karl J. Stubsjoen |
| RE: [xsl] Can I force XSLT to outpu, Passin, Tom | Date | [xsl] Normalize-Space for a templat, Karl J. Stubsjoen |
| Month |