RE: empty elements again...

Subject: RE: empty elements again...
From: Linda van den Brink <lvdbrink@xxxxxxx>
Date: Wed, 7 Apr 1999 14:21:20 +0200
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>&#32;</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


Current Thread