I also find setElement a little confusing, perhaps it reveals the inner workings more than necessary but not sure what would be a good name, pointTo?.

Also i liked the old syntax you had where you got objects for each element you wanted to modify but perhaps we can add it back later or just use it through the Poco object getters, perhaps add also getParentElement, getSiblingElement...?