Talk:100 doors/XSLT

From Rosetta Code

not really complete?

When I run this, I get a blank result.

Specifically:

I changed the prolog to:

<lang xslt><?xml version='1.0'?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

               version="1.0"
               result-ns="http://www.w3.org/TR/REC-html40">
 <xsl:output method="html"
             version="4.0"
             doctype-public="-//W3C//DTD HTML 4.0 Transitional//EN"
             doctype-system="http://www.w3.org/TR/REC-html40/loose.dtd"
             encoding="ISO-8859-1"/>
 <xsl:strip-space elements="*"/>


 <xsl:template name="HundredDoors" match="/"</lang>

And I added a suffix:

<lang xslt> </xsl:stylesheet></lang>

And I created an empty html document. <html></html>

And, I used unicorn's "standard edition" xslt processor from cygwin with the empty html document as the first argument, the modified xsl file as the second and an arbitrary name as the third, and the resulting output file had 0 characters.