flagging_fop.xsl 908 B

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