Skip to main content
Question

XML navigation


Forum|alt.badge.img

Hello everyone!

I have a question about XML navigation, hope you can help!

That’s basically the XML I have:

 

For every XML doc I have the infNFe and from 1 to 999 “det” nodes and inside each det nItem node, I have the other nodes.

The question here is how I can navigate from det node to det node if their name is the same and what differences them is the “nItem” attribute.

For the first “det” node I can already reach the inside nodes with:

NFe/infNFe/det/prod/NCM

But I don’t know how I can navigate throught them and get the NCM node from every “det” node.

 

I hope I could make myself clear on my question.

Thank you!

 

0 replies

Be the first to reply!

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings