I looked at the mod you posted
@Zervox :
This looks like adding new xml assets or overwriting specific assets. I don't see XPath used in these samples. My ask was about using XPath syntax to make programatic changes as a patch/diff.
Could you clarify how this can be used to make programmatic changes? Lets say I want to only change the multiplayer/singleplayer setting on items, with XPath you could overwrite just that specific attribute on xmlnodes with the attribute, instead of overwriting the full xml node. From what I can gather from the mod you posted, overwriting full nodes is supported, but not overwriting single attributes.
Does that make sense?
Also, thanks for the doc link - it solves about half of the collision issues, but would still bar mods that change the same xml nodes (as far as I understand).
EDIT: From the mod text:
We might need to make a custom XmlSerializer/Deserializer when the full dev kit come out so that xml will add modification to a specific item instead of overriding every single property of that item.
So I take it XPath/serialization was not part of the roadmap for xml modifications? (or not currently understood?)