Unable to process EAD input document
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 2
- Joined: Fri Nov 30, 2012 2:54 pm
Unable to process EAD input document
Post by Alberto Caeiro »
Hello,
I am trying to transform (XSLT) a set of EAD XML documents. When I try to access the nodeset from my stylesheet (e.g., <xsl:for-each select="//">) it only reads in the attributes from the <eadheader> element (the first child element after <ead>). No other nodes from the source document are recognized. I can perform an <xsl:apply-templates/> to output the document text, but nothing else. Here are what the two top-level elements look like:
Again, only the attributes of <eadheader> are accessible from my stylesheet. Any idea of what is happening here?
Thanks in advance for your help!
I am trying to transform (XSLT) a set of EAD XML documents. When I try to access the nodeset from my stylesheet (e.g., <xsl:for-each select="//">) it only reads in the attributes from the <eadheader> element (the first child element after <ead>). No other nodes from the source document are recognized. I can perform an <xsl:apply-templates/> to output the document text, but nothing else. Here are what the two top-level elements look like:
Code: Select all
<ead audience="external"
xmlns="urn:isbn:1-931666-22-9"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.loc.gov/ead/ http://www.loc.gov/ead/ead.xsd">
<eadheader langencoding="iso639-2b" audience="external" countryencoding="iso3166-1" dateencoding="iso8601" repositoryencoding="iso15511" scriptencoding="iso15924" relatedencoding="MARC21">
Thanks in advance for your help!
-
- Posts: 2
- Joined: Fri Nov 30, 2012 2:54 pm
Re: Unable to process EAD input document
Post by Alberto Caeiro »
Never mind, I realized that I wasn't using the "xpath-default-namespace" attribute for EAD. Sorry!
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service