Posted: Fri Sep 09, 2005 6:14 am Post subject: Namespaces & Environment
Novice
Joined: 08 Sep 2005 Posts: 12
hi
Flow - i/p node - compute1 - compute2 - o/p node
Input comes in as xmlns.
Compute1 copies inputroot to Environment.
Compute2 copies Environment to outputroot.
What comes out has the NS* series of namespaces instead of the original ones in the input.
I realise that the Environment doesnt have a parser, so it doesnt recognise xmlns.
I want my original xmlns tags.
Any help appreciated.
Use CREATE FIELD to create the root of your Environment tree with a parser attached.
Also, make sure that the outgoing message has proper namespace declarations in place. _________________ I am *not* the model of the modern major general.
Joined: 15 Jun 2005 Posts: 163 Location: Massachusetts
You could also create a Bitstream of your Input root and add it to the Environment. That way you don't have to maintain the tree structure in your Env, you could later use the CREATE FIELD PARSE to build the output root from the stream.
Of course, if you are accessing the Input message through ENV in your compute nodes, then this wont help!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum