You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "J.Pietschmann" <j3...@yahoo.de> on 2003/09/03 22:05:00 UTC
Re: reading fo tags from database and using within xsl dynamicall
y
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
<fo:block font-weight="bold">
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: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org