Refactoring: add prefix/QName
Posted: Wed Feb 17, 2021 3:08 pm
Hi all,
I currently have to import a large set of XML data into a mixed-namespace environment, thus using namespace prefixes is mandatory.
Unfortunately the authors of the input file obviously assumed authoring standalone information and thus simply implemented their own namespace as default.
Yes, I’m aware I could write an XSLT to do the job…
Though: Is there a built-in functionality with XML Editor that might do the job of assigning a prefix to elements and/or attributes which have none yet ?
Any hint is welocm !!
Best,
Bardo
I currently have to import a large set of XML data into a mixed-namespace environment, thus using namespace prefixes is mandatory.
Unfortunately the authors of the input file obviously assumed authoring standalone information and thus simply implemented their own namespace as default.
Yes, I’m aware I could write an XSLT to do the job…
Though: Is there a built-in functionality with XML Editor that might do the job of assigning a prefix to elements and/or attributes which have none yet ?
Any hint is welocm !!
Best,
Bardo