Search found 2 matches

by lithicas
Tue Oct 23, 2018 11:35 am
Forum: General XML Questions
Topic: Merge Multiple XML Files into One XML File
Replies: 21
Views: 87500

Re: Merge Multiple XML Files into One XML File

Hi, There is with the help of XSLT. So, since you mentioned all files are formatted the same I will assume they all have the same root element name and namespace. This stylesheet (based on Oxygen/samples/xhtml/copy.xsl) copies the root element of the file you apply the transformation on and the chi...
by lithicas
Wed Oct 17, 2018 2:56 pm
Forum: General XML Questions
Topic: Merge Multiple XML Files into One XML File
Replies: 21
Views: 87500

Re: Merge Multiple XML Files into One XML File

Hi, I used this style sheet on a folder of xml files that are all formatted the same, but it did not include the root element for each record. The original xml files have <?xml version="1.0" encoding="UTF-8"?> then the root element is <metadata> with a series of elements inside....