Skip to main content
Known Participant
May 7, 2014
Answered

FM - Processing Instructions

  • May 7, 2014
  • 1 reply
  • 380 views

Hi,

Are there any document to understand what are PI values that FM can understand. For example, if my XML has a PI like <?FM pagebreak?> will FM apply forced page break? This is something possible in 3B2.

<xml>

<para>some text</para>

<?FM pagebreak?>

<para>some text</para>

</xml>

When I import the XML in FM, I want the second <para> to appear in the next page. My question is about what are the PI values that FM can recognise? Thanks in advance.

This topic has been closed for replies.
Correct answer ScottPrentice

Hi Sarankup...

I'm not aware of a list of the allowable PIs that FM will understand .. someone else might have that info.

However, there is no "pagebreak" PI of any kind that is understood by default FM (that I'm aware of). This is something that could be added with some custom development, but isn't available by default. You can set up your EDD to apply a "top of page" (or similar) properties to elements based on their context or attribute values. I suppose that in theory you could set up an import XSLT to change a pagebreak PI into a special element and then have that element definition set a page break .. never tried it but might work.

If you're working with DITA, the DITA-FMx plugin does honor a pagebreak PI .. so it can be done.

Cheers,

…scott

Scott Prentice

Leximation, Inc.

www.leximation.com

1 reply

ScottPrentice
ScottPrenticeCorrect answer
Inspiring
May 7, 2014

Hi Sarankup...

I'm not aware of a list of the allowable PIs that FM will understand .. someone else might have that info.

However, there is no "pagebreak" PI of any kind that is understood by default FM (that I'm aware of). This is something that could be added with some custom development, but isn't available by default. You can set up your EDD to apply a "top of page" (or similar) properties to elements based on their context or attribute values. I suppose that in theory you could set up an import XSLT to change a pagebreak PI into a special element and then have that element definition set a page break .. never tried it but might work.

If you're working with DITA, the DITA-FMx plugin does honor a pagebreak PI .. so it can be done.

Cheers,

…scott

Scott Prentice

Leximation, Inc.

www.leximation.com

SarankupAuthor
Known Participant
May 13, 2014

Hi Scott,

Thank you so much for your detailed responses. I completely understood your point and it is possible.