Splitting

Questions about XML that are not covered by the other forums should go here.
yabeweb
Posts: 1
Joined: Thu May 21, 2015 3:05 pm

Splitting

Post by yabeweb »

Hello everyone, first timer here, hopefully I am not breaking any rules ;) i am trying to split a Xml file and i found many tools, but they all truncate the document.

What i am looking for it to split say file A in 2/3 files B and C let's say, but they all should have the same header and footer.,...so basically only the "body" has to be splitted, ....is it something doable?

I am trying to do this on windows...(no linux unfrotunatly)

Thank you

Andrea
Radu
Posts: 9434
Joined: Fri Jul 09, 2004 5:18 pm

Re: Splitting

Post by Radu »

Hi Andrea,

Sorry but we do not have a dedicated solution for this.
You could probably write an XSLT stylesheet which could be applied on the XML document and break it in multiple documents depending on your custom rules.
There is an XSLT list on which you could possibly ask for help with this:

http://www.mulberrytech.com/xsl/xsl-list/

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply