formatting
This commit is contained in:
parent
15cb2385d4
commit
43b89af7f4
1 changed files with 8 additions and 8 deletions
|
|
@ -189,18 +189,18 @@ array_eval(cxobj *xprev,
|
||||||
if (xnext &&
|
if (xnext &&
|
||||||
xml_type(xnext)==CX_ELMNT &&
|
xml_type(xnext)==CX_ELMNT &&
|
||||||
strcmp(xml_name(x),xml_name(xnext))==0){
|
strcmp(xml_name(x),xml_name(xnext))==0){
|
||||||
ns2 = xml_find_type_value(xnext, NULL, "xmlns", CX_ATTR);
|
ns2 = xml_find_type_value(xnext, NULL, "xmlns", CX_ATTR);
|
||||||
if ((!nsx && !ns2)
|
if ((!nsx && !ns2)
|
||||||
|| (nsx && ns2 && strcmp(nsx,ns2)==0))
|
|| (nsx && ns2 && strcmp(nsx,ns2)==0))
|
||||||
eqnext++;
|
eqnext++;
|
||||||
}
|
}
|
||||||
if (xprev &&
|
if (xprev &&
|
||||||
xml_type(xprev)==CX_ELMNT &&
|
xml_type(xprev)==CX_ELMNT &&
|
||||||
strcmp(xml_name(x),xml_name(xprev))==0){
|
strcmp(xml_name(x),xml_name(xprev))==0){
|
||||||
ns2 = xml_find_type_value(xprev, NULL, "xmlns", CX_ATTR);
|
ns2 = xml_find_type_value(xprev, NULL, "xmlns", CX_ATTR);
|
||||||
if ((!nsx && !ns2)
|
if ((!nsx && !ns2)
|
||||||
|| (nsx && ns2 && strcmp(nsx,ns2)==0))
|
|| (nsx && ns2 && strcmp(nsx,ns2)==0))
|
||||||
eqprev++;
|
eqprev++;
|
||||||
}
|
}
|
||||||
if (eqprev && eqnext)
|
if (eqprev && eqnext)
|
||||||
array = MIDDLE_ARRAY;
|
array = MIDDLE_ARRAY;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue