Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. 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..
}