Newbie - Dynamic data in .fo file

2002-05-28 Thread Vikram Goyal01
Hi all, I need to pick data for my .fo file from another xml. How do I do this? Do I need to transform it again? I have searched the mailing list but cant seem to find the answer (maybe using wrong keywords, dynamic data ??). BTW, Why is there no fop user mailing list at mail-archive? Its

Re: Newbie - Dynamic data in .fo file

2002-05-28 Thread Denis Thierry
Hi, Did you try something like document('urltoyourxmlfile') in your fo file? This should insert your xml doc into your fo file ... - Original Message - From: Vikram Goyal01 To: [EMAIL PROTECTED] Sent: Tuesday, May 28, 2002 10:21 AM Subject: Newbie - Dynamic data

Re: Newbie - Dynamic data in .fo file

2002-05-28 Thread Jeremias Maerki
You can improve the use of the document() function if you do something like that: document('urltoyourxmlfile')/mystuff/entry[position() = 3]/text which basically means that you can append an XPath statement to further restrict the content to be included. I use this to include language dependant

Re: Newbie - Dynamic data in .fo file

2002-05-28 Thread J.Pietschmann
Jeremias Maerki wrote: document('urltoyourxmlfile')/mystuff/entry[position() = 3]/text ... If you wrap the result using node-set() function (See Xalan documentation) you can even apply templates from your stylesheet to it. No need for doing this: xsl:apply-templates