I want to replace several different xpath with paragraphs , first xpath works from second on it fails and as the commnet added for the method getJAXBNodesViaXPath(String xpathExpr, boolean refreshXmlFirst) suggests that, I am wondering how others are managing to repalce several different xpath in a document , please advice .
I uusing xpath palceholders to replace it with collection of paragraphs, please advice how can I repalce several xpath placeholders ?