Skip to main content

A while ago I started work on some XSLT transforms for creating a topic map of a W3C XML Schema. Its definitely not a straightforward task, just handling nested includes and class hierarchies is hard from XSLT.

Anyway, I haven't had a chance to work on these stylesheets for a while, so I'm posting them under the Reciprocal Public License in the hope that some one else (LMG ? ;-) might pick them up and contribute more to them. There are two stylesheets:

schema2xtm.xsl works on the schema file directly. This is probably the least-finished of the two.

psv2xtm.xsl works on the PSV output generated by the XSV schema processor. To use this stylesheet, you must first validate your schema with XSV, requesting the PSV output as XML, then run the stylesheet against that output.

A short entry today. In which:

  • Samuel works at the Navy Office.
  • Samuel dines at home.
  • Samuel and Elizabeth go to the theatre to see 'A King and No King' performed. The diary mentions that they travel each way by coach so this is captured as two separate travelling-events preceding and following the performance.
  • Samuel works at home on his correspondence. No details about the work are given, so this is modelled simply as a generic working event.

It is worth noting that the play is one of several collaborations by John Fletcher (already encountered as writer of 'The Tamer Tamed'), and Francis Beaumont. This is modelled in the topic map by using a single 'written-by' association with two players of the 'writer' role.

New and updated topic maps:

Topic map for today's entry.

Culture in the diary.

Two entries uploaded today.

In the entry for 24th September, events modelled are:

  • Samuel and Elizabeth return home from Welwyn.
  • On the way, they stop off at the Mother Red Cap tavern in Holloway for a drink (the name of the tavern is provided by a note on the site.
  • Samuel receives a letter telling him of a naval action that Sir Edward Montague has been involved in. The action is given a subject indicator to allow reference from later diary entries.
  • Samuel visits Jemima Montague.

For the 25th September, the events modelled are:

  • Samuel and William Penn take a coach to Covent Garden.
  • Samuel visits his cousin Thomas and discusses country business with him.
  • Samuel meets Robert Slingsby in St. Martin's Lane
  • Samuel and Slingsby take his coach to Whitehall.
  • Samuel visits William Coventry.
  • Samuel dines with John Crew.
  • Samuel attends a performance of "The Merry Wives Of Windsor" at the Theatre Royal. It being Shakespeare, Sam hates it.
  • Samuel goes drinking with William Penn and Sir G. More (a person not encountered before in the diary).

New and updated topic maps:

Topic map for 24th September 1661

Topic map for 25th September 1661

Core ontology for the diary.

Culture in the diary.

Dates in the diary.

People in the diary.

Places in the diary.