OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Attribute set override.



I have a situation where I have an attribute-set in my fo custom layer.
 
<xsl:attribute-set name="section.level1.properties">
  <xsl:attribute name="break-before">page</xsl:attribute>
</xsl:attribute-set>
 
Now the situation is a need to override this behavior in certain instances.
I have added an attribute to certain sect1 elements, role="nobrk" where I want to override this behavior.
 
My question is how do go about setting up the stylesheets to skip or ignore the break-before attribute for the certain elements designated as nobrk.
 
I am guessing something like :
 
<xsl:template match="sect1[@role='nobrk']">
  <fo:block xsl:use-attribute-sets="section.level1.properties">
       ...
 
but am stumped as to how to get it to ignore the break-before override?
Any suggestions would be most welcome!
Thanks!
/Gregorio


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]