[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Finding a position in a FO file based on FOP's "see position"message
That refers to the line number:character postion. Trying to make sense of the FO output is a nightmare unless you reformat the FO before running it into FOP.
The way I do it is to use XMLLINT to reformat. Here is how I set up the call:
xmllint --nonet --noent --nowarning --version --timing --format -o myfile.xml myfile.fo.xml Then process the myfile.fo.xml with FOP and get a new line:character set and look that up in myfile.fo.xml
This should get you the info you need.
(of course, this is integrated into my scripts/batch files so all I need to do is "-f" and get the reformatted output.)
Regards,
Dean Nelson
In a message dated 12/21/10 13:59:28 Pacific Standard Time, peter.desjardins.us@gmail.com writes:
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]