public Node asXml(Object xml, Object xslt) throws Exception { Node node = XmlUtil.newXml(); XsltUtil.transform(xml, xslt, node); return node; }
public Node asXml(Object xml, Object xslt, Map<String, String> properties) throws Exception { Node node = XmlUtil.newXml(); XsltUtil.transform(xml, xslt, node, properties); return node; }