Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Is there an ACL command to determine the end of an element ?
Whilst reading an XML file from top to bottom I am setting a flag when I come across a table for example:
if( oid_name(this_o) == "table" ){
in_table=1;
}
How do I turn the flag off when I get to the end of the table element?
Is there an oid command for this ?
Regards,
Andy
I'm simply using the following for loop from the top :
for( ; oid_valid( this_o )&&!dm_end; this_o = oid_forward( this_o ) ) {
if( oid_name(this_o) == "table" ){
in_table=1;
}
etc..
}