Remove Unused Namespaces in JDeveloper by Reinhold Becker

Posted: June 26, 2015 in JDeveloper & ADF
Tags: , , , , , ,


clip_image002This function is deeply missed in JDeveloper by many developers that code with Oracle products. There are many reasons for the usage of removing unused namespaces. Sometimes there are generated into the XML – in other cases we remove an import and forget to delete the namespace. For that reason I created a workaround with no extension coding at all.

The trick is to embed an xslt function into JDeveloper within a Maven script. First you have to create the pom.xml and the transform.xsl into your environment project. If you don’t have an environment project, any other directory will do it. The pom.xml has only one plugin that uses the MOJO project „xml-maven-plugin“. This plugin is used to execute xslt transformations with maven and it only requires the directory and the xsl file. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s