Print

Print


This is how our EAD header looks.  We put the XSL style sheet in a separate folder and the dtd along with associated files, this includes the files with the .ent extension, in a separate folder.  This helps us with file organization.  You need to have the forward slashes in the url path and we also call the CSS style sheet from the XSL style sheet, not from the EAD

 

 

<?xml version="1.0" encoding="UTF-8"?>

<?xml-stylesheet type="text/xsl" href="../styles/pcead.xsl"?>

<!DOCTYPE ead PUBLIC "+//ISBN 1-931666-00-8//DTD ead.dtd (Encoded Archival Description (EAD) Version 2002)//EN" "../ead/ead.dtd">

 

<ead audience="external" relatedencoding="MARC21">

 

<!-- BEGIN EAD HEADER -->

 

Hope this helps.

 

 

Russell Franks

Librarian

Special and Archival Collections

Phillips Memorial Library

Providence College

1 Cunningham Square

Providence, RI 02918-0001

401-865-2578

[log in to unmask]

[log in to unmask]

http://www.providence.edu/archives

 


From: Encoded Archival Description List [mailto:[log in to unmask]] On Behalf Of Ethan Gruber
Sent: Tuesday, March 30, 2010 10:10 AM
To: [log in to unmask]
Subject: Re: again, problem with a reference to an xsl stylesheet i do not have

 

Hi Anna,

Try putting the XML processing instructions before the DOCTYPE declaration.  Not sure if that makes a difference, but I haven't seen processing instructions come anywhere but the top of the document, directly below the XML declaration.

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="ead_divs.xsl"?>
<?xml-stylesheet type="text/css" href="ead_divs.css"?>
<!DOCTYPE ead PUBLIC "+//ISBN 1-931666-00-8//DTD ead.dtd (Encoded Archival
Description (EAD) Version 2002)//EN" "ead.dtd">

Here is something else you can try:

Put the XML, XSL, and CSS files on the desktop of your personal computer.  Open the XML file in Firefox or some other browser that supports processing instructions (I assume they all do at this point).  If the EAD guide renders as styled HTML, it's not a problem with your XSL file but perhaps something with the server configuration.

Ethan

On Tue, Mar 30, 2010 at 9:06 AM, Anna Kresmer <[log in to unmask]> wrote:

Forgot to sign my name and include contact info. Sorry!

Hello All,

       I’m a new archivist working with my IT department to get our very
first EAD finding aid online. This is a new experience to all of us and we
have run into a problem. We set up a directory on our web server with all
the proper files (EAD DTD, the EAD file, an XSL stylesheet, and a CSS
file) all linked together as they should be. It all appears to work fine,
until you try to visit the URL.
       The IT department identified a problem with one line of code in
the EAD XML file. It references an XSL stylesheet we do not have. This
stylesheet reference was left in the EAD template that came with Oxygen
Editor and was presumable used by the archivist who created/donated the
EAD template to Oxygen (see the middle line, please):

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="http://nwda-
db.wsulibs.wsu.edu/xsl/project.xsl"?>
<!DOCTYPE ead PUBLIC "+//ISBN 1-931666-00-8//DTD ead.dtd (Encoded Archival
Description (EAD) Version 2002)//EN" "ead.dtd">


We removed this reference and got a white page of the finding aid text
with no formatting at all. I then replaced it with the references to the
correct XSL and CSS stylesheet, like so:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE ead PUBLIC "+//ISBN 1-931666-00-8//DTD ead.dtd (Encoded Archival
Description (EAD) Version 2002)//EN" "ead.dtd">
<?xml-stylesheet type="text/xsl" href="ead_divs.xsl"?>
<?xml-stylesheet type="text/css" href="ead_divs.css"?>

But this does not fix the problem. Loading the URL just gets an error
message:
The page cannot be found
The page you are looking for might have been removed, had its name
changed, or is temporarily unavailable.
________________________________________
Please try the following:
•       Make sure that the Web site address displayed in the address bar
of your browser is spelled and formatted correctly.
•       If you reached this page by clicking a link, contact the Web site
administrator to alert them that the link is incorrectly formatted.
•       Click the Back button to try another link.
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)
________________________________________
Technical Information (for support personnel)
•       Go to Microsoft Product Support Services and perform a title
search for the words HTTP and 404.
•       Open IIS Help, which is accessible in IIS Manager (inetmgr), and
search for topics titled Web Site Setup, Common Administrative Tasks, and
About Custom Error Messages.


Is there anyone out there who can shed some light on what I am doing
wrong? According to Oxygen, my EAD file is valid, well-formed, and the
transformation scenario loads properly when I test it on my computer. Am I
missing some all important line of code?

Any help would be greatly appreciated.
Thank you,
Anna


Anna K. Kresmer, MSLS
Project Archivist
Jacobus tenBroek Library
National Federation of the Blind Jernigan Institute
200 East Wells Street at Jernigan Place
Baltimore, MD 21230
Telephone: (410) 659-9314, ext. 2310
Email: [log in to unmask]