Subject: Re: XML Compliant From: Chris Maden <crism@xxxxxxxxxxx> Date: Fri, 23 Apr 1999 12:32:39 -0400 (EDT) |
[Guillaume Rouchy] > Thanks a lot for the tip. Meanwhile there is a little bug: An empty > tag that doesn't contain any attribute must have a space between the > tag name and the ">" to be interpreted correctly in HTML like: <BR > /> or <HR />. Do you know how can I fix it ? The important thing is not that the space is before the slash, but that it's after the name. Primitive HTML parsers seem to accept anything after < up to a space or > as the element type name, so <BR/> is taken as a "BR/" start-tag. Adding attributes will work; I typically use <BR CLASS="HACK"/> (which is valid HTML 4.0). -Chris -- <!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN"> <!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN" "<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487 <USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek> DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: XML Compliant, Guillaume Rouchy | Thread | XML::DT - a Perl XML down-translati, José Carlos Ramalho |
Re: XML Compliant, Guillaume Rouchy | Date | XML::DT - a Perl XML down-translati, José Carlos Ramalho |
Month |