Alexios Giotis <alex.giotis <at> gmail.com> writes:

> 
> Hi Simone,
> 
> What you are writing below is not XSLT, it is XSL:FO. One usage of XSLT is 
to create an XSL:FO based on the XML
> data that you have. And this should be exactly what you need. The links 
written by Peter are a good starting
> point. 
> 
> Alexios Giotis
> 
> On Mar 22, 2012, at 1:17 PM, Simone wrote:
> 
> > Hi, Peter. Thanks for your reply.
> > I am already applyng an XSLT transformation using FOP and its Tag Logical 
> > Element (TLE) Extension.
> > As in http://xmlgraphics.apache.org/fop/1.0/output.html#afp-tag-logical-
> > element, I declared the appropriate namespace in the fo:root element like 
this:
> > 
> >      <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";
> >               xmlns:afp="http://xmlgraphics.apache.org/fop/extensions/afp";>
> > 
> > then set in XSLT something like
> > 
> > <fo:page-sequence master-reference="simple">
> >        <afp:tag-logical-element name="foo" value="bar"/>
> >        <fo:flow flow-name="xsl-region-body">
> > 
> > and it works.
> > 
> > The problem is that I have to create dynamic TLE values based on XML data 
and 
> > was looking for a suggestion to accomplish this since anything I tried did 
not 
> > work.
> 


It is exacly what I am doing.
I use Altova StyleVision to create an XSLT-FO.
When I have the XSLT-FO, I add the appropriate namespace to use FOP/AFP/TLE 
extension.
In FOP, then, I pass XML and XSLT-FO to print directly, create a PDF, a FO or 
(in this case) an AFP.
I still thank you and Peter for links posted but I can't still find the way to 
set in XSLT-FO the code tho have TLE values based on XML data. I am stuck at 
this point.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to