Added namespaces; now nothing works!

Thomas Weholt thomas at
Thu Mar 8 12:18:23 CET 2001


I have a xml-document I've decided to add namespaces to. Tried to convert my
old stylesheet to reflect the changes and parse it to HTML with XT, but now
nothing but the stylesheet ends up in the resulting document. What am I
doing wrong?

The xml-document :

<?xml version="1.0" encoding="iso-8859-1"?>
<container xmlns=""

The stylesheet, just a simple thing to get something into the browser or
result document :
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl=""

<xsl:output method="html"/>

<xsl:template match="/">

<xsl:template match="jeezez:header">
 <b><xsl:value-of select="jcd:test"/></b>

I only get the entire stylesheet as result. No formatting done whatsoever.
If somebody could provide a dead-simple stylesheet that just enters the
value of the jcd:test-tag in the result document I'd be happy.

Just started using namespaces so I just need a kick to get going. Thanks!!

Best regards,
Thomas Weholt

More information about the Python-list mailing list