Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editing subtrees in XML format #146

Open
stoerr opened this issue Sep 20, 2018 · 0 comments
Open

Editing subtrees in XML format #146

stoerr opened this issue Sep 20, 2018 · 0 comments

Comments

@stoerr
Copy link
Member

stoerr commented Sep 20, 2018

The XML source view provides a nice overview over the subtree of a node, if you have to work with XML anyway (e.g. when working with AEM packages). A nice extension would be if it was possible to edit a subtree within that XML view: make changes in the XML with a text editor in the browser and save it, so that the Composum Browser can update the subtree accordingly. Or copy it out into an XML editor, change it, and later copy it back into the browser again and save it.

An interesting point is how to deal with the special JCR attributes like jcr:uuid , jcr:created, jcr:createdBy and so forth, which are omitted in the XML view. It probably makes sense to omit those, and leave these unchanged when the XML is saved back into the JCR. For this, it would be neccesary to merge the edited XML with the existing JCR tree, and update existing nodes, instead of deleting the old nodes and creating new ines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant