I'm pulling my hair out because none of my XSL value-of statements work.
I have an EAD file which validates against the EAD schema:
http://zoia.library.nd.edu/tmp/stc/stc.xml
It has this root element:
<ead
xmlns:ns2 = "http://www.w3.org/1999/xlink"
xmlns = "urn:isbn:1-931666-22-9"
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation = "urn:isbn:1-931666-22-9 http://www.loc.gov/ead/ead.xsd">
I have a style sheet also:
http://zoia.library.nd.edu/tmp/stc/ead2html.xsl
It has this root element:
<xsl:stylesheet
xmlns:xsl = "http://www.w3.org/1999/XSL/Transform"
xmlns = "urn:isbn:1-931666-22-9"
version = "1.0">
Unfortunately, statements like the following return no content:
<xsl:value-of select="ead/eadheader/filedesc/titlestmt/titleproper" />
Why?
It works when the EAD is validated against the EAD DTD, as in:
http://zoia.library.nd.edu/tmp/stc/shu.xml
Ack!
--
Eric Lease Morgan
University of Notre Dame
|