title: generating html from xml+xslt from jdeveloper
body: <p>When I am trying to generate HTML from XML+XSLT in jdeveloper 10g using a java class I am getting following error</p>
  
  <pre><code>XML-22108: (Error) Invalid Source - URL format is incorrect.
  
  XML-22000: (Fatal Error) Error while parsing XSL file (no protocol: headerMenu.xsl)
  </code></pre>
  
  <p>But when I am compiling the file with another jdk from command line it is working fine.</p>
  
  <p>Following is my code snippet</p>
  
  <pre><code> TransformerFactory tFactory = TransformerFactory.newInstance();
  
          Transformer transformer = 
              tFactory.newTransformer(new javax.xml.transform.stream.StreamSource(xslHeaderMenu)); //takes the xsl
  
               System.out.println("...xsl for header navigation menu block included...");
  
          transformer.transform(new javax.xml.transform.stream.StreamSource(xmlDataFile), 
                                new javax.xml.transform.stream.StreamResult(new FileOutputStream(htmlHeaderMenu))); //takes the xml and generates html for header menu
  </code></pre>
  
  <p>Please advice how can I generate inside jdeveloper</p>