Skip to content

buried in OAC EAD processing is this XSLT 1.0 to process archivists' toolkit output to get it ready for preview and submission to oac.cdlib.org with voroEAD, not sure how much of this is used still

License

Notifications You must be signed in to change notification settings

cdlib/dsc-at2oac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 

Repository files navigation

at2oac

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

running

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)

Download

http://bitbucket.org/btingle/at2oac/src

Credits

Produced by the California Digital Library, Digital Special Collections

Issue tracker

report problems http://bitbucket.org/btingle/at2oac/issues

About

buried in OAC EAD processing is this XSLT 1.0 to process archivists' toolkit output to get it ready for preview and submission to oac.cdlib.org with voroEAD, not sure how much of this is used still

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages