You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by udo polder <ud...@epunkt.com> on 2001/04/30 18:48:08 UTC

dom-parser

hi to all

does anyone know how to tell the dom-parser not to expand entities.
for example:

before:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG December 1999//EN"
"http://localhost/SVG-19991203.dtd" [
 <!ENTITY st0 "font-family:'FuturaBT-Book';">
]>
<svg xml:space="preserve" width="315" height="438">
<g style="&st0;">
 </g>
</svg>

after:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG December 1999//EN"
"http://localhost/SVG-19991203.dtd" [
 <!ENTITY st0 "font-family:'FuturaBT-Book';">
]>
<svg xml:space="preserve" width="315" height="438">
<g style="font-family:'FuturaBT-Book;">
 </g>
</svg>

i was looking for an solution but it doesn't seem to be possible

an second question:  is it possible to include 2 dtd in one xml-file and
when yes how?

mfg udo polder



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org