title: Applying XSLT v. 2 on XML
body: <p>I had written an XSLT 2.0 version file and when it is applied to an XML file it gives me following error:</p>
  
  <pre><code>ERROR:  'Unsupported XSL element 'http://www.w3.org/1999/XSL/Transform:sequence''
  </code></pre>
  
  <p>This is the Java code:</p>
  
  <pre><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")));
  </code></pre>
  
  <p>Can someone help me out with this?</p>