I am unable to use DOM4J with our current JBoss server deployment. Are there alternatives to DOM4J that use the same or close syntax that would be easy to implement and basically do a search and replace on existing DOM4J based code?
I'm basically looking to replace the "addElement" with sub-elements. newElement = LcRegisterClaimPs.addElement("ListOfLcTitlesPs").addElement("LcTitlesPs");
Adding of new elements with their text: newElement.addElement("IntegrationId").addText(nextIntegrationID()); And selection of single or multiple node via xPath: