At 2002-04-30 18:26 +0100, Ariel Anderson wrote:
>I'm a relative newbie with XML. I work for a publishing company and we're
>building a new, XML-based publishing system. For ease of maintainability
>and synchronization of shared elements, I created a modular, multi-file DTD
>that uses parameter entities extensively. I modelled it after the example
>described in detail in Eve Maler and Jeanne El Andaloussi's
>book "Developing SGML DTDs" - of course, mine is an XML DTD, but the basic
>concepts seemed to apply.
Of course! Well done!
>So, now for my difficulty. We have a proprietary XML document repository
>and it will not take DTDs that consist of multiple files or that contain
>parameter entities. Does anyone know of a tool/parser/whatever that can
>take my multi-file, parameterized DTD as input
(perhaps another document repository?)
>and output a single-file DTD
>with all parameter entities expanded?
Sorry for the sarcasm, but I feel your pain.
I, too, maintain my XML files (both DTDs and instances, both content and
stylesheet instances) in detailed physical hierarchies of parameter and
general entities, and I find that *none* of the XSLT diagnostic tools,
editing assistants, or commercial products I have tried (or been asked to
try) have properly considered standard XML 1.0 use of these features. I am
restricted to using XT in one project because no other XSLT processor
successfully supports what I'm doing with entities (at least they didn't a
while ago, I've been trying to make vendors aware of the issues for a while
now), notably, the Aelfred XML processor inside of Saxon.
I find vendors are either unaware of or uninterested to support these. I
shouldn't have to change my XML just to utilize software that purports to
support XML 1.0.
>I've surfed around and looked at various DTD parsers, but I'm not enough of
>a programmer to be able to tell whether they can do this. Any suggestions
>would be much appreciated.
Sorry I can't answer your question, but I wanted the opportunity to
complain publicly where other vendors might hear and realize you are not
isolated in your desire to use standardized XML 1.0 features.
Upcoming: 3-days XSLT/XPath and/or 2-days XSLFO: June 17-21, 2002
- : 3-days XML Information Modeling: July 31-August 2, 2002
G. Ken Holman mailto:[log in to unmask]
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/l/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995)
ISBN 0-13-065196-6 Definitive XSLT and XPath
ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
ISBN 1-894049-07-1 Practical Formatting Using XSLFO
XSL/XML/DSSSL/SGML/OmniMark services, books(electronic, printed),
Next public training: 2002-05-06,07,09,10,13,20,