and what default namespace do you have in your stylesheet?
Jakob
Thursday, August 23, 2007, 9:22:15 PM, you wrote:
> Mike,
>
> Thanks for the reply on this. It would have been handy for me to
> include in my initial message the <ead> declaration, indeed. Here's
> what I have:
>
> <ead xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="urn:isbn:1-931666-22-9
> http://www.loc.gov/ead/ead.xsd"
> xmlns="urn:isbn:1-931666-22-9"
> xmlns:xlink="http://www.w3.org/1999/xlink">
>
> I confess to believing that namespaces are a black art.
>
> I had also read that Version 2 of the XSL/T style sheet should use Saxon
> 8B or 8SA or higher, but I hadn't acted on it yet. Joseph Greene has
> been lending me a hand offline and told me where in the oXygen style
> sheet debugger where to set the parser. I fixed it, and yet it has not
> fixed the html.
>
> Thanks for any hints you can offer, Mike.
>
> Jay Moore
> NOAA Project Archivist
> The Mariners' Museum Library and Archives
> [log in to unmask]
>
> -----Original Message-----
> From: Encoded Archival Description List [mailto:[log in to unmask]] On Behalf
> Of Mike Ferrando
> Sent: Wednesday, August 22, 2007 6:30 PM
> To: [log in to unmask]
> Subject: Re: Transformation ead schema
>
> Jay,
> I would suggest that you check to see if the schema namespace is
> declared in your ead document root node.
> <ead xmlns="">
> Also, I would update your SAXON to at least 6.5.5 or 8.X.
> I know that SAXON 8.X is schema aware, I am not sure about 6.5.5.
> Mike Ferrando
> Library Technician
> Library of Congress
> Washington, DC
> (202) 707-4454
> ----- Original Message ----
> From: Jay Moore <[log in to unmask]>
> To: [log in to unmask]
> Sent: Wednesday, August 22, 2007 11:00:15 AM
> Subject: Transformation ead schema
> Dear all,
>
> I am attempting to transform a finding aid that uses the EAD schema into
> html. I'm using oXygen 8.2. The transformation engine is, I gather,
> Saxon 6.5.2. The XSL style sheet I am using from the EAD Cookbook -
> 2002 edition (the combo, for anyone who knows, is eadcbs1.xsl and the
> include file dsc1.xsl that formats the <dsc>). Oxygen tells me that I
> have valid EAD, and after I fixed a couple of apostrophe errors, that
> the style sheet parses. The finding aid itself is done up through the
> sub-series level, with no file-level information yet. When I tell oXygen
> to transform the document, it does so in a nice html document that has
> absolutely no formatting in it - no paragraphs, no headings, no
> centering, no nothing. Just a nice continuous line of text. At least
> the EAD tags aren't also displaying - I had that trouble earlier!
>
> As you can see, I'm a pretty raw novice. If anyone has seen this sort
> of thing before, please let me know how I might fix it!
>
> Thanks!
>
> Jay Moore
> NOAA Project Archivist
> The Mariners' Museum Library and Archives
> [log in to unmask]
>
>
> _____
> Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user
> panel
> <http://us.rd.yahoo.com/evt=48516/*http:/surveylink.yahoo.com/gmrs/yahoo
> _panel_invite.asp?a=7%20> and lay it on us.
|