Project

General

Profile

Actions

Feature #5311

closed

improve ReplaceProcessor and InsertProcessor

Added by Reynaud Sylvain over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Low
Assigned To:
Category:
Adaptors
Target version:
Start date:
10/10/2013
Due date:
% Done:

100%

Estimated time:

Description

ReplaceProcessor:
  • enable replacing a subtree with another subtree
InsertProcessor (merge with InsertXmlProcessor):
  • enable inserting a subtree

New syntax:

<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"/>

Actions #1

Updated by Reynaud Sylvain over 10 years ago

  • Description updated (diff)
Actions #2

Updated by Reynaud Sylvain over 10 years ago

  • Status changed from New to Resolved
  • Assigned To set to Reynaud Sylvain
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF