XpathMutatorStream - Indexed xpath

All,

It is possible to update value of an xml attribute at a specific index  in a repeating node using the XpathMutatorStream ?

For example the indexed xpath doesnt work with XpathMutatorStream .

/*/*/*[local-name()='ABC']/*[local-name()='Source'][1]/@ID ,but without the index it works fine /*/*/*[local-name()='ABC']/*[local-name()='Source']/@ID

Any suggestions please ? Thanks.

May 15th, 2014 11:37am

It appears so, at least in some cases, according to Sam's blog: http://blog.codit.eu/post/2010/01/22/The-BizTalk-XPathMutatorStream-pros-and-cons.aspx

You could also try *[local-name()='Source' and position()=1]

Free Windows Admin Tool Kit Click here and download it now
May 15th, 2014 11:49am

Thanks , i did had a look at Sam's blog , i also tried the Position() =1 as suggested by you , doesn't work . :(
May 15th, 2014 12:29pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics