I am trying to set up RSyntaxTextArea to edit XML files that have Lua code embedded between certain XML tags. What would be the best way to go about hooking into the XML parser and directing these Lua blocks into the lua parser to get proper highlighting in the Lua blocks?

Thanks, y'all! I apologize for my ignorance! I'd really appreciate it if someone be willing to nudge me in the right direction about the best way to go about doing this.