Re: CONVERTING XML TO HTML USING XSL

Subject: Re: CONVERTING XML TO HTML USING XSL
From: Warren Hedley <w.hedley@xxxxxxxxxxxxxx>
Date: Sun, 19 Dec 1999 14:53:27 +1300
Jonathan Asbell wrote:

> When I input an xml document and associate it with an xsl document the
> output I get is just the xsl by it self... <snip />

Hi Jonathan

It sounds like your stylesheet might contain the wrong xsl namespace
declaration, which causes the <xsl:stylesheet> element to be interpreted
as a result element.

If you're using 0_18_2, then use :

<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0";>

However, if you're using 0_18_5, or any other tool which claims that
it conforms to the XSLT 1.0 spec, then use :

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

If this isn't the problem, then post your stylesheet to the list,
and I'm sure someone will able to tell you what's wrong.

-- 
Warren Hedley


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


Current Thread