10-30-2012 05:38 AM
Hi,
So here is my problem:
I want to go though an XML sequence file like this:
<?xml version="1.0" encoding="utf-8"> <content>
<sequence> <task type="first"/> <task type="second"/> <task type="third"/> <task type="first"/> <task type="fifth"/> <task type="seventh"/> </sequence>
</content>
I want to be able to detect if I'm currently processing the first or last node to send some notification to my GUI.
This is what I read about the equals method, I was hoping that it would call an equals method ( like in Java or .NET ) to compare 2 references of the object are actually the same object.
No I know I'm using XML references ( based on the Xerces parser .. so they're different )
http://zone.ni.com/reference/en-XX/help/371361J-01/glang/equal/
I wanted to compare references but I can't anyone has ideas how to help me out ? I would be appreciated.
Thanks,
Maciej
Solved! Go to Solution.
10-30-2012 08:08 AM
What I ended up doing is I use the index + content of the XML node as I for loop over my tasks to deremine where I am in my sequence.