[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: empty elements again...
Yep, it works, both for <link> and <hr>, and both in Netscape and IE. It's amazing how forgiving these browsers are... > -----Original Message----- > From: Guy_Murphy@xxxxxxxxxx [mailto:Guy_Murphy@xxxxxxxxxx] > Sent: Wednesday, April 07, 1999 1:15 PM > To: xsl-list@xxxxxxxxxxxxxxxx > Subject: Re: empty elements again... > > > Hi Linda. > > Some XSL parsers inpliment a hack of allowing you to generate > HTML. XSL in > and of itself only caters to the production of XML. > > Have you tried <link> </link>? Might that be legal in NS? > > As for HRs, personally I think the world is a better place > without them :) > > Cheers > Guy. > > > > > > xsl-list@xxxxxxxxxxxxxxxx on 04/07/99 08:47:36 PM > > To: xsl-list@xxxxxxxxxxxxxxxx > cc: (bcc: Guy Murphy/UK/MAID) > Subject: empty elements again... > > > > > Hi all, > Elements like <link> and <hr> are empty elements in HTML. If > I create them > with XT, I get <link/> and <hr/>. It's fine by me (and IE and > Opera have no > problem with it), but Netscape doesn't seem to accept this syntax. > Is there a work-around in XSL to produce empty elements > without the XML > syntax? > Linda > > 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
|
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
|