This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

my output just contains xsl code


I'm trying to convert html to wml... i've made a simple xml document and an
xslt stylesheet  to make the conversions.  The output is supposed to be wml
code, but whenever I apply the stylesheet to the xml document, the output I
get is just a regurgitation of the xslt stylesheet code.

For example, my stylesheet (much simplified) looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">
	<xsl:apply-templates/>
</xsl:template>	

<xsl:template match="html">
	<wml><xsl:apply-templates/></wml>
</xsl:template>
	
<xsl:template match="body">
	<card><xsl:apply-templates/></card>
</xsl:template>

</xsl:stylesheet>

And all my output file contains is this exact same code.  What did I manage
to screw up?


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]