XSLT to update document structure

27/02/08

Permalink 01:35:37 pm, by mholmes, 141 words, 320 views   English (CA)
Categories: Activity log; Mins. worked: 200

XSLT to update document structure

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> in sourceDesc/msDesc/physDesc, and all child <hand> elements to handNote.
  • Converted space/@extent to @quantity.
  • Converted normalize/@method='tag' to 'markup'.
  • Converted add/@rend to @type.
  • Fixed parentheses not allowed in g/@type, by replacing them with underscores.
  • Converted <num> elements with @type attributes pointing to folios to <ref> elements with @target attributes pointing via XPath at the relevant <pb> tag.
  • Added a <revisionDesc> list item to describe these changes.

Pingbacks:

No Pingbacks for this post yet...

Devonshire

Reports

Categories

May 2013
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

XML Feeds