[
https://issues.apache.org/jira/browse/COCOON-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545097
]
Ellis Pritchard commented on COCOON-2149:
-----------------------------------------
I'll do an equivalent patch for Cocoon 2.2 soon...
> Patch to IncludeTransformer to add root-element stripping (cf
> CIncludeTransformer)
> ----------------------------------------------------------------------------------
>
> Key: COCOON-2149
> URL: https://issues.apache.org/jira/browse/COCOON-2149
> Project: Cocoon
> Issue Type: Improvement
> Components: * Cocoon Core
> Affects Versions: 2.1.11-dev (Current SVN)
> Reporter: Ellis Pritchard
> Priority: Minor
> Fix For: 2.1.11-dev (Current SVN)
>
> Attachments: IncludeTransformer.java.patch
>
>
> 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"/>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.