DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion Use outputclass attribute to determine when to make a page break

  • mtbowers

    Use outputclass attribute to determine when to make a page break

    Participants 0
    Replies 1
    Last Activity 11 years, 6 months ago

    Is this possible?

    I would like to use the outputclass attribute to determine which topics should have a page break before them. I put this code in my commons-attr.xsl file:

    [code]
      page
    [/code]

    Then, I have this other piece of code that I'm trying to insert into the commons.xsl file:

    [code]
     
     

    [/code]

    The problem is, every topic now has a page break before it. What am I doing wrong? Am using XMetal 6.0. Thanks!

    Reply

    gcrews

    Reply to: Use outputclass attribute to determine when to make a page break

    You might check your source content (map and topic) for any stray “pageBreak” attributes.

    Also it may be related to this issue:
    http://forums.xmetal.com/index.php/topic,714.0.html
    Did it do it before you added your code?

    Also, what element are you marking as outputclass=”pagebreak“? Are you using a meta data element or something? The /* in the middle of your xpath will match any element anywhere in a topic that is set to pagebreak. Wouldn’t you only watch to match and use the topic element?

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support