|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: <empty /> vs <empty></empty?
Eric Scheid wrote:
> On 12/12/05 9:21 PM, "drkm" wrote:
> > <xsl:template match="/"><html><br/></html></xsl:template>
> what happens with <div></div> or <a name="foo"></a>?
~/drafts/xslt $ cat empty.xsl
<xsl:transform
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="html"/>
<xsl:template match="/">
<html>
<body>
<br/>
<div/>
<a name="foo"/>
</body>
</html>
</xsl:template>
</xsl:transform>
~/drafts/xslt $ xalan -XSL empty.xsl -IN empty.xsl
<html>
<body>
<br>
<div></div>
<a name="foo"></a>
</body>
</html>
~/drafts/xslt $
--drkm
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Tilichargez cette version sur http://fr.messenger.yahoo.com
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








