Hello everyone! How can I read this xml if the header has an attribute
I have installed only with Electronic Invoice, placing all the text of the label, but it does not work.
What I can do?
I need to extract the name of the issuer
Hello everyone! How can I read this xml if the header has an attribute
I have installed only with Electronic Invoice, placing all the text of the label, but it does not work.
@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
Excellent !! thank you
One last question, how can I get the type of identification?
Elementname is Tipo, right? You had used Type as Localname in your sample
This is how i’m doing it
xmlXML.Root.Element(XNameS+ “Emisor”).Element(XNameS +“Identificacion”).Element( XNameS+“Tipo”).Value
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.