I had written an XSLT 2.0 version file and when it is applied to an XML file it gives me following error:
ERROR: 'Unsupported XSL element 'http://www.w3.org/1999/XSL/Transform:sequence''
This is the Java code:
TransformerFactory tFactory = TransformerFactory.newInstance();
Transformer transformer = tFactory.newTransformer(new StreamSource("Test.xslt"));
transformer.transform(new StreamSource("Old.xml"),new StreamResult(new
FileOutputStream("New.xml")));
Can someone help me out with this?