Sorry, "how to *use* XSL templates".
On 5 May 2011 09:01, mehdi houshmand <[email protected]> wrote: > I agree, it seems you may have misunderstood the purpose and/or > function of an <xsl:template> element, I think it may be worth going > through some XSLT tutorials to get a better understanding of how to > XSL templates. > > Mehdi > > On 4 May 2011 20:16, J.Pietschmann <[email protected]> wrote: >> On 04.05.2011 20:15, Brian wrote: >>> >>> Are we not allowed to put xsl:template inside fo:root? >> >> No. According to the XSLT spec, xsl:template must be an immediate child >> of xsl:stylesheet, see >> http://www.w3.org/TR/2007/REC-xslt20-20070123/#element-stylesheet and other >> parts of the spec. >> >>> Outside fo:root it works fine, but this doesn't help me in this >>> particular >>> scenerio. >> >> The xsl:template element is a declaration, so your statement makes me >> think you are seriously confused about how XSLT works. The best way to >> clean this up is usually to send a problem description to the XSL list, >> where the gurus tend to hang out. Guidelines and subscription advice >> here: >> http://www.mulberrytech.com/xsl/xsl-list/ >> >> J.Pietschmann >> >
