File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / libxml2 / result / XPath / tests / simpleabbr
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:38:02 2012 UTC (12 years, 5 months ago) by misho
Branches: libxml2, MAIN
CVS tags: v2_9_1p0, v2_9_1, v2_8_0p0, v2_8_0, v2_7_8, HEAD
libxml2

    1: 
    2: ========================
    3: Expression: /EXAMPLE
    4: Object is a Node Set :
    5: Set contains 1 nodes:
    6: 1  ELEMENT EXAMPLE
    7:     ATTRIBUTE prop1
    8:       TEXT
    9:         content=gnome is great
   10:     ATTRIBUTE prop2
   11:       TEXT
   12:         content=& linux too
   13: 
   14: ========================
   15: Expression: /EXAMPLE/head
   16: Object is a Node Set :
   17: Set contains 1 nodes:
   18: 1  ELEMENT head
   19: 
   20: ========================
   21: Expression: /EXAMPLE/chapter[1]
   22: Object is a Node Set :
   23: Set contains 1 nodes:
   24: 1  ELEMENT chapter
   25: 
   26: ========================
   27: Expression: //p
   28: Object is a Node Set :
   29: Set contains 2 nodes:
   30: 1  ELEMENT p
   31: 2  ELEMENT p
   32: 
   33: ========================
   34: Expression: //chapter/image
   35: Object is a Node Set :
   36: Set contains 1 nodes:
   37: 1  ELEMENT image
   38:     ATTRIBUTE href
   39:       TEXT
   40:         content=linus.gif
   41: 
   42: ========================
   43: Expression: //p/text()
   44: Object is a Node Set :
   45: Set contains 2 nodes:
   46: 1  TEXT
   47:     content=bla bla bla ...
   48: 2  TEXT
   49:     content=...
   50: 
   51: ========================
   52: Expression: //p/text()[position()=1]
   53: Object is a Node Set :
   54: Set contains 2 nodes:
   55: 1  TEXT
   56:     content=bla bla bla ...
   57: 2  TEXT
   58:     content=...
   59: 
   60: ========================
   61: Expression: //p/text()[position()=last()]
   62: Object is a Node Set :
   63: Set contains 2 nodes:
   64: 1  TEXT
   65:     content=bla bla bla ...
   66: 2  TEXT
   67:     content=...
   68: 
   69: ========================
   70: Expression: (//p/text())[position()=1]
   71: Object is a Node Set :
   72: Set contains 1 nodes:
   73: 1  TEXT
   74:     content=bla bla bla ...
   75: 
   76: ========================
   77: Expression: (//p/text())[position()=last()]
   78: Object is a Node Set :
   79: Set contains 1 nodes:
   80: 1  TEXT
   81:     content=...

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>