XML sync issues
Oxygen general issues.
-
teo
- Posts: 99
- Joined: Wed Aug 30, 2017 3:56 pm
Re: XML sync issues
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
Teodor Timplaru
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service