DITA and XMetaL Discussion
mtbowers September 5, 2011 at 1:42 pm
Use outputclass attribute to determine when to make a page breakSeptember 5, 2011 at 1:42 pmParticipants 0Replies 1Last Activity 11 years, 3 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:
Then, I have this other piece of code that I'm trying to insert into the commons.xsl file:
The problem is, every topic now has a page break before it. What am I doing wrong? Am using XMetal 6.0. Thanks!gcrews September 5, 2011 at 4:27 pm
Reply to: Use outputclass attribute to determine when to make a page breakSeptember 5, 2011 at 4:27 pm
You might check your source content (map and topic) for any stray “pageBreak” attributes.
Also it may be related to this issue:
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?
- You must be logged in to reply to this topic.