Skip to content

Reference Declarations (refsDecl)

srdee edited this page Aug 3, 2015 · 4 revisions

Each text must have a working CTS refsDecl element in order to be accessed with various services in the Perseus ecosystem.

#The short version

For details on what this <refsDecl> should look like, either for manual creation or to write your own scripts, please see the Capitains documentation on <refsDecl>.

#The script version

For help with the automatic insertion of a <refsDecl>, see the scripts below:

batch-add-refsDecl.xsl

add-refsDecl.xsl

#Prerequisites for working with the refsDecl element

For help with understanding XPath for use in the <refsDecl>, please see the W3C XPath tutorial.

For more background on the requirements and origin of the CTS protocol, please see the wiki page on CTS compliance.

#Working with multiple refsDecl elements

No verdict on this as of yet. Right now, choose and update only one.

Clone this wiki locally