Shanna,
several things are wrong with your stylesheet:
* the xmlns:xsl namespace URI is case sensitive; the "XSL" in it should 
be uppercase.
* xsl:output should be an empty element; it doesn't contain the 
templates. Also the values for the method and encoding were invalid so 
the element is best removed.
* Finally, <xsl:value-of/> is invalid; perhaps you mean <xsl:value-of 
select='.'/> ?

With these modifications, the transformation works fine.

Hope this helps,
Tom

[EMAIL PROTECTED] wrote:

> Hello,
> 
> I am having trouble getting the following command to work:
> 
> sadcmd recipe.xsl recipe.xml output.html
> 
> This produces output.html which is exactly identical to my XSLT stylesheet,
> recipe.xsl.
> 
> Is this supposed to happen?  I'm new to XSLT, but am I not supposed to get
> an html file that pulls the text and attribute values from the XML file,
> recipe.xml. What am I doing wrong?  I have attached both my xslt stylesheet
> and the xml data file.
> 
> (See attached file: recipe2.xml)(See attached file: recipe2.xsl)
> 
> Thanks,
> Shanna Griffin
> recipe2.xml
> 
> Content-Type:
> 
> application/octet-stream
> Content-Encoding:
> 
> base64
> 
> 
> ------------------------------------------------------------------------
> recipe2.xsl
> 
> Content-Type:
> 
> application/octet-stream
> Content-Encoding:
> 
> base64
> 
> 

Reply via email to