at2oac /

The xlink-rewrite branch has multiple heads:

Filename Size Date modified Message
1.5 KB
1.6 KB
10.7 KB
<!-- -*- markdown -*- -->


XSLT 1.0 to process archivists' toolkit output to get it ready for
preview and submission to with voroEAD


To run this XSLT you can use [libxml2/libxslt](

	xsltproc --output VORO_INPUT.xml at2oac.xsl AT_OUTPUT.xml

OR you can use [saxon](

	java -jar saxonb-x.x.jar -o VORO_INPUT.xml AT_OUTPUT.xml at2oac.xsl

Changes it makes

- adds a type attribute to dsc 
  (uses supplied XSLT parameter `dsc-type` or default value of `'combined'`)

- copies repositorycode and countrycode from eadid to archdesc/did/unitid
  (or uses supplied XSLT paramters `repositorycode` / `countrycode` )

- converts the country code to uppercase as per the schema

- defaults to removing did/container/@label or copies to did/physdesc 
  if the stylesheet parameter `label-to-physdesc` is set to anything

- defaults to stripping out xsi:schemaLocation and putting the ead into
  xmlns=""; to preserve xsi:schemaLocation and xmlns="urn:isbn:1-931666-22-9"
  use stylesheet parameter `strip-namespace` of something other than 'yes'

- changes AT style dao (many dao per c0x outside did) to MOAC style
  (one dao per c0x inside did)


Produced by the [California Digital Library, Digital Special Collections](

Issue tracker
report problems [](