Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-6591

The stylesheet htmleditor2docbook.xsl should be easier to override

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.LATER
    • None
    • None
    • None
    • 1 - Middle term
    • 2 - Normal

      • Currently we do things like (example from plugin Forms):
          <xsl:template match="/*" priority="1000">
              <article version="5.0">
                  <xsl:apply-templates
                      select="p|div|ol|ul|table|*[starts-with(name(),'h') and string-length(name())=2 and string(number(substring(name(),2,1)))!='NaN'] | form" />
              </article>
          </xsl:template>
      

      To ensure that the template will effectively be overriden, we have to put a priority on the template, which is less than ideal.

            Unassigned Unassigned
            quentin Quentin Glinel-Mortreuil (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: