Syntax Recognition for XML-Based Languages in Oracle JDeveloper
By Ramkumar Menon on Dec 16, 2010
@Thanks Jeffrey Stephenson
If you are looking at using any one of the new XML Based languages, lets say a docbook xml, or xproc, or what not, you can make use of JDeveloper's syntax highlighting and completion insight feature to ease out those extra keystrokes.
All you need is a URL/local copy of the XML Schema for the language. Once you have, you can register it via Tools --> Preferences --> XML Schemas.
Remember to provide a new extension name [Using a default .xml extension did not work for me.] I provided my own extension .dbk for my docbook files.
Once you save these settings, you can create new files that conform to the schema, and you get validation/completion insight/prompting for free.