Issue with replacing value of XML element attribute

Thank you, @Rahul_Unnikrishnan.
By reading the last thread you posted I understood that you do not need to specify the schemeID within the namespace. Only refering to EndpointID is sufficient.

For anyone that may experience this issue the solution is to exclude the scheme ID within the element name:

DeserializedXML.Element(NsCatalogue+"Catalogue").Element(NsCac+"ContractorCustomerParty").Element(NsCac+"Party").Element(NsCbc+"EndpointID").Value
1 Like