• HCMC Blogs
  • Moses
  • Maint
  • Mariage
  • Admin
  • Academic
  • Depts
  • ScanCan
  • HumsSites
  • Projects
  • Pro-D
  • ColDesp
  • CanMys
  • LondonMap
  • AdaptiveDB
  • MoM
  • Cascade
  • Landscapes
  • Linguistics
  • CGWP
  • Endings
  • LEMDO
  • DVPP
  • Wendat
  • Announcements

Contact Us on 0800 123 4567 or info@example.com

MyNDIR

  • Front Page
  • Contact
  • Log in
  • « Added @type='tree' to name elements I'm looking for in doc files
  • gi elements, attributes, and various revisions »

use of role attribute and roleName element

Posted by pabaer on 16 May 2010 in Activity log
I decided to review the differences in the TEI P5 guidelines between <role> and "role" and <roleName>

1) <role>

  • I did not have any use for this element because it signifies "the name of a dramatic role, as given in a cast list."

2) "role" in <person>

  • I used this attribute in the names.xml file because it "specifies a primary role or classification for the person."

3) I used <roleName> within <persName> when it was part of the name in Old Norse, i.e. Sigurðr jarl for which I provided the translation "Earl Sigurd"

4) I revised the names.xml elements and attributes within the names.xml in order to be consistent with the tag usage described above. However, I think that there is a problem in my other xml files because I used King in <roleName> - with xml:lang="en" - outside of and prior to <persName> for kings in <desc> in my TEI Header. I did this because Old Norse kings are frequently referred to simply by their forename in Ynglinga Saga, and I did not want to mix xml:lang attributes within the <persName>. I am going to have give further thought to this and will likely have to do more revising. I am not sure if <roleName> can be used outside of <persName> in this manner.

This entry was posted by pabaer and filed under Activity log.

MyNDIR

  • Home
  • Recently
  • Archives
  • Categories
  • Latest comments

Search

Categories

  • All
  • Activity log
  • Tasks

XML Feeds

  • RSS 2.0: Posts
  • Atom: Posts
What is RSS?

Recent Posts

  • Finding an obscure issue
  • First steps in generating HTML5
  • Standalone XML now building; code reorganized
  • Jenkins job set up; schema and validation build reworked
  • PAB moved to svn
  • Beginning Endings work
  • Meeting, confirmation of plan
  • Project plan, Endings-style
  • Tweaks to captions
  • Finished diagnostics, sent results

Sidebar 2

This is the "Sidebar 2" container. You can place any widget you like in here. In the evo toolbar at the top of this page, select "Customize", then "Blog Widgets".

This collection ©2026 by admin • Help • Social CMS