Subject: SV: [xsl] some tags not getting closed in xsl output From: Klosa Uwe <Uwe.Klosa@xxxxxxxx> Date: Thu, 12 Jul 2001 16:24:36 +0200 |
Hi Chris, hi Yogesh, The example from Chris works better if you use <xsl:output method="xml" indent="yes" encoding="UTF-8" media-type="text/html" omit-xml-declaration="yes"/> because some browsers have problems with the xml-declaration. /Uwe -----Ursprungligt meddelande----- Från: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]För Yogesh Skickat: den 12 juli 2001 14:09 Till: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Ämne: RE: [xsl] some tags not getting closed in xsl output thanx alot it seems it will work -Yogesh -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Chris Bayes Sent: Thursday, July 12, 2001 4:52 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: [xsl] some tags not getting closed in xsl output 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@xxxxxxxxxxxxxxxxxxxxxx >[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Yogesh >Sent: 12 July 2001 11:59 >To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx >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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] some tags not getting clo, Yogesh | Thread | [xsl] xsl --> pdf with fop (errors), ankewinkelhoff |
Re: [xsl] Table formatting challeng, Wendell Piez | Date | RE: [xsl] starts-with(preceding-sib, Keith |
Month |