I have been trying for 2 days now to get this working and running into the same issue over and over.

I am trying to create a NEW node (or update existing) based on the "access attribute" under the currency element.

I have tried:

//currency/@access

with

//currency[@access="$title"]/price[@access="palladium"]

and many other combinations but I either get only one node created or the error
Could not retrieve title from feed.

What I need is it to Create/Update nodes: AUD and BRL with prices in the appropriate fields (which works when only 1 node created)

Please help!

</code><prices>
<currency access="aud">
<price access="gold">49.660678433616</price>
<price access="palladium">26.72148332034</price>
<price access="platinum">54.795043123019</price>
<price access="silver">0.84220911814857</price>
</currency>
<currency access="brl">
<price access="gold">106.47852058397</price>
<price access="palladium">57.294102728829</price>
<price access="platinum">117.48722150208</price>
<price access="silver">1.8057985462817</price>
</currency>
</price>