Project

General

Custom queries

Profile

Actions

Bug #3958

closed

move attribute from parent to child not possible with move pixtl processor

Added by Lequeux Olivier over 12 years ago. Updated over 12 years ago.

Status:
Rejected
Priority:
Low
Assigned To:
Category:
-
Target version:
-
Start date:
02/13/2013
Due date:
% Done:

0%

Estimated time:

Description

input :

<service hostname="foo">
  <child/>
</service>

action:

move hostname in child as attribute

err:

fr.in2p3.lavoisier.interfaces.error.ConfigurationException: fr.in2p3.lavoisier.interfaces.error.ConfigurationException: XPath with descendants not supported, please chain several 'Move' processors instead

workaround :

use insert instead
Actions #1

Updated by Reynaud Sylvain over 12 years ago

  • Status changed from New to Rejected
  • Assigned To set to Reynaud Sylvain

it is possible (although not intuitive...) :

<move nodes="//service/@hostname">
    <destination following="self::child" as="attribute"/>
</move>

Actions

Also available in: Atom PDF