-----Original Message-----
From: David Carlisle
However as shown in a parallel thread today it is not
always safe to define nbsp in the stylesheet: some xml
parsers default to validating mode when they sniff a
DOCTYPE and so try to validate the stylesheet, which is
almost always not valid.
There really is no point in defining nbsp as it's just as
easy to type #160 and a whole lot simpler in terms of
avoiding complications in the processing pipeline.
I'd agree where you want to use nbsp in the stylesheet,
except that processing html via tidy, I often
see those nbsp's in droves, which makes it necessary to define
the entity. Hard graft when its dozens of input files to add it there?
<grin>No, I don't want the sed script thank you very much Mr C </grin>
regards DaveP
-
DISCLAIMER:
NOTICE: The information contained in this email and any attachments is
confidential and may be privileged. If you are not the intended
recipient you should not use, disclose, distribute or copy any of the
content of it or of any attachment; you are requested to notify the
sender immediately of your receipt of the email and then to delete it
and any attachments from your system.
RNIB endeavours to ensure that emails and any attachments generated by
its staff are free from viruses or other contaminants. However, it
cannot accept any responsibility for any such which are transmitted.
We therefore recommend you scan all attachments.
Please note that the statements and views expressed in this email and
any attachments are those of the author and do not necessarily represent
those of RNIB.
RNIB Registered Charity Number: 226227
Website: http://www.rnib.org.uk