ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

equals references xml

Solved!
Go to solution

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

 


0 Kudos
Message 1 of 2
(2,892 Views)
Solution
Accepted by topic author Mac671

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.

 

 


0 Kudos
Message 2 of 2
(2,877 Views)