I am encountering xml processing instructions in textual content. Example:
para text con?Pub Caret?tent here /para
The resulting pdf from using FOP is text con followed by content from the
next element. The remainder of the text content following the processing
instruction tent here is left
So, are you generating PDF from XML and XSL, or from FO?
For instance, as an example, if I want PDF to show XML content, and I
start from XML and XSL then I put this in the XML file:
example
![CDATA[
?xml version=1.0 encoding=UTF-8?
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
From xml and xsl.
Xml simple example:
?xml version=1.0 encoding=UTF-8?
example
para text con?Pub Caret?tent here /para
/example
Xsl from parent template:
fo:block font-size=10pt text-align=left padding-before=1mm
margin-left=1mm margin-right=1mm padding-after=1mm font-weight=bold
Pascal Sancho pascal.sancho at takoma.fr writes:
Thanks Pascal. Great suggestion.
The snippet I included earlier was formatted for better read. In real FO there
is no LF. I use empty blocks to put line breaks. I am still struggling to
understand how the IS there any better way to put a line