Annotation of gpl/axl/doc/ns_shaper.xml, revision 1.1

1.1     ! misho       1: <?xml version='1.0' ?>
        !             2: <document xmlns:foo="http://www.aspl.es/schemas/shaper"
        !             3:          xmlns:shaper="http://another/shaper">
        !             4:    <!-- invoke to get customer associated data -->
        !             5:    <shaper:xml-rpc-invoke service="af_gestor_mecaes::customer::reference (customer_id)" register="cliente" />
        !             6:    <shaper:cached use="cliente.name" as="nombre"/>
        !             7:    <!-- get the surname 1 -->
        !             8:    <shaper:cached use="cliente.surname1" as="apellido1"/>
        !             9:    <!-- get the surname 2 -->
        !            10:    <shaper:cached use="cliente.surname2" as="apellido2"/>
        !            11: 
        !            12:    <!-- get the hole name -->
        !            13:    <shaper:cached use="cliente" as="cliente"/>
        !            14: 
        !            15:    <!-- get the invoice data associated -->
        !            16:    <shaper:xml-rpc-invoke service="af_gestor_mecaes::customer::list (0, 0)" register="customer-list" />
        !            17:    
        !            18:    <!-- do a foreach iteration -->
        !            19:    <shaper:foreach use="customer-list" register="customer" as="_plain">
        !            20:       <!-- use the hole array information -->
        !            21:       <customer>
        !            22:         <shaper:cached use="customer.id" as="id" />
        !            23:         <shaper:cached use="customer.name" as="name" />
        !            24:       </customer>
        !            25:       <!-- terminate foreach instruction -->
        !            26:    </shaper:foreach>
        !            27: </document>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>