Project

Profile

Help

Revision 0e42f323

Added by O'Neil Delpratt almost 6 years ago

Saxon/C updates

View differences:

latest9.6/hec/samples/cTests/testXPath.c
38 38
    setProperty(&properties, &propLen, &propCap, "s", "cat.xml");
39 39
    
40 40

  
41
    sxnc_value * result = evaluate(*environ,&processor, "/home/ond1/work/svn/Saxon.C.Api/cTests/", "/out/person", 0, properties, 0, propLen);
41
    sxnc_value * result = evaluate(*environ,&processor, NULL, "/out/person", 0, properties, 0, propLen);
42 42

  
43
 bool resultBool = effectiveBooleanValue(*environ,&processor, "/home/ond1/work/svn/Saxon.C.Api/cTests/", "count(/out/person)>0", 0, properties, 0, propLen);
43
 bool resultBool = effectiveBooleanValue(*environ,&processor, NULL, "count(/out/person)>0", 0, properties, 0, propLen);
44 44
 
45 45
    if(!result) {
46 46
      printf("result is null");

Also available in: Unified diff