[xsl] processing multiple input documents sharing same DTD

Subject: [xsl] processing multiple input documents sharing same DTD
From: "Breygin, Victor" <Victor.Breygin@xxxxxxxxxxxxxxx>
Date: Mon, 20 Dec 2004 14:23:30 -0500
Hello,

I need to process multiple input documents that reference the same DTD.
The XML documents have different network locations but all of them point to
the same
DTD assuming relative (rather than absolute) path. Here are a couple of
starting lines for
one of the input  XML docs:

<?xml version = '1.0' encoding = 'ISO-8859-1'?>
<!DOCTYPE XMI SYSTEM 'UML1311.dtd' >
<XMI xmi.version = '1.1' xmlns:UML='href://org.omg/UML/1.3' timestamp = 'Mon
Dec 20 13:43:41 2004' >
 
The SAXON parser seems to assume the document "UML1311.dtd" be located in
same directory
with the source XML file. I have to get a copy of that DTD file in all the
XML file's folders in order to get around
(which is not very convenient).

I wonder, is there any way I can set that DTD as a shared resource/reference
for all the input files so the parser
hitting the reference line will be re-routed to one single reference of
UML1311.dtd?

thanks for your help!

Victor Breygin
Consultant, Integrated Customs Systems,
Canada Border Services Agency
1-(613) 952-7077

Current Thread