I am looking for at tool for semi automatic XSLT generation.
Given 2 XLM files, source:
<elm>XXX</elm>
and target:
<exx>XXX</exx>
The tool should make the XSLT file, which produces the target from the source. Looking at the content, it should identify changes in level, placement, element names etc. There is no general solution to this, but I would need simple transformations only.
Possible implementation:
1. scan the source, map XML data "XXX" to element path "elm"
2. scan the target, map XML data "XXX" to element path "exx"
3. output target XML structure, output XSLT mapping of "XXX", "elm" -> "exx"
In case of conflicts manual interventions is needed. A conflict could be "XXX" in more than on place in source.
It would be nice if the tool was XSD/DTD aware also, for example to do manual "field" mappings.
Edit: clarification.