First of all, i'm new to programming, so don't be to hard on me.
second thing, my english is not very good.
Now let's go to the question.
I have an XML file what looks like:
As you can see <result$> and <test$> are not valid.
What i need is a piece of
JAVA code that removes those elements.
Bellow you can find the code that I have yet, but I'm getting a SAXException (caused by the $ sign).
Do you guys have any idea how I can remove the invalid elements from the XML file and create a new valid XML?
Thanks in advance!