Lee, Insoo wrote:
I just wanted to be a bit more clear:

here is my xml input

<?xml version="1.0"?>
...
        <disclaimer>
                <fo:block font-weight="bold">
                        This is dynamically generated
                </fo:block>

                <fo:block>
                        This is dynamically generated
                </fo:block>
        </disclaimer>
...
</xml>

how can we have those fo tags have actual effects when we feed this xml to
transfomer?
rather than print out actual <fo:....  ?

If the XML was actually a source *file* and processed as such, there are no special things to do. However, as I alreay wrote, I suspect you get this as *text*, rather than *element nodes* into the transformation input, via whatever means you choose not to mention here. You can verify this by dumping the transformation output to a file instead of feeding it to FOP, unless you use disable-output-escaping in the transformation you'll probably see &lt;fo:block font-weight="bold"&gt; or something similar instead of <fo:block font-weight="bold"> in the file.

Advice: read a good book about XML in order to understand the difference
between an XML file and XML APIs, or post a more comprehensive description
of your approach to dynamical source generation (including the relevant
Java code).

J.Pietschmann


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



Reply via email to