V
Vincent Lefevre
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/index.php?func=detail&aid=707469&group_id=10127&atid=110127
At least sablotron detects the problem.
TIA,
<!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/index.php?func=detail&aid=707469&group_id=10127&atid=110127
At least sablotron detects the problem.
TIA,