- atval = (const char *) xmlGetProp((xmlNodePtr) ptr,
- BAD_CAST "exclusion");
- if (atval)
- pop->exclusion = boolVal(odr, atval);
- else
- pop->exclusion = 0;
-
- atval = (const char *) xmlGetProp((xmlNodePtr) ptr,
- BAD_CAST "distance");
- if (atval)
- pop->distance = intVal(odr, atval);
- else
- pop->distance = odr_intdup(odr, 1);
-
- atval = (const char *) xmlGetProp((xmlNodePtr) ptr,
- BAD_CAST "ordered");
- if (atval)
- pop->ordered = boolVal(odr, atval);
- else
- pop->ordered = odr_booldup(odr, 1);
-
- atval = (const char *) xmlGetProp((xmlNodePtr) ptr,
- BAD_CAST "relationType");
- if (atval)
- pop->relationType = intVal(odr, atval);
- else
- pop->relationType =
- odr_intdup(odr, Z_ProximityOperator_Prox_lessThanOrEqual);
-
- atval = (const char *) xmlGetProp((xmlNodePtr) ptr,
- BAD_CAST "knownProximityUnit");
- if (atval)
- {
- pop->which = Z_ProximityOperator_known;
- pop->u.known = intVal(odr, atval);
- }
- else
- {
- pop->which = Z_ProximityOperator_known;
- pop->u.known = odr_intdup(odr, Z_ProxUnit_word);
- }
-
- atval = (const char *) xmlGetProp((xmlNodePtr) ptr,
- BAD_CAST "privateProximityUnit");
- if (atval)