In some DTD, I'd like to include latin-1 entities as XHTML does:
<!ENTITY % HTMLlat1 PUBLIC
"-//W3C//ENTITIES Latin 1 for XHTML//EN"
"xhtml-lat1.ent">
%HTMLlat1;
but also do this kind of things (as XHTML does):
<!ENTITY % URI "CDATA">
<!ELEMENT root (#PCDATA)>
<!ATTLIST root
blah %URI; #IMPLIED
>
But such a DTD can't be used with XSLT because
blah %URI; #IMPLIED
requires standalone="yes" in the XML file[*], but in this case,
I can no longer use the entities defined by xhtml-lat1.ent!
Is there a solution?
[*] See the discussion
https://sourceforge.net/tracker/inde...27&atid=110127
At least sablotron detects the problem.
TIA,
--
Vincent Lefèvre <> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA