Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-2149

Patch to IncludeTransformer to add root-element stripping (cf CIncludeTransformer)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.11, 2.2
    • 2.1.12, 2.2
    • * Cocoon Core
    • None
    • Patch available
    • Cocoon Core - 2.2.0-RC2
    • Cocoon Core - 2.2.0-RC3-dev

    Description

      The CIncludeTransformer offers the useful ability to strip the root element of included content; this patch adds this functionality to the IncludeTransformer.

      Example:

       <i:include xmlns:i="http://apache.org/cocoon/include/1.0"
                     src="cocoon://path/to/include" strip-root="true"/>

      Attachments

        1. IncludeTransformer.java.patch
          3 kB
          Ellis Pritchard
        2. IncludeTransformer.java.2.2.patch
          3 kB
          Ellis Pritchard

        Activity

          People

            joerg.heinicke@gmx.de Jörg Heinicke
            ellispritchard Ellis Pritchard
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: