Declare a template:

<xsl:template name="processMarkers">
          ...
</xsl:template>



Call a template:

<xsl:call-template name="processMarkers"/>


Brian <Mackey.Brian@gmail.com> wrote on 05/04/2011 02:15:39 PM:

> Are we not allowed to put xsl:template inside fo:root?  I am trying to and
> getting error "xsl:template is not allowed in this position in the
> stylesheet".
>  Outside fo:root it works fine, but this doesn't help me in this particular
> scenerio.
>