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]

call-template in MSXML3


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


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