I'm using the doclet API
(
http://docs.oracle.com/javase/1.4.2/...avadoc/doclet/)
to create an xml file from my java source code.
I have to print a string like "Set<Float>" in the xml.
If I do: String s = "Set<Float>", in the xml file results: "Set".
If I do: String s = "Set<Float>", in the xml file results:
"Set&lt;Float&gt;"
How could I escape the characted '<' or '&'??
Thank you so much