At 01/05/04 11:40 -0500, Healy, Jonathan wrote:
>These comments got my attention, because my group has been planning on using
>entities to share information between documents. Can you give some more
>specific examples of why this is a bad idea? I understand that parsing
>context is an issue, but presume we can work around this by careful
>management of our entites and DTD.
Yes, you can. If you are working all of your information in a single
parsing context (set of declarations defined in the DTD and the internal
declaration subset), then you won't trip over the problem.
Where people trip is they start of promising themselves "oh, this will
never change" and then later on they start introducing exceptions and
things fall apart. I avoided that by just adopting a strategy of defining
the shareable resources as addressable resources (using the ID typed
G. Ken Holman mailto:[log in to unmask]
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/m/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995)
Web site: XSL/XML/DSSSL/SGML/OmniMark services, training, products.
Book: Practical Transformation Using XSLT and XPath ISBN 1-894049-06-3
Article: What is XSLT? http://www.xml.com/pub/2000/08/holman/index.html
Next public instructor-led training: 2001-05-14,05-15,05-16,05-17,
Training Blitz: 3-days XSLT/XPath, 2-days XSLFO in Ottawa 2001-06-18/22