Re: Translet class format error

2005-12-05 Thread Johan
Yeah, I'm sorry about that one, I was still using the TraxInputHandler rather
than the TransformerImpl to transform the xsl. 
Once I switched back, there were no complaints.


Regards

/Johan


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



Re: Translet class format error

2005-12-05 Thread Jeremias Maerki

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  
> >  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.




Jeremias Maerki


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



Re: Translet class format error

2005-12-05 Thread Andreas L Delmelle

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  
 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...






http://www.w3.org/1999/XSL/Transform";  
version="1.0">
separator="." infinity="INFINITY" minus-sign="-" NaN="ogiltigt  
nummer" percent="%" per-mille="m" zero-digit="0" digit="#" pattern- 
separator=";"/>




http://www.w3.org/1999/XSL/Format";>








  
   dimension.optimum="200mm" font-size="10px">




  

  

  

  

  





  

  

  

  TEST

  


  

TEMPLATE

  

 
  




HTH!

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