public class XmlUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
applyTransformationResource(java.lang.String xml,
java.lang.String transformationResource)
Removes all ignored nodes from the given xml
|
static java.lang.String |
evaluateXPath(java.lang.String targetXml,
java.lang.String xPath) |
protected static java.lang.String |
transform(java.lang.String targetXml,
javax.xml.transform.stream.StreamSource source) |
public static java.lang.String applyTransformationResource(java.lang.String xml,
java.lang.String transformationResource)
xml - the xml to processtransformationResource - the transformation to apply (classpath resource)public static final java.lang.String evaluateXPath(java.lang.String targetXml,
java.lang.String xPath)
targetXml - the XML to apply the XPath expression toxPath - the XPath expression to applyprotected static java.lang.String transform(java.lang.String targetXml,
javax.xml.transform.stream.StreamSource source)
throws javax.xml.transform.TransformerFactoryConfigurationError
javax.xml.transform.TransformerFactoryConfigurationErrorCopyright © 2018 SAP SE. All Rights Reserved.