Comment #5 on issue 643 by [email protected]: add <physloc> support to EAD import
http://code.google.com/p/qubit-toolkit/issues/detail?id=643

The following change to the ead.yml file allows <physloc> to be imported along with <container>

    container:
      XPath:  "did/container"
      Method:  setPhysicalObjectByName
Parameters: [$nodeValue, "$options = array('type' => $importDOM->xpath->query('@type', $domNode2)->item(0)->nodeValue, 'location' => $importDOM->xpath->query('//*/did/physloc', $domNode2)->item(0)->nodeValue)"]

I.e. added location parameter. However, tweaking of the xpath will likely be required to ensure that this works at all levels e.g. c/c/did/physdesc. This has only been tested with archdesc/did/physloc


--
You received this message because you are subscribed to the Google Groups "Qubit 
Toolkit Issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-issues?hl=en.

Reply via email to