Building DOM tree out of an ASP file using JTidy
I am trying to build a DOM tree of an ASP file using JTidy. Before giving the ASP code as input to JTidy i am replacing the <% ... %> tag into <asp_scriplet> .... </asp_scriptlet> and also added this into the Tag Table in JTidy. Now while parsing the text inside these tags JTidy is comsuming new lines and converting a space into a new line.
Please help me on this...