How can I turn on syntax highlighting in Netbeans for sql statements inside an xml file?
I'm using MyBatis, one of my mapper.xml looks something like this:
<mapper namespace="org.example.ChartDataMapper">
<cache/>
<select id="getData" resultType="ChartData" >
<![CDATA[
SELECT * FROM data;
]]>
</select>
</mapper>
The actual select is a bit more complicated, but that's beside the point. I'd like to see syntax highlighted sql inside the CDATA, but right now everything is colored brown.