Syntax Recognition for XML-Based Languages in Oracle JDeveloper
Posted
by Ramkumar Menon
on Oracle Blogs
See other posts from Oracle Blogs
or by Ramkumar Menon
Published on Thu, 16 Dec 2010 16:02:35 -0800
Indexed on
2010/12/17
17:08 UTC
Read the original article
Hit count: 660
@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.
© Oracle Blogs or respective owner