Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<xsl:stylesheet version="1.0" xmlns:xsl="[URL unfurl="true"]http://www.w3.org/1999/XSL/Transform">[/URL]
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/START">
<xsl:copy>
<xsl:copy-of select = "*[normalize-space(Name)='John']"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
Source source = new DOMSource(elem);
Result result = new StreamResult(new File(filename));
Source xsl = new StreamSource(new File("c:\\test.xsl"));
TransformerFactory factory=TransformerFactory.newInstance();
Templates template = factory.newTemplates(xsl);
Transformer transformer = template.newTransformer();
transformer.transform(source, result);