Project

General

Profile

Actions

Feature #3950

closed

PiXTL processor <tee>

Added by Reynaud Sylvain over 12 years ago. Updated about 12 years ago.

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

0%

Estimated time:

Description

Shorcut version (processed by XSL):

    <view name="example">
        <connector type=""/>
        <processors>
            <tee file="/tmp/first_service.xml">
                <merge nodes="/root"/>
                <remove nodes="/root/service"/>
                <replace nodes="/root">
                    <node name="service"/>
                </replace>
            </tee>
            <processor type=""/>
        </processors>
    </view>

Full version (processed by engine):

    <processors name="example_A">
        <merge nodes="/root"/>
        <remove nodes="/root/service"/>
        <replace nodes="/root">
            <node name="service"/>
        </replace>
        <processor type="XmlDumpProcessor">
            <parameter name="file">/tmp/first_service.xml</parameter>
        </processor>
    </processors>
    <view name="example">
        <connector type=""/>
        <processors>
            <processor type="TeeProcessor">
                <parameter name="processors">example_A</parameter>
            </processor>
            <processor type=""/>
        </processors>
    </view>

Actions #1

Updated by Reynaud Sylvain about 12 years ago

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

Rejected because not needed. Indeed, the example could also be written this way:

    <view name="example_A">
        <connector type="FileConnector">
            <parameter name="path">/tmp/first_service.xml</parameter>
        </connector>
        <processors>
            <merge nodes="/root"/>
            <remove nodes="/root/service"/>
            <replace nodes="/root">
                <node name="service"/>
            </replace>
        </processors>
    </view>
    <view name="example">
        <connector type=""/>
        <processors>
            <processor type="XmlDumpProcessor">
                <parameter name="file">/tmp/first_service.xml</parameter>
            </processor>
            <processor type=""/>
        </processors>
    </view>

Actions

Also available in: Atom PDF