This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
So you said "When these entities occur in my stylesheet, translate them in this way." But that has no effect on the entities that were in the document you wanted to transform.
I suggest you preprocess your document which is not XML using JTidy or Tagsoup and make it into XML. Then you should have no problem.
Joined: Dec 17, 2001
Thanks for your reply Paul. The HTML is XHTML compliant so I think there is no need to convert it into XML. Sorry I didn't understand your statement that by converting html to XML will solve the issue. Regards, Kapil