Dana,
As everyone has already pointed out, you need to make sure that each
of your EAD documents has a proper DOCTYPE declaration, such as the following:
<!DOCTYPE ead PUBLIC "+//ISBN 1-931666-00-8//DTD ead.dtd (Encoded
Archival Description (EAD) Version 2002)//EN" "ead.dtd">
The first part in quotes can't be changed. This is the formal public
identifier for the EAD DTD. The second part in quotes is the system
identifier, in other words where your local copy is stored. In this
example it assumes that ead.dtd is in the same folder as your XML
file. You can change the path in the system identifier to whatever you need.
A useful tool in XMetaL is the catalog file, which is located in the
C:\ProgramFiles\Blast Radius\XMetaL 4\Author\Rules\ folder (the full
path will vary depending on which version of XMetaL you have, but it
will definitely be in the Rules folder). You can add a statement to
the catalog file which will automatically associate a particular DTD
file with a given DOCTYPE, regardless of what path is given by the
system identifier in the DOCTYPE. In other words, if you wanted all
of your XMetaL users to reference a single copy of the EAD DTD stored
on a shared server, you could add the following declaration to the
catalog file:
PUBLIC "+//ISBN 1-931666-00-8//DTD ead.dtd (Encoded Archival
Description (EAD) Version 2002)//EN" "S:\Library\EAD\ead2002\dtd\ead.dtd"
With this declaration in the catalog file, whenever an XML file with
the public id "+//ISBN 1-931666-00-8//DTD ead.dtd (Encoded Archival
Description (EAD) Version 2002)//EN" is opened, XMetaL will ignore
the system id in the DOCTYPE and look for the DTD at
"S:\Library\EAD\ead2002\dtd\ead.dtd". When you do this, XMetaL will
also look for any macro (ead.mcr) or customization (ead.ctm) files in
the same folder as the DTD file.
I hope this helps,
Best,
Mike Rush
At 05:13 PM 6/1/2006, you wrote:
>Hello,
>
>I'm having some minor difficulty with what I think should be a
>rather simple function of the XMetal software- setting the DTD to
>default to EAD. When I first open the program and open an existing
>xml document, it says that the file cannot be opened because a DTD
>could not be found, so I have to browse for my dtd each time. I have
>both an ead.dtd file and an ead.rlx file saved in the Rules folder
>in XMetal, and I've been choosing ead.dtd instead of rlx since I
>don't really understand the difference.
>
>I'm using the current Trial version while waiting for an upgrade to
>4.6, but nowhere in the Help does it seem to say anything about
>setting a default DTD to use everytime I open the program. Is this
>actually something that can be done?
>
>Thanks!
>
>Dana Miller
____________________________________
Michael Rush | [log in to unmask]
Processing Archivist / EAD Coordinator
Beinecke Rare Book & Manuscript Library
Yale University
P.O. Box 208240
New Haven, CT 06520-8240
Tel: (203) 432-8123 Fax: (203) 432-4047
|