Skip to main content
ExLibris
ExLibris Dev

DigiTool Metadata Global Changes Job Guidelines

Overview

 Metadata Global Changes are based on Xpath syntax. It is recommend to use an Xpath evaluation tool (found online or in many XML editors) to determine the correct Xpath for the purpose.

Running the change in test mode before making the change is highly recommended. A test directory can be defined in any location. Insert the full path in the "Test directory" parameter.

 

Examples of Configurations

 

Operation

Metadata Type

Input XPath

Target XPath

Value

Comment

 

Add

DC

/record

 

Not Relevant

<dc:title>Nausea</dc:title><dc:creator>Sartre, Jean-Paul</dc:creator>

 

Element <dc:title> with content "Nausea" is added to <record> element;

Element  <dc:creator> with content "Sartre, Jean-Paul" is added to <record> element

Add

MARC

/marc:record

Not Relevant

<marc:datafield tag="100" ind1="1" ind2=" "><marc:subfield code="a">Humboldt, Alexander von,</subfield> <marc:subfield code="d">1769-1859.</marc:subfield> </marc:datafield>

Given MARC tag 100 with subfield "a" and subfield "d" is added to the metadata.

Add

MARC

/marc:record/marc:datafield[@tag="100"][marc:subfield[@code="a"]="Humboldt, Alexander von,"]

Not Relevant

<marc:subfield code="d">1769-1859.</marc:subfield>

Add a ‘d’ subfield and value to the tag 100 field that has "Humboldt, Alexander von", in the ‘a’ subfield.

Update

DC

/record/dc:creator[.='Samuel Langhorne Clemens']

 

Not Relevant

Mark Twain

<dc:creator> elements in the metadata with "Samuel Langhorne Clemens" will be changed to "Mark Twain".

Update

MARC

/marc:record/marc:datafield[@tag="260"]/marc:subfield[@code="a"]["New York"]

Not Relevant

New-York

Will rreplace "New York" with "New-York" in tag 260 subfield a

Delete

DC

/record/dc:type[.='test']

 

Not Relevant

Not Relevant

<dc:type> element with "test" value will be deleted

Delete

MARC

marc:record/marc:datafield/[@tag="260"]/marc:subfield[@code="a"]

Not Relevant

Not Relevant

Tags '260' subfield 'a' is deleted.

Move

DC

/record/dc:department

 

 /record 

 

<dcterms:department ></dcterms:department>

Moves the 'dc:department' element to a new 'dcterms:department' element.

Copy

MARC

/marc:record/marc:datafield[@tag="260"]

/record

<marc:datafield tag="261" ind1="1" ind2=" "></marc:datafield>

For each MARC tag '260' a new tag '261' is created. The value of the new tag is equal to the value of the source tag.

 

  • Was this article helpful?
//doorbell.io feedback widged