Skip to primary content
Skip to secondary content

The Journeyler

A walk through: Life, Leadership, Linguistics, Language Documentation, WordPress, and OS X (and a bit of Marketing & Business Administration)

The Journeyler

Main menu

  • Home
  • CV/Resume
  • Photography
  • Location
    • Cartography
    • Geo-Tagging
    • GPS
  • Language Documentation
    • Linguistics
    • Digital Archival
  • Open Drafts
  • Archives

Tag Archives: MODS

MODS and element order

Posted on November 5, 2022 by Hugh Paterson III
Reply

Is element order a thing in XML? That is is the order of appearance of sibling elements within an XML document critical?

https://stackoverflow.com/questions/28268696/is-the-order-of-two-siblings-implementation-dependent

Node Relationships

Here is the response from the XSD author:

I haven’t read the entire thread, but I take it the question is whether elements in a mods record need to be in a particular order (i.e. in the order that they are listed in the schema). They don’t.

In the MODS schema, look for:

*********************************************************************** ** Definition of a single MODS record ** ********************************************************************** 

And following that:

<xs:element name="mods" type="modsDefinition"/>
<!-- -->
<xs:complexType name="modsDefinition">
<xs:group ref="modsGroup" maxOccurs="unbounded"/>

……….

This says: a MODS record consists of one or more elements from the “modsGroup (at least one, because that is the default if there is no minOccurs, and as many as you want because maxOccurs=“unbounded”) enclosed within a element.

Next, look for:

*********************************************************************** ** These are the "top level" MODS elements ** ********************************************************************** —>

prior to that:

<xs:group name="modsGroup”>
<xs:choice>

…. and following it is the list of elements:


<xs:element ref="abstract"/>
<xs:element ref="accessCondition"/>
<xs:element ref="classification"/>
<xs:element ref="extension"/>
<xs:element ref="genre"/>
<xs:element ref="identifier"/>
<xs:element ref="language"/>
<xs:element ref="location"/>

……………. and so on.

“Choice: says “choose any one of these elements."

So all together, it says choose an elements from the list. Any element. And then repeat as desired.

So you could choose “genre”, and then choose “classification”, and so on. Chosen in no particular order.

And then enclose your list within a

<mods>

record, in the order in which you chose the elements.

Ray

Posted in Other Journals | Tagged metadata, MODS, XML | Leave a reply

Raw questions when looking at the MODS documentation

Posted on October 30, 2022 by Hugh Paterson III
Reply

https://www.loc.gov/standards/mods/userguide/identifier.html

MODS documentation does not explain an expected syntax for the examples. This would be very helpful. What is the expected syntax for typeURI?

http://loc.gov/standards/mods/userguide/typeofresource.html
manuscript

Definition
A resource that is written in handwriting or typescript.
Application
This attribute is used as manuscript="yes" when a collection contains manuscripts and is considered generally to be manuscript in nature, and for individual manuscripts.

A collection is not the same thing as a DC collection, so what does the XSD say?

Where does the OLAC grene terms map to this list?

https://www.loc.gov/standards/valuelist/marcgt.html

Posted in Other Journals | Tagged metadata, MODS | Leave a reply

Activity

March 2023
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  
« Feb    

I’ve been saying

  • Font queries
  • Making a Violin
  • Twitter self hosted archive…
  • Spatial Coverage on the OLAC network
  • Python traps
  • Quantitative Analysis of Metadata Errors
  • Dynamic collections aren’t.
  • All a board
  • Adding Outputs to XLingPaper
  • Carries-free Kids
  • Oregon state Supreme Court
  • XLingPaper via Javascript

Say What?

  • kristina Oma Cartwright on Carries-free Kids
  • kristina Oma Cartwright on Florence Beach
  • kristina Oma Cartwright on Oregon state Supreme Court
  • kristina Oma Cartwright on Craft day!
  • mom on Identifying as female

One should not consider the content on this website to be an official opinion of any company associated with me. These posts are solely my opinion.

Proudly powered by WordPress