Project

General

Profile

Feature #5311

Updated by Reynaud Sylvain about 11 years ago

ReplaceProcessor: 
 * enable replacing a subtree with another subtree 

 InsertProcessor (merge with InsertXmlProcessor): 
 * enable inserting a subtree 

 New syntax: 
 <pre><code class="xml"> 
 <rename match="/*/*/@*" new-name="new"/> 
 <replace match="/*/*/@*" new-nodes="view('v')/*/@*"> 
     <connector/> 
 </replace> 
 <insert match="/*/*" new-nodes="view('v')/*/text()" 
         as="first-child|last-child|preceding-sibling|following-sibling"> 
     <connector/> 
 </insert> 
 <insert-parent match="/*/*" new-name="new"/> 
 </code></pre>

Back