XML color and sorting
I have a problem with an XML using setDataModel. My XML source come from a Java Servlet.
I want to colour the element <one> on red and the element <two> on black; both elements containe numbers. I achieve it when I put one "a" tag around its content, i.e.:
out.print("<one>"); out.print("<a>"); out.print("<font color="red">"); out.print("MyContent"); out.print("</font>"); out.print("</a>"); out.print("</one>");
The problem appears when I try to sort one column of this xml on the AW. AW sorts the column by the content of the "a" tag, not by the content of the <one> and <two> elements.
Somebody can help me?
Thank you in advance!!