CurrentNodeElement.setAttribute("current","0");
Element CurrentNodeParentElement;
if (CurrentNodeParent instanceof Element)
{
CurrentNodeParentElement = (Element) CurrentNodeParent;
}
else
{
CurrentNodeParentElement = null;
}
CurrentNodeParentElement.setAttribute("current","1");
CurrentNodeParentElement.setAttribute("indicator","1");
OMDOMReader dom12Reader = new OMDOMReader( CurrentNodeParent );
OMObject m12Object = dom12Reader.readObject();
out.println("Final CurrentNode is " + m12Object.toString());