content/post/2016-06.md

This commit is contained in:
Alan Orth 2020-11-30 12:10:20 +02:00
parent 2a063b04ba
commit f89a296d67
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -138,7 +138,7 @@ dspacetest=# \copy (select text_value, count(*) from metadatavalue where resourc
- Discuss controlled vocabularies for ~28 fields
- Looks like this is all we need: https://wiki.lyrasis.org/display/DSDOC5x/Submission+User+Interface#SubmissionUserInterface-ConfiguringControlledVocabularies
- I wrote an XPath expression to extract the ILRI subjects from `input-forms.xml` (uses xmlstartlet):
- I wrote an XPath expression to extract the ILRI subjects from `input-forms.xml` (from the xmlstarlet package):
```
$ xml sel -t -m '//value-pairs[@value-pairs-name="ilrisubject"]/pair/displayed-value/text()' -c '.' -n dspace/config/input-forms.xml