From: Michael F. <mi...@pc...> - 2005-05-05 09:41:04
|
David Goodger wrote: >[Michael Foord] > > >>Isn't it better to forgo the xml declaration for the sake of IE ? >> >> > >You can turn it off if you like. AFAIK, the Docutils-generated XHTML >works OK with IE. > > > I slightly misstated the problem. The XML declaration puts IE 6 into 'quirks mode' - because the page doesn't start with a doctype. See, for example, http://www.w3.org/International/articles/serving-xhtml/ "The presence of an XML declaration in an XHTML 1.0 file served as HTML will cause your file to be rendered in quirks mode on Internet Explorer (and therefore for a potentially large proportion of your audience)." >[snip..] > > >>By the way David - you did make noises about implementing something >>that would allow a unique reference to be inserted before 'id's in >>fragments. (Particularly with reference to footnotes). >> >> > >My first reaction was "huh? so?". It took me a while to figure out >what you're talking about... no context, different thread. > >Currently, IDs of the pattern ``"id" + str(serial_number)`` are >assigned when necessary. I was thinking a solution to your problem >may be to add an option to specify the prefix for IDs, instead of >"id". Is it? Or, put more succinctly: so? > > > Yes, adding an option to specify a prefix would solve the problem for me. Best Regards, Fuzzy http://www.voidspace.org.uk/python >-- >David Goodger <http://python.net/~goodger> > > |