This works for me (despite the fact that it wasn't covered by any of my test cases - now remedied!).
Did you remember to declare "saxon" in extension-element-prefixes?
It's always useful to supply a small sample stylesheet with a problem report - it's easier to debug stylesheets when you can see them!
Michael Kay

From: [] On Behalf Of Peter PR. Röcker
Sent: 06 October 2004 13:33
Subject: [saxon] problem with extension instruction <saxon:call-template>

Hello all.


I’ve got a problem with Saxon 8.0b in using the extension instruction “<saxon:call-template>”.


I need it, because the template name is decided during run-time. But I need also parameters by calling the template.

So when I use “<xsl:with-param name…./>”  an error occurs:

“xsl:with-param cannot appear as a child of saxon:call-template”


If I change it to “<saxon:with-param name…./>”  another error occurs:

“Unknown extension element”


What can I do to solve my problem ?


Best regards

Peter Röcker