Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1.11, 2.2
-
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"/>
Example:
<i:include xmlns:i="http://apache.org/cocoon/include/1.0"
src="cocoon://path/to/include" strip-root="true"/>