Re: XML sync issues
Posted: Mon Dec 29, 2025 1:17 pm
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
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