It looks like it's actually complaining about the doctype-public
attribute, not the version="1.1".
This should be on the xsl:output element not xsl:stylesheet.
On Wed, 2010-03-31 at 15:00 +0100, Anna Kresmer wrote:
> Thank you so much to all who replied. I have made the suggested changes
> and the code at the beginning of the ead file now looks like this:
> <?xml version="1.0" encoding="utf-8" standalone="no"?>
> <?xml-stylesheet type="text/xsl"
> <!DOCTYPE ead PUBLIC "+//ISBN 1-931666-00-8//DTD ead.dtd (Encoded Archival
> Description (EAD) Version 2002)//EN" "http://www.nfb.org/tenbroek/ead.dtd">
> However, we have now run into a new problem. The trasnformation process is
> failing to convert the finding aid to HTML. It appears that the xsl
> stylesheet I am using is causing the problem this time. According to
> Oxygen Editor, the problematic code is this:
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:saxon="http://icl.com/saxon" extension-element-prefixes="saxon"
> doctype-public="-//W3C//DTD HTML 4.0 Transitional//EN" version="1.1">
> Specifically, it does not like the version-"1.1". The error report states
> Engine name: Saxon-PE 126.96.36.199
> Severity: fatal
> Description: Attribute @doctype-public is not allowed on element
> I had initially simply placed a space between the period and the second
> one (which made no sense to me, but it made the error go away in Oxygen).
> However, with or without this extra space, it won't complete the
> transformation scenario for me or IT on our web server.
> Does anyone know how I can fix this error? I can not seem to wrap my brain
> around it. Thank you for all the advice and support you have already
> given. I truly appreciate having this wonderful professional community to
> call upon.
> Anna Kresmer
'. ,'. John Harrison
' ` ' ' University of Liverpool
c h e s h i r e | 3 e: [log in to unmask]
v w: www.cheshire3.org
`-..;.' t: 0151 7954271