You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hop.apache.org by "dave-csc (via GitHub)" <gi...@apache.org> on 2025/06/09 13:49:20 UTC
[I] [Feature Request]: Add XML - redesign transform to allow complex XML structures (hop)
dave-csc opened a new issue, #5401:
URL: https://github.com/apache/hop/issues/5401
### What would you like to happen?
A missing feature in the **Add XML** transform is the ability to merge XML fragments in groups (see discussion #5395 and bug #5396).
The ideal way to solve this should be implementing similar features to those already present in the **Enhanced JSON output**, notably:
- the ability to define grouping fields (and their XML name, i.e. the "root" tag for the fragment), so that the other fields can be nested with their own XML
- the ability to define a non-grouping field as an "XML fragment", so that it treated as it is rather than escaping the `<` and `>` symbols with `<` and `>`
- the ability to pretty print the XML output (as mentioned in #2385)
### Issue Priority
Priority: 2
### Issue Component
Component: Hop Gui, Component: Transforms
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature Request]: Add XML - redesign transform to allow complex XML structures (hop)
Posted by "gmitter-ef (via GitHub)" <gi...@apache.org>.
gmitter-ef commented on issue #5401:
URL: https://github.com/apache/hop/issues/5401#issuecomment-3023127291
It would also be nice to have similar functionality as it exists in the JavaScript transform for parsing and writing JSON files (including the iteration and modification of the DOM-tree nodes) via JSON.parse" / foreach loops / "JSON.stringify.
This (in my opinion) faster and easier when having to parse/write complex JSONs with multiple filter conditions, in comparison to the JSON input step with Jayway JSONPath.
Similarly, I could imagine the possibility to use some kind of XML-parsing inside JavaScript, and not having to rely on the functionality of the XML transform.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org