Formatting an SQL Tag

Questions about XML that are not covered by the other forums should go here.
msalvatori
Posts: 5
Joined: Mon May 26, 2008 11:23 pm

Formatting an SQL Tag

Post by msalvatori »

When editing an .xml file containing conventional SQL statements within a tag, I would like to see the statements formatted; for example, color coding key words. Could someone point me in the right direction towards something that is already available, or what I would have to do to realize formatted statements.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Formatting an SQL Tag

Post by sorin_ristache »

Hello,

No, that is not available in the XML editor panel of Oxygen. We will consider implementing that in one of the future versions of Oxygen. You will need a way for specifying the names of the XML tags that contain SQL statements. Maybe a special list in Preferences - Editor - Colors - XML should allow adding the tag names that contain SQL statements so that the XML editor knows where to apply SQL syntax coloring.


Regards,
Sorin
msalvatori
Posts: 5
Joined: Mon May 26, 2008 11:23 pm

Re: Formatting an SQL Tag

Post by msalvatori »

Thank you for considering this enhancement. I had no idea how often I would find myself printing and highlighting SQL statements when I first got involved with XML and <oXygen/>. A Preferences tag list sounds like a good approach that would lend itself to additional language support.
Post Reply