This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
call-template in MSXML3
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] call-template in MSXML3
- From: "Jason Macki" <jmacki at iisd dot ca>
- Date: Wed, 23 May 2001 08:56:21 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hello,
It is my understanding that xsl:call-template is supported by msxml
version 3, but I haven't been able to get it to work.
The following xsl document produces the error:
Keyword xsl:call-template may not be used here.
Which suggests to me that the parser does not recognize the element.
This transformation is being done on a server that has msxml3 installed,
and it uses the latest namespace.
Does anyone see any problems with the following xsl document?
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="xml" version="1.0" omit-xml-declaration="yes"
indent="yes" />
<xsl:template match="/">
<xsl:call-template name="test" />
</xsl:template>
<xsl:template name="test">
THIS IS A TEST.
</xsl:template>
</xsl:stylesheet>
Thanks,
Jason
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list