Calling named templates in a stylesheet

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Calling named templates in a stylesheet

mjgraham
Hi,

Is it possible to call a named template in a stylesheet from within a
oxf:xslt processor block, i.e. what is the functional equivalent to the
-it flag in Saxon?

    Cheers,

    Matthew



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Calling named templates in a stylesheet

Erik Bruchez
Administrator
Matthew,

I don't think this is directly possible. But you could import your
stylesheet into a parent stylesheet, and write something like:

<xsl:import href="..."/>
<xsl:template match="/">
   <xsl:call-template .../>
</xsl:template>

-Erik

Matthew Graham wrote:
> Hi,
>
> Is it possible to call a named template in a stylesheet from within a
> oxf:xslt processor block, i.e. what is the functional equivalent to the
> -it flag in Saxon?
>
>    Cheers,
>
>    Matthew


--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws