XSLT to update document structure
Posted by mholmes on 27 Feb 2008 in Activity log
Carried out the following changes in consultation with KA and MC, through an XSLT transformation, to bring the document into conformance with the current status of TEI P5:
- Created a new
<msDesc>element in<sourceDesc>, with minimal required children, to provide a location for<handDesc>. - Converted old
<handList>to<handDesc>insourceDesc/msDesc/physDesc, and all child<hand>elements to handNote. - Converted
space/@extentto@quantity. - Converted
normalize/@method='tag'to 'markup'. - Converted
add/@rendto@type. - Fixed parentheses not allowed in
g/@type, by replacing them with underscores. - Converted
<num>elements with@typeattributes pointing to folios to<ref>elements with@targetattributes pointing via XPath at the relevant<pb>tag. - Added a
<revisionDesc>list item to describe these changes.