Split message after performing a mapping

Tech-Archive recommends: Speed Up your PC by fixing your registry



I receive one message that at some point holds elements for which I want to
create one message per element that occurs (no fixed number of occurrences!!)
I also need info from the other nodes

fe XML in
<root>
<aaa>aaa</aaa>
<bbb>bbb</bbb>
<ccc>
<ddd>ddd</ddd>
<eee>eee</eee>
<fff>fff</fff>
</ccc>
<ggg>ggg</ggg>
<hhh>
<iii>iii</iii>
</hhh>
</root>

I need 3 messages like this one , one with d ,one with e , one with f
<root2>
<aaa>aaa</aaa>
<bbb>bbb</bbb>
<ccc>
<ddd>ddd</ddd>
</ccc>
<ggg>ggg</ggg>
<hhh>
<iii>iii</iii>
</hhh>
</root2>

(of course it's not that simple , i have other mappingstuff to do as well)

I can create a map that has a repeating node root2 and map everything from
root to root2 the way I want. But how can I then send 3 xml's with root2 out?

I thought about dropping that file with repeating nodes on a folder and
picking it up again so I can use the standard splitting functionality of the
xml-receive.
But that would mean I have to use the same schema as a normal document and
once as an envelope? Is that even possible?

How would you handle something like this?


Isabelle


.



Relevant Pages

  • Re: passwd behaviour inquiry
    ... they have the same UID (root). ... > I logged in as root2, run passwd, keyed in a new password, and the ... > password of root was changed, and not the one of root2. ...
    (comp.os.linux.misc)
  • Re: passwd behaviour inquiry
    ... they have the same UID (root). ... > I logged in as root2, run passwd, keyed in a new password, and the ... > password of root was changed, and not the one of root2. ...
    (comp.os.linux.security)
  • Re: passwd behaviour inquiry
    ... >> password of root was changed, and not the one of root2. ... Maybe it depends on how you login. ... If you directly login, the utmp entry can ...
    (comp.os.linux.misc)
  • Re: passwd behaviour inquiry
    ... >> password of root was changed, and not the one of root2. ... Maybe it depends on how you login. ... If you directly login, the utmp entry can ...
    (comp.os.linux.security)
  • Plusieurs Root
    ... niveau Root. ... Par exemple peut on imaginer de creer un user "Root2" qui aurait le ... droit de modifier le password de root, de faire tout ce que root peut ...
    (comp.unix.shell)