-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
Use XSLT for xml transforms #6
Labels
help wanted
Extra attention is needed
Comments
I think that it would be more familiar for odoo-ish people to just allow using xpath for matching instead of regexps. XSLT is a whole new world for many. |
Oh man look at this from #46 😿 odoo-module-migrator/odoo_module_migrate/migration_scripts/migrate_120_130.py Lines 36 to 70 in 75260e2
This should be fixed quickly before the library grows into an unmaintainable mess of regexps... 🙈 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Stylesheets are the standard for transfomring XML documents, use it instead of error prone regular expressions.
Random example: https://gist.github.com/blaggacao/e7ba05c7b4aa36317046ceb843cbed9f
The text was updated successfully, but these errors were encountered: