In the letters, there occur references to artworks by Mondrian such as <rs ref="artwork.xml#a268864" type="artwork-m">Dying sunflower II</rs>.
In this issue, we describe the desired behaviour for these references.
The text to be displayed is the content of the rs element.
A mouseover on the link should lead to a popup containing information from the artwork element, as follows:
Locate the artwork in the artwork.xml file with xml:id attribute equal to the value after the hash.
Title of artwork: take from head element. Should be a link to RKD images (URL from artwork's corresp attrbute).
Thumbnail: use graphic element's url attribute
Artist name: follow ref attribute of relation element and fetch name from bio.xml (temporarily: use value after hash)
Year of creation: use content of date element
Technique: Content of the catRef element with scheme = '#DRAGER', followed by a comma and a space, and then, separated by comma's and a space, the content of the catRef element(s) with scheme = '#MATERTECHN'
Dimensions: Content of the catRef element with scheme = '#VORM', followed by a comma, followed by value of the quantity attribute of the measure element with commodity = 'size-ver', followed by ' x ', followed by the quantity attribute of the measure element with commodity = 'size-hor', followed by a space, followed by the value of the unit attribute of one of the measure elements.
Current location: content of note element with type='location'.
In the letters, there occur references to artworks by Mondrian such as
<rs ref="artwork.xml#a268864" type="artwork-m">Dying sunflower II</rs>
.In this issue, we describe the desired behaviour for these references.
The text to be displayed is the content of the rs element.
A mouseover on the link should lead to a popup containing information from the artwork element, as follows: