add support for a <metadata> container tag
authorSven-S. Porst <porst@sub.uni-goettingen.de>
Mon, 1 Oct 2012 16:13:40 +0000 (18:13 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 3 Feb 2014 12:58:39 +0000 (13:58 +0100)
so one can have a setup like

<metadata>
<metadata name="language" brief="yes" merge="unique" termlist="yes"/>
<metadata name="id" brief="yes"/>
<metadata name="lccn" merge="unique"/>
</metadata>

The underlying desire is to be able to include the complete metadata setup with XInclude.
This requires us to have a single container with all elements.

This patch adjust the metadata element counting and evaluation to interpret both metadata tags on their own and containers with metadata tags in them.
Attributes of a metadata container tag are ignored.


No differences found