-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
DCLIB doesn't currently support array valued 'bind' template variable bindings, however in valu templates it accepts array valued expressions, transforming them as multi-valied properties.
It would be useful, and more uniform, to be able to create array valued variable bindings within a template eg to provide common set of vocabulary URI for VoID metadata (in this case preprocessed to remove trailing '#' characters from namespace URI.
"bind" : [ { "$ns" : "{= asResource($$).replaceAll('#$','') }"
},{
" $vocabularies" : [ "<{$ns.apply('dgu:')}>",
"<{$ns.apply('def-bwq:')}>",
"<{$ns.apply('skos:')}>",
"<{$ns.apply('def-bw:')}>",
"<{$ns.apply('def-sp:')}>",
"<{$ns.apply('def-stp:')}>",
"<{$ns.apply('qb:')}>" ]
} ]
Reactions are currently unavailable