[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Can I force XSLT to output the long-form of an ele

Subject: Re: 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)
Re:  Can I force XSLT to output the long-form of an ele
> > 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.