I need to identify the quantity of items in an NFe by the xml
We would recommend to check first if XML Namespaces are to handle:
XML Extraction - Handling Namespaces (Tableau, Soap, OASIS types) - Help / Community - UiPath Community Forum
Maybe you can share the XML as textfile with us
Yes XML Namespaces are to handle in general
Coming Back to your requirements:
we assume a count
we assume the det elements
Deserialize XML - output: xDoc | DataType: xDocument
Quick Approach (local name)
Approach with namespace
xnsDefault | DataType: XNamespace =
xDoc.Root.Name.Namespace
Hi @Enzo_Antonio
You can follow the above method, which @ppr mentioned.
It is a general approach that will be effective.
Regards,
Kaviyarasu N
with the descendant you already get the elements. Maybe the following will help for next steps:

However we would recommend to scope 1 Topic = 1 Case / Question.
So origin we saw the request of getting the count, which is answered so far.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.