Error: No embedded stylesheet instruction for file
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/13401789/no-embedded-stylesheet-instruction-for-file-error-using-logback">No embedded stylesheet instruction for file: error using logback</a>  </p>
</blockquote>



<p>if i call a method in xml by giving class path am getting following error both class file and xml file are in same package still am finding this error...</p>

<pre><code> org.eclipse.wst.xsl.jaxp.debug.invoker.TransformationException: No embedded stylesheet instruction for file: file:/C:/ANU_DOC/XSLT/xslt/file2/input.xml
    at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:225)
    at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:186)
</code></pre>

<p>Here is my code:</p>

<pre><code>&lt;xsl:stylesheet
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:xalan="http://xml.apache.org/xalan"
        xmlns:datetime="java:com.get.date.GetDateNow"

        xmlns:oa="http://www.openapplications.org/oagis/9"
        xmlns:udt="http://www.openapplications.org/oagis/9/unqualifieddatatypes/1.1"

        extension-element-prefixes="datetime mediationUtil"
        xmlns:mm="http://WCToSSFSMediationModule"
        exclude-result-prefixes="xalan datetime"
        version="1.0"&gt;

        &lt;xsl:output method="xml" encoding="UTF-8" indent="yes" xalan:indent-amount="2"/&gt;
        &lt;xsl:strip-space elements="*"/&gt;

            &lt;xsl:template match="/"&gt;    
            &lt;xsl:variable name="today" select="datetime:date()" /&gt;
            &lt;xsl:variable name="OrganizationCode"&gt;&lt;xsl:value-of select="PromiseHeader/@OrganizationCode" /&gt;&lt;/xsl:variable&gt;

            &lt;_inv:AcknowledgeInventoryRequirement releaseID=""&gt;
                &lt;_wcf:ApplicationArea&gt;
                    &lt;oa:CreationDateTime&gt;
                        &lt;xsl:value-of select="datetime:date()" /&gt;
                        &lt;xsl:value-of select="datetime:time()" /&gt;
                    &lt;/oa:CreationDateTime&gt;
                &lt;/_wcf:ApplicationArea&gt;
</code></pre>
