I am using a SQL SP to "copy" the xml structure to local varchar, e.g.:
@ipBranchName varchar(200) is populated from xml tag: