[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Adding/preserving explicit closing tag on empty el
>From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> >To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> >Subject: RE: Adding/preserving explicit closing tag on empty elements >Date: Tue, 18 Feb 2003 20:46:34 -0000 > >You should be using <xsl:output method="html"/> > >Michael Kay >Software AG >home: Michael.H.Kay@xxxxxxxxxxxx >work: Michael.Kay@xxxxxxxxxxxxxx > > > >> -----Original Message----- >> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx >> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of >> Mulberry Technologies List Owner >> Sent: 18 February 2003 19:34 >> To: xsl-list >> Subject: Adding/preserving explicit closing tag on >> empty elements >> >> >> >From: Graham Hannington <Ghannington@xxxxxxx> >> >To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx >> >Subject: Adding/preserving explicit closing tag on empty elements >> >Date: Tue, 18 Feb 2003 18:19:49 -0000 >> >MIME-Version: 1.0 >> >X-Mailer: Internet Mail Service (5.5.2650.21) >> >Content-Type: text/plain >> > >> >In Internet Explorer (I'm using version 6), if you code a <script> >> >element without an explicit closing </script> tag, then IE fails to >> >load the HTML >> >file: >> > >> ><html> >> >... >> ><head> >> ><script src="style/default.vbs" >> language="VBScript"/></script> </head> >> >... >> ></html> >> > >> >How (I'm using Saxon, if it makes any difference) do I stop an XSLT >> >processor from collapsing: >> > >> ><script src="style/default.vbs" language="VBScript"/></script> >> > >> >into >> > >> ><script src="style/default.vbs" language="VBScript"/> >> > >> >Is there some way to "sneak" a closing tag past the XSLT >> processor, so >> >that it appears in the output file? >> > >> >Graham Hannington >> >> >> >> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list >> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|