7.1.2 Saving by UUID and Path

When an item is saved (either through Item.save or Session.save) the item in persistent storage to which pending changes are written is determined using the same principles as those that govern correspondence of nodes between workspaces (see 4.10.2 Multiple Workspaces and Corresponding Nodes). The difference in this case is that the correspondence is not between two workspaces but between the transient storage of the session and the persistent storage of its associated workspace. In the context of saving a node, those principles amount to the following: