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

(question) Some elegant way to sort elements in the order they appear in the xml file? #142

Open
mikamiel opened this issue Dec 10, 2024 · 0 comments

Comments

@mikamiel
Copy link

Is there some elegant way etree provides to sort elements in the order they appear in the xml file?
It's a common case while working with docx OOXML to be sure that some elements come one after another even if they are on different level of depth in the tree.
I'd be just happy to go without recursive traverse and nested loops.

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

No branches or pull requests

1 participant