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 adrian vega <av...@innodata-isogen.com> on 2006/08/28 18:09:39 UTC

unparsed entity name

I want to go from :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test [
<!NOTATION gif SYSTEM "image/gif">
<!ENTITY test SYSTEM "../images/test.gif" NDATA gif> 
]>
<test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="../schemas/test.xsd"
test="test">test</test>

to:

<?xml version="1.0" encoding="UTF-8"?>
<test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="../schemas/test.xsd"
test="../images/test.gif">test</test>

using xerces.  (Notice the unparsed entity name has been replaced with
the system identifier for the entity with the same name.)  What is the
best way to do this?

adrian



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