XML sync issues

Oxygen general issues.
Kerson
Posts: 1
Joined: Wed Dec 24, 2025 12:20 pm

XML sync issues

Post by Kerson »

Hey
Got a bunch of XML files I need to keep in check at the same time and it’s a bit of a mess. Change something in one file and it can screw up the others. I’m using Oxygen to edit and test the XSLT, but keeping everything synced without duplicates is a pain. Tried doing some automatic exports, helps a bit, but some elements still pop up twice and I have to tidy it manually. Any simple way to keep it all lined up without too much hassle, even a quick tip on filtering what actually syncs would be handy.
teo
Posts: 98
Joined: Wed Aug 30, 2017 3:56 pm

Re: XML sync issues

Post by teo »

Hi,

From the description it sounds like you’re dealing with multiple related XML files and XSLT transformations where content gets duplicated over time.
Unfortunately, with the information provided it’s hard to pinpoint the exact cause or suggest a precise solution.

To get meaningful help, it would be useful to clarify a few things:
- how are the XML files related to each other (shared IDs, includes, generated from the same source, etc.)?
- what does the XSLT do exactly: merge documents, generate new ones, update existing files, or all of these?
- where do the duplicates appear: in the same output file or across different files?
- is the transformation regenerating the output from scratch each time, or is it applied incrementally over existing output?
- are you using <xsl:result-document> to write multiple outputs?

In many similar cases, duplication happens because:
- the transformation is re-run without cleaning the output first, or
- the XSLT logic appends nodes without checking for existing ones, or
- XSLT is used for bidirectional “sync”, which it isn’t really designed for.

Once you can share a bit more detail (or a small sample of input + XSLT + output), it will be much easier to suggest a concrete / reliable approach.

Best regards,
Teo
Teodor Timplaru
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply