flagging_fop.xsl 933 B

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. This file is part of the DITA Open Toolkit project.
  4. Copyright 2013 IBM Corporation
  5. See the accompanying LICENSE file for applicable license.
  6. -->
  7. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  8. xmlns:fo="http://www.w3.org/1999/XSL/Format"
  9. xmlns:suitesol="http://suite-sol.com/namespaces/mapcounts"
  10. exclude-result-prefixes="suitesol"
  11. version="2.0">
  12. <!-- FOP crashes if changebar elements appear in fo:block or fo:inline,
  13. which is where all are currently generated -->
  14. <xsl:template match="suitesol:changebar-start"/>
  15. <xsl:template match="suitesol:changebar-end"/>
  16. <xsl:template match="*[contains(@class,' ditaot-d/ditaval-startprop ')]/revprop" mode="changebar"/>
  17. <xsl:template match="*[contains(@class,' ditaot-d/ditaval-endprop ')]/revprop" mode="changebar"/>
  18. </xsl:stylesheet>