How can I read this xml if the header has an attribute

@Juan_Esteban_Valencia
the xml is defining is a namespace that is to handle for the retrieval

have a look here:

with yourXDocVar.Root.Name the combination of Namespace and Localname can be checked

it looks in your case that

YourXDocVar.Root.Element(yourNameSpaceVar+“Emisor”).Element(yourNameSpaceVar+“Nombre”).Value.toString could work and should return Zhili…

Let us know your feedback

1 Like