Closed snorri closed 10 years ago
Example:
<journal-meta> <journal-id journal-id-type="nlm-ta">BMC Womens Health</journal-id> <journal-id journal-id-type="iso-abbrev">BMC Womens Health</journal-id> </journal-meta>
is imported as:
{ 'journal-id' => [ { 'journal-id-type' => 'nlm-ta' }, { 'journal-id-type' => 'iso-abbrev' } ] };
(The Content for the journal-id elements ("BMC Womens Health") is missing).
Fixed in XML::Struct 0.22. The next release of Catmandu::XML will have this as dependency.
Example:
<journal-meta> <journal-id journal-id-type="nlm-ta">BMC Womens Health</journal-id> <journal-id journal-id-type="iso-abbrev">BMC Womens Health</journal-id> </journal-meta>
is imported as:
{ 'journal-id' => [ { 'journal-id-type' => 'nlm-ta' }, { 'journal-id-type' => 'iso-abbrev' } ] };
(The Content for the journal-id elements ("BMC Womens Health") is missing).