This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: some tags not getting closed in xsl output
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] some tags not getting closed in xsl output
- From: "Chris Bayes" <Chris at Bayes dot co dot uk>
- Date: Thu, 12 Jul 2001 12:21:41 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
Yogesh,
I guess you didn't try output method="xml"
<?xml version="1.0" encoding="utf-8" ?>
<test />
with this stylesheet in xalan
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<img src="xx.gif" />
<select></select>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
produces
<html>
<body>
<img src="xx.gif"><select></select>
</body>
</html>
this stylesheet in xalan
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" />
<xsl:template match="/">
<html>
<body>
<img src="xx.gif" />
<select></select>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
produces
<?xml version="1.0" encoding="UTF-8"?>
<html><body><img src="xx.gif"/><select/></body></html>
which looks ok to me
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
>-----Original Message-----
>From: owner-xsl-list@lists.mulberrytech.com
>[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Yogesh
>Sent: 12 July 2001 11:59
>To: xsl-list@lists.mulberrytech.com
>Subject: RE: [xsl] some tags not getting closed in xsl output
>
>
>HI,
>I am using <html>all remaining stuff.</html>
>Here I am not getting input br img closed but select is getting closed.I
>tried with output method="xml" also.
>Please advice
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list