Get Data From XML file

I have a xml file like this:


My workflow:

When i call:
xmlDoc.Element(“HSoKhaiThue”).Element(“TTinChung”).Element(“TTinDVu”).Element(“maDVu”).Value
Log Message: Object reference not set to an instance of an object.
Help me !!!

Hi,

You need to handle XML namespace.
Can you share your xml as a file?

Regards,

1 Like

Hi,
BCTC 2019.xml (38.3 KB)
here is it.

Hi,

Hope the following sample helps you.

Sample20201225-2.zip (9.2 KB)

Regards,

2 Likes

Thank you so much, I got this

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.