J radolf wrote:where do i put these methods in my code? after DESPROXY tag value returns?
Well, they are methods of the Node and Element classes, so you will need an instance of one of these classes in order to call them.
Find out where in your code you have these instances and then experiment with calls to these methods and see what data they return.