Wow, I didn't know that was possible. Thanks for the tip, Claudia, I'm sure
it will come in handy in the future.

I was going to suggest another solution but it has an extra step - to
generate the xml from multiple xml files using XSLT. The xsl file would be
just a skeleton which would include the secondary xml files. In Java you
can choose from several xslt processors and there is at least one in the
DSpace classpath already.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



On Fri, Mar 23, 2018 at 9:27 AM, Claudia Jürgen <
[email protected]> wrote:

> Hello Monika,
>
> we have split the input forms as a couple of collection/type specific
> forms made it unwielding.
> We kept the value-pairs in it and put the forms and form map in
> different files
> <?xml version="1.0" encoding='iso-8859-1' ?>
> <!DOCTYPE input-forms SYSTEM "input-forms.dtd" [
>    <!ENTITY map SYSTEM "input-form-elements/form-map.xml">
>    <!ENTITY standardUniDo SYSTEM
> "input-form-elements/de/form-standardUniDo.xml">
>     ...
>
> ]>
> <input-forms>
>     &map;
>     <form-definitions>
>         &standardUniDo;
>         ...
>     </form-definitions>
>     ...
> </input-forms>
>
> Hope this helps
>
> Claudia Jürgen
>
>
> Am 22.03.2018 um 18:41 schrieb Monika Mevenkamp:
>
>> Can I split the input-forms.xml file into multiple files using some kind
>> of include directive
>>
>> Monika
>>
>> —
>> Monika Mevenkamp
>> Digital Repository Infrastructure Developer
>> Princeton University
>> Phone: 609-258-4161
>> Skype: mo-meven
>>
>>
>>
>>
>>
> --
> Claudia Juergen
> Eldorado
>
> Technische Universität Dortmund
> Universitätsbibliothek
> Vogelpothsweg 76
> 44227 Dortmund
>
> Tel.: +49 231-755 40 43
> Fax: +49 231-755 40 32
> [email protected]
> www.ub.tu-dortmund.de
>
> Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie
> ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für
> diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender
> und vernichten Sie diese Mail. Vielen Dank.
> Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen
> ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher
> Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines
> solchen Schriftstücks per Telefax erfolgen.
>
> Important note: The information included in this e-mail is confidential.
> It is solely intended for the recipient. If you are not the intended
> recipient of this e-mail please contact the sender and delete this message.
> Thank you. Without prejudice of e-mail correspondence, our statements are
> only legally binding when they are made in the conventional written form
> (with personal signature) or when such documents are sent by fax.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to