Best practice for inserting the same XML fragment more than once
Posted: Tue Feb 28, 2023 9:21 pm
I am creating a reference work which will ultimately be organised by subjects, and each subject will contain various entries. Because of the nature of the field, I want to include some entries in more than one subject.
I have been working with two XML files:
I have been working with two XML files:
- one document holding all the entires (each with a unique ID);
- another document structuring the subjects, into which I insert the relevent entries using xi:include elements, and from which I would generate the final document