On 05.12.2005 12:16:00 Andreas L Delmelle wrote:
> On Dec 5, 2005, at 11:25, Elmström Johan wrote:
> 
> > Unfortunately I'm having some problems setting up my templates, and  
> > I can't find any good examples.
> >
> > I keep getting an exception 'element xsl:template not allowed in  
> > this position', but as soon as I move it, I get an exception saying  
> > element fo: is not bound.
> 
> Errm... I fear you're somewhat missing the point, but that's OK.  
> That's why we're here :-) Although the Mulberry XSLT list is far  
> better suited for XSLT-related questions.
> 
> >
> > I'm trying to create several templates which each build a  
> > <fo:table> an put these inside a main template.
> 
> There should be at least an xsl:template that constructs the fo:root  
> (possibly including the layout-master-set). So, roughly...

...and it is a good idea to move the namespace declaration for the "fo"
prefix to the xsl:stylesheet element. Otherwise, you'll run into
namespace problems in further xsl:templates.

<snip/>


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to