Hi Scott,
    you can generate your own namespace with a field that tells you if that block is containing a data, then when FOP will process the document it will ignore this property .. giving you some Warnings, but the file will be rendered fine.
So you can define a new namespace like:

xmlns:foo=http://foo"

then you can define this attributes in your blocks that contains the data

<fo:block foo:data="yes">

and modify only them.

Hope this helps, Fabio

-----Original Message-----
From: Scott Moore [mailto:[EMAIL PROTECTED]]
Sent: 23 October 2001 16:12
To: Fop-Dev (E-mail)
Subject: XSl-FO question

This question isn't really about FOP, but FO.  I'm writing a reporting system that will transform XML using XSLT into XSL-FO, then use FOP->PDF.  I need to save the XSL-FO files for later "concatenation" with other generated reports.
 
During the concatenation process, I need to find all the dates throughout the different reports and update them to the current date.  Is there an easy way to mark a <fo:block> as containing a date string?
 
I tried using the id="date" attribute, but you can't use that multiple times per document.  But I need something similiar to distinguish parts of the document that are related.
 
Thanks for any help!
Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


Reply via email to