script
tags as java code and code inside style
tags as CSS. It would need a bit of work to deal with data binding and the special jaxx css, but it's a start.
<?xml version="1.0"?> <!DOCTYPE MODE SYSTEM "xmode.dtd"> <MODE> <RULES IGNORE_CASE="FALSE"> <SPAN_REGEXP MATCH_TYPE="MARKUP" DELEGATE="java::MAIN" HASH_CHAR="<"> <BEGIN><script></BEGIN> <END></script></END> </SPAN_REGEXP> <SPAN_REGEXP MATCH_TYPE="MARKUP" DELEGATE="css::MAIN" HASH_CHAR="<"> <BEGIN><style></BEGIN> <END></style></END> </SPAN_REGEXP> <IMPORT DELEGATE="xml::MAIN" /> </RULES> </MODE>Don't forget to add this line to you catalog file:
<MODE NAME="jaxx" FILE="jaxx.xml" FILE_NAME_GLOB="*.jaxx" />