+ /* testing XMLREADER input with ELEMENT stylesheet and skipped records */
+ zh = index_some(zs, "dom.dom-config-skipped.xml", "marc-col.xml");
+ YAZ_CHECK(tl_query(zh, "@attr 1=title computer", 1));
+ YAZ_CHECK(tl_query(zh, "@attr 1=control 11224466", 0));
+ YAZ_CHECK(tl_query(zh, "@attr 1=control 11224467", 1));
+ YAZ_CHECK(tl_query(zh, "@attr 1=control 73090924", 0));
+
+ /* testing XMLREADER input with type attributes (insert,delete,..) */
+ zh = index_some(zs, "dom.dom-config-del.xml", "del-col.xml");
+ YAZ_CHECK(tl_query(zh, "@attr 1=title a", 1));
+ YAZ_CHECK(tl_query(zh, "@attr 1=title 1", 0));
+ YAZ_CHECK(tl_query(zh, "@attr 1=title 2", 0));
+ YAZ_CHECK(tl_query(zh, "@attr 1=title 3", 1));
+ YAZ_CHECK(tl_query(zh, "@attr 1=title b", 1));
+
+ zebra_close(zh);
+
+