Encoded Texts
Encoded Texts
Texts are encoded and presented using the LEAF-Writer semantic editor. LEAF-Writer is integrated within the LEAF platform as well as in a Commons version. This document concentrates on the version used in LEAF-VRE.
LEAF-Writer Features
LEAF-Writer provides:
- Schema-aware document editing, including validation, against web-accessible schemas
- Support for cascading stylesheets (CSS) to provide a WYSIWYG view of documents, as well as a view showing tags
- The ability to extract references to named entities (persons, places, or organizations) from already tagged XML references within a document in order to generate Web Annotation
- The ability to look up and select identifiers for named entity tags (persons, organizations, places, or titles) from Linked Open Data authorities, such as: DBPedia, Geonames, Getty, LGPN, VIAF, and Wikidata.
- Generation of Linked Data annotations corresponding to newly tagged named entities and document annotations (dates, notes, citations, corrections, links, keywords) in XML-RDF or JSON-LD conforming to the Web Annotation Data Model
- Continuous XML validation
- Schema-constrained tagging options
Create a LEAF-Writer Object
To create an object for encoding text in LEAF, go to the "Nodes" tab
- Create Group node (Repository Item)
- Set Model to Digital Object
- Set Type to Text
- Fill out the pertinent metadata fields
- Save
Associate XML File with Object
As with other forms of content on LEAF, the XML file is considered to be 'media'. In cases where an XML file is ready to be encoded in LEAF-Writer:
- In the object's About tab scroll to Associated Media -- Edit
- Upload the XML file
- Set media usage to Original File
- Save
To edit the LEAF-Writer object, click on the object's Edit Content tab.
Prepare an XML file for upload
LEAF-Writer cannot create new 'born-digital' documents from within the editor. In cases where an existing XML file has not been created, templates are available for Prose, Poetry, and Correspondence, as well as a Blank template. Copy the code from the screen and paste into a desktop text editor (such as TextEdit, Notepad, etc). Save the file with filetype .xml. Then upload the file to LEAF-Writer as described above.