in reply to Parsing Java Server Pages (JSP)

  1. Convert JSP pages to JSP documents (JSPX) with Jsp2x
  2. now that you have XML, you can use pretty much anything to perform your transformations, XML::Twig... pQuery

Replies are listed 'Best First'.
Re^2: Parsing Java Server Pages (JSP)
by mjscott2702 (Pilgrim) on Nov 01, 2010 at 15:58 UTC
    Interesting approach, and may also help to highlight JSPs with badly formed HTML. However, can I perform the reverse conversion i.e. get JSPs back from the modified XML?

    Guess I need to read up on Jsp2x....

      Scratch that, don't need to do the reverse...