Syntax Recognition for XML-Based Languages in Oracle JDeveloper

 

@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.

new_schema_language.JPG

 

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.

 

validation_new_schema.JPG

 

 

Comments:

Will this capability appear in SQL Developer too?

Posted by Dominic Delmolino on December 16, 2010 at 08:59 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Principal Product Manager

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today