Converting XML to HTML
Page Index
Introduction
This page shows the steps taken to transform the archival aligned stories into an HTML display.
The XML File
A very useful feature of ELAN is that it outputs a file in XML format containing all the information on timecodes, linguistic and tier type definitions, and the actual text. The XML can then be converted to a user-friendly HTML version of the alignment through the use of an XSL stylesheet.
For the Dena'ina project, a few key pieces of information that ELAN does not supply were added to the XML file:
- <DENTITLE> for the Dena'ina title of the story
- <ENGTITLE> for the English title of the story
- <SPEAKER> for the name of the storyteller

The XSL Stylesheet
A stylesheet was written in XSL to convert the information contained in the XML file into HTML. XSL was used to format the page, add graphics, add eye-catching colors, and insert QuickTime plug-ins. QuickTime was selected as the media player for this project because it is free to download, easy to configure, and uses <starttime> and <endtime> elements to play individual lines of audio. This eliminated the need to cut the audio into many individual files.
Follow the path of the Dena'ina Data
- Get started: Summary of the Dena'ina conversion
- Digitize audio data: Audio pages (Classroom)
- Convert characters to Unicode: Conversion page (Classroom)
- Align text: Interlinearized glossed text pages (classroom)
- Store data: XML pages (classroom)
- Render data: Stylesheets pages (classroom)
The initial audio digitization was funded by the University of Alaska President's Special Projects Fund.
| About the Data | |
|---|---|
|
Case Study: ELAN Digitization Path Easy Access Digitize Audio Align Data Render Data Alignment with ELAN Converting XML to HTML |
|
| About the Language | |
|---|---|
|
About Dena'ina Map Family Tree Data Providers |
|
| User Contributed Notes Converting XML to HTML |
+ Add a comment |
| + View comments |

