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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.11, 2.2
    • Fix Version/s: 2.1.12, 2.2
    • Component/s: * Cocoon Core
    • Labels:
      None
    • Other Info:
      Patch available
    • Affects version (Component):
      Cocoon Core - 2.2.0-RC2
    • Fix version (Component):
      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

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

              Dates

              • Created:
                Updated:
                Resolved: