gtksourceview3 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (399) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +15 -2
  3. data/ext/gtksourceview3/extconf.rb +7 -2
  4. data/lib/1.9/gtksourceview3.so +0 -0
  5. data/lib/2.0/gtksourceview3.so +0 -0
  6. data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
  7. data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +4 -4
  8. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +4 -0
  9. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +80 -90
  10. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +4 -0
  11. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +2 -2
  12. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +9 -0
  13. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +2 -0
  14. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +3 -0
  15. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +133 -0
  16. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchsettings.h +85 -0
  17. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +8 -4
  18. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +52 -35
  19. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +2 -6
  20. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +2 -0
  21. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceutils.h +34 -0
  22. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +6 -6
  23. data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
  24. data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
  25. data/vendor/local/lib/libgtksourceview-3.0.la +5 -5
  26. data/vendor/local/lib/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  27. data/vendor/local/lib/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  28. data/vendor/local/lib/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  29. data/vendor/local/lib/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  30. data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  31. data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  32. data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  33. data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  34. data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  35. data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  36. data/vendor/local/lib/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  37. data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  38. data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  39. data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  40. data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  41. data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  42. data/vendor/local/lib/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  43. data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  44. data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  45. data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  46. data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  47. data/vendor/local/lib/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  48. data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  49. data/vendor/local/lib/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  50. data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  51. data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  52. data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  53. data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  54. data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  55. data/vendor/local/lib/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  56. data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  57. data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +2 -2
  58. data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +9479 -0
  59. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +311 -252
  60. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +13 -16
  61. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +26 -15
  62. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +24 -22
  63. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +16 -15
  64. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +12 -15
  65. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +22 -20
  66. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +24 -16
  67. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +14 -17
  68. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +25 -21
  69. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +118 -18
  70. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +14 -17
  71. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +13 -16
  72. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +14 -17
  73. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +19 -23
  74. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +27 -18
  75. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +22 -25
  76. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +895 -0
  77. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +465 -0
  78. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +13 -16
  79. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +16 -19
  80. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +15 -15
  81. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +13 -16
  82. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +15 -18
  83. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +43 -40
  84. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +11 -14
  85. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +195 -0
  86. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +35 -0
  87. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +42 -13
  88. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +182 -13
  89. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +26 -17
  90. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +10 -10
  91. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +140 -0
  92. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +155 -105
  93. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/home.png +0 -0
  94. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +23 -12
  95. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +213 -150
  96. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +18 -10
  97. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +202 -196
  98. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left-insensitive.png +0 -0
  99. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left.png +0 -0
  100. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +11 -9
  101. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right-insensitive.png +0 -0
  102. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right.png +0 -0
  103. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +11 -11
  104. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +71 -16
  105. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up-insensitive.png +0 -0
  106. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up.png +0 -0
  107. data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +1 -0
  108. data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +6 -0
  109. data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +1 -0
  110. data/vendor/local/share/gtksourceview-3.0/language-specs/julia.lang +378 -0
  111. data/vendor/local/share/gtksourceview-3.0/language-specs/mediawiki.lang +323 -0
  112. data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1 -1
  113. data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +384 -0
  114. data/vendor/local/share/gtksourceview-3.0/language-specs/xml.lang +2 -2
  115. data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +1 -1
  116. data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +2 -1
  117. data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +1 -1
  118. data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +2 -2
  119. data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +2 -2
  120. metadata +26 -293
  121. data/README +0 -29
  122. data/vendor/local/bin/libgtksourceview-3.0-0.dll +0 -0
  123. data/vendor/local/bin/libxml2-2.dll +0 -0
  124. data/vendor/local/bin/xmlcatalog.exe +0 -0
  125. data/vendor/local/bin/xmllint.exe +0 -0
  126. data/vendor/local/include/libxml2/libxml/DOCBparser.h +0 -96
  127. data/vendor/local/include/libxml2/libxml/HTMLparser.h +0 -306
  128. data/vendor/local/include/libxml2/libxml/HTMLtree.h +0 -147
  129. data/vendor/local/include/libxml2/libxml/SAX.h +0 -173
  130. data/vendor/local/include/libxml2/libxml/SAX2.h +0 -176
  131. data/vendor/local/include/libxml2/libxml/c14n.h +0 -126
  132. data/vendor/local/include/libxml2/libxml/catalog.h +0 -182
  133. data/vendor/local/include/libxml2/libxml/chvalid.h +0 -230
  134. data/vendor/local/include/libxml2/libxml/debugXML.h +0 -217
  135. data/vendor/local/include/libxml2/libxml/dict.h +0 -80
  136. data/vendor/local/include/libxml2/libxml/encoding.h +0 -240
  137. data/vendor/local/include/libxml2/libxml/entities.h +0 -150
  138. data/vendor/local/include/libxml2/libxml/globals.h +0 -502
  139. data/vendor/local/include/libxml2/libxml/hash.h +0 -233
  140. data/vendor/local/include/libxml2/libxml/list.h +0 -137
  141. data/vendor/local/include/libxml2/libxml/nanoftp.h +0 -163
  142. data/vendor/local/include/libxml2/libxml/nanohttp.h +0 -81
  143. data/vendor/local/include/libxml2/libxml/parser.h +0 -1240
  144. data/vendor/local/include/libxml2/libxml/parserInternals.h +0 -644
  145. data/vendor/local/include/libxml2/libxml/pattern.h +0 -100
  146. data/vendor/local/include/libxml2/libxml/relaxng.h +0 -213
  147. data/vendor/local/include/libxml2/libxml/schemasInternals.h +0 -958
  148. data/vendor/local/include/libxml2/libxml/schematron.h +0 -142
  149. data/vendor/local/include/libxml2/libxml/threads.h +0 -84
  150. data/vendor/local/include/libxml2/libxml/tree.h +0 -1303
  151. data/vendor/local/include/libxml2/libxml/uri.h +0 -94
  152. data/vendor/local/include/libxml2/libxml/valid.h +0 -458
  153. data/vendor/local/include/libxml2/libxml/xinclude.h +0 -129
  154. data/vendor/local/include/libxml2/libxml/xlink.h +0 -189
  155. data/vendor/local/include/libxml2/libxml/xmlIO.h +0 -366
  156. data/vendor/local/include/libxml2/libxml/xmlautomata.h +0 -146
  157. data/vendor/local/include/libxml2/libxml/xmlerror.h +0 -944
  158. data/vendor/local/include/libxml2/libxml/xmlexports.h +0 -162
  159. data/vendor/local/include/libxml2/libxml/xmlmemory.h +0 -224
  160. data/vendor/local/include/libxml2/libxml/xmlmodule.h +0 -57
  161. data/vendor/local/include/libxml2/libxml/xmlreader.h +0 -428
  162. data/vendor/local/include/libxml2/libxml/xmlregexp.h +0 -222
  163. data/vendor/local/include/libxml2/libxml/xmlsave.h +0 -88
  164. data/vendor/local/include/libxml2/libxml/xmlschemas.h +0 -246
  165. data/vendor/local/include/libxml2/libxml/xmlschemastypes.h +0 -151
  166. data/vendor/local/include/libxml2/libxml/xmlstring.h +0 -140
  167. data/vendor/local/include/libxml2/libxml/xmlunicode.h +0 -202
  168. data/vendor/local/include/libxml2/libxml/xmlversion.h +0 -480
  169. data/vendor/local/include/libxml2/libxml/xmlwriter.h +0 -488
  170. data/vendor/local/include/libxml2/libxml/xpath.h +0 -550
  171. data/vendor/local/include/libxml2/libxml/xpathInternals.h +0 -632
  172. data/vendor/local/include/libxml2/libxml/xpointer.h +0 -114
  173. data/vendor/local/lib/libxml2.def +0 -1659
  174. data/vendor/local/lib/libxml2.dll.a +0 -0
  175. data/vendor/local/lib/libxml2.lib +0 -0
  176. data/vendor/local/lib/pkgconfig/libxml-2.0.pc +0 -13
  177. data/vendor/local/manifest/libxml2-dev_2.9.0-1_win32.mft +0 -268
  178. data/vendor/local/manifest/libxml2_2.9.0-1_win32.mft +0 -2
  179. data/vendor/local/share/aclocal/libxml.m4 +0 -188
  180. data/vendor/local/share/doc/libxml2-2.9.0/Copyright +0 -27
  181. data/vendor/local/share/doc/libxml2-2.9.0/examples/testHTML.c +0 -880
  182. data/vendor/local/share/doc/libxml2-2.9.0/examples/testSAX.c +0 -1198
  183. data/vendor/local/share/doc/libxml2-2.9.0/examples/testXPath.c +0 -229
  184. data/vendor/local/share/doc/libxml2-2.9.0/examples/xmllint.c +0 -3770
  185. data/vendor/local/share/doc/libxml2-2.9.0/html/DOM.gif +0 -0
  186. data/vendor/local/share/doc/libxml2-2.9.0/html/FAQ.html +0 -282
  187. data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-180x168.gif +0 -0
  188. data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-90x34.gif +0 -0
  189. data/vendor/local/share/doc/libxml2-2.9.0/html/encoding.html +0 -207
  190. data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xml +0 -751
  191. data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xsl +0 -174
  192. data/vendor/local/share/doc/libxml2-2.9.0/html/html/book1.html +0 -13
  193. data/vendor/local/share/doc/libxml2-2.9.0/html/html/home.png +0 -0
  194. data/vendor/local/share/doc/libxml2-2.9.0/html/html/index.html +0 -13
  195. data/vendor/local/share/doc/libxml2-2.9.0/html/html/left.png +0 -0
  196. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-DOCBparser.html +0 -51
  197. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLparser.html +0 -184
  198. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLtree.html +0 -73
  199. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX.html +0 -125
  200. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX2.html +0 -128
  201. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-c14n.html +0 -38
  202. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-catalog.html +0 -142
  203. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-chvalid.html +0 -72
  204. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-debugXML.html +0 -120
  205. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-dict.html +0 -58
  206. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-encoding.html +0 -124
  207. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-entities.html +0 -79
  208. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-globals.html +0 -152
  209. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-hash.html +0 -116
  210. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-lib.html +0 -13
  211. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-list.html +0 -120
  212. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanoftp.html +0 -94
  213. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanohttp.html +0 -65
  214. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parser.html +0 -559
  215. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parserInternals.html +0 -322
  216. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-pattern.html +0 -76
  217. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-relaxng.html +0 -162
  218. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schemasInternals.html +0 -373
  219. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schematron.html +0 -81
  220. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-threads.html +0 -72
  221. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-tree.html +0 -989
  222. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-uri.html +0 -73
  223. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-valid.html +0 -289
  224. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xinclude.html +0 -59
  225. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xlink.html +0 -82
  226. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlIO.html +0 -212
  227. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlautomata.html +0 -85
  228. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlerror.html +0 -864
  229. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlexports.html +0 -20
  230. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmemory.html +0 -107
  231. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmodule.html +0 -38
  232. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlreader.html +0 -330
  233. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlregexp.html +0 -143
  234. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlsave.html +0 -60
  235. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemas.html +0 -185
  236. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemastypes.html +0 -123
  237. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlstring.html +0 -108
  238. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlunicode.html +0 -512
  239. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlversion.html +0 -62
  240. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlwriter.html +0 -261
  241. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpath.html +0 -310
  242. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpathInternals.html +0 -394
  243. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpointer.html +0 -83
  244. data/vendor/local/share/doc/libxml2-2.9.0/html/html/right.png +0 -0
  245. data/vendor/local/share/doc/libxml2-2.9.0/html/html/up.png +0 -0
  246. data/vendor/local/share/doc/libxml2-2.9.0/html/index.html +0 -14
  247. data/vendor/local/share/doc/libxml2-2.9.0/html/io1.c +0 -166
  248. data/vendor/local/share/doc/libxml2-2.9.0/html/io1.res +0 -5
  249. data/vendor/local/share/doc/libxml2-2.9.0/html/io2.c +0 -58
  250. data/vendor/local/share/doc/libxml2-2.9.0/html/io2.res +0 -2
  251. data/vendor/local/share/doc/libxml2-2.9.0/html/libxml.gif +0 -0
  252. data/vendor/local/share/doc/libxml2-2.9.0/html/parse1.c +0 -56
  253. data/vendor/local/share/doc/libxml2-2.9.0/html/parse2.c +0 -72
  254. data/vendor/local/share/doc/libxml2-2.9.0/html/parse3.c +0 -60
  255. data/vendor/local/share/doc/libxml2-2.9.0/html/parse4.c +0 -143
  256. data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.c +0 -107
  257. data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.res +0 -14
  258. data/vendor/local/share/doc/libxml2-2.9.0/html/reader2.c +0 -122
  259. data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.c +0 -120
  260. data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.res +0 -13
  261. data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.c +0 -122
  262. data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.res +0 -3
  263. data/vendor/local/share/doc/libxml2-2.9.0/html/redhat.gif +0 -0
  264. data/vendor/local/share/doc/libxml2-2.9.0/html/smallfootonly.gif +0 -0
  265. data/vendor/local/share/doc/libxml2-2.9.0/html/structure.gif +0 -0
  266. data/vendor/local/share/doc/libxml2-2.9.0/html/test1.xml +0 -1
  267. data/vendor/local/share/doc/libxml2-2.9.0/html/test2.xml +0 -13
  268. data/vendor/local/share/doc/libxml2-2.9.0/html/test3.xml +0 -39
  269. data/vendor/local/share/doc/libxml2-2.9.0/html/testWriter.c +0 -1198
  270. data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.c +0 -94
  271. data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.res +0 -4
  272. data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.c +0 -118
  273. data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.res +0 -18
  274. data/vendor/local/share/doc/libxml2-2.9.0/html/tst.xml +0 -7
  275. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apa.html +0 -8
  276. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apb.html +0 -14
  277. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apc.html +0 -82
  278. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apd.html +0 -76
  279. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ape.html +0 -78
  280. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apf.html +0 -67
  281. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apg.html +0 -75
  282. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/aph.html +0 -76
  283. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/api.html +0 -4
  284. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s02.html +0 -14
  285. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s03.html +0 -47
  286. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s04.html +0 -54
  287. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s05.html +0 -55
  288. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s06.html +0 -35
  289. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s07.html +0 -30
  290. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s08.html +0 -38
  291. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s09.html +0 -63
  292. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/blank.png +0 -0
  293. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/1.png +0 -0
  294. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/10.png +0 -0
  295. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/2.png +0 -0
  296. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/3.png +0 -0
  297. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/4.png +0 -0
  298. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/5.png +0 -0
  299. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/6.png +0 -0
  300. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/7.png +0 -0
  301. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/8.png +0 -0
  302. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/9.png +0 -0
  303. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/caution.png +0 -0
  304. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/draft.png +0 -0
  305. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/home.png +0 -0
  306. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/important.png +0 -0
  307. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/next.png +0 -0
  308. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/note.png +0 -0
  309. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/prev.png +0 -0
  310. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/tip.png +0 -0
  311. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-blank.png +0 -0
  312. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-minus.png +0 -0
  313. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-plus.png +0 -0
  314. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/up.png +0 -0
  315. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/warning.png +0 -0
  316. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddattribute.c +0 -64
  317. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddkeyword.c +0 -75
  318. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeconvert.c +0 -73
  319. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includegetattribute.c +0 -72
  320. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includekeyword.c +0 -79
  321. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includexpath.c +0 -74
  322. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/index.html +0 -14
  323. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ix01.html +0 -1
  324. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/xmltutorial.pdf +0 -1336
  325. data/vendor/local/share/doc/libxml2-2.9.0/html/w3c.png +0 -0
  326. data/vendor/local/share/doc/libxml2-2.9.0/html/writer.xml +0 -2
  327. data/vendor/local/share/doc/libxml2-2.9.0/html/xml.html +0 -5715
  328. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.c +0 -250
  329. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.res +0 -5
  330. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.c +0 -190
  331. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.res +0 -30
  332. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRenderer.html +0 -956
  333. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRendererPixbuf.html +0 -199
  334. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRendererText.html +0 -137
  335. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/rn01.html +0 -101
  336. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/rn02.html +0 -53
  337. data/vendor/local/share/gtk-doc/html/libxml2/general.html +0 -38
  338. data/vendor/local/share/gtk-doc/html/libxml2/home.png +0 -0
  339. data/vendor/local/share/gtk-doc/html/libxml2/index.html +0 -67
  340. data/vendor/local/share/gtk-doc/html/libxml2/left.png +0 -0
  341. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-DOCBparser.html +0 -138
  342. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html +0 -373
  343. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLtree.html +0 -172
  344. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX.html +0 -243
  345. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX2.html +0 -247
  346. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-c14n.html +0 -91
  347. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-catalog.html +0 -278
  348. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-chvalid.html +0 -241
  349. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-debugXML.html +0 -225
  350. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-dict.html +0 -134
  351. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-encoding.html +0 -218
  352. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-entities.html +0 -166
  353. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-globals.html +0 -383
  354. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-hash.html +0 -214
  355. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-list.html +0 -226
  356. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanoftp.html +0 -187
  357. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanohttp.html +0 -142
  358. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parser.html +0 -766
  359. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parserInternals.html +0 -688
  360. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-pattern.html +0 -166
  361. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-relaxng.html +0 -278
  362. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html +0 -860
  363. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schematron.html +0 -166
  364. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-threads.html +0 -161
  365. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-tree.html +0 -1596
  366. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-uri.html +0 -154
  367. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-valid.html +0 -528
  368. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xinclude.html +0 -169
  369. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xlink.html +0 -160
  370. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlIO.html +0 -347
  371. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlautomata.html +0 -176
  372. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlerror.html +0 -952
  373. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlexports.html +0 -87
  374. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html +0 -186
  375. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmodule.html +0 -97
  376. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlreader.html +0 -565
  377. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html +0 -280
  378. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlsave.html +0 -133
  379. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html +0 -314
  380. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html +0 -237
  381. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +0 -217
  382. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlunicode.html +0 -887
  383. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlversion.html +0 -287
  384. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html +0 -479
  385. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpath.html +0 -532
  386. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html +0 -787
  387. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpointer.html +0 -171
  388. data/vendor/local/share/gtk-doc/html/libxml2/libxml2.devhelp +0 -3569
  389. data/vendor/local/share/gtk-doc/html/libxml2/right.png +0 -0
  390. data/vendor/local/share/gtk-doc/html/libxml2/style.css +0 -66
  391. data/vendor/local/share/gtk-doc/html/libxml2/up.png +0 -0
  392. data/vendor/local/share/gtksourceview-3.0/language-specs/check-language.sh +0 -32
  393. data/vendor/local/share/gtksourceview-3.0/styles/check-style.sh +0 -20
  394. data/vendor/local/share/man/man1/xml2-config.1 +0 -30
  395. data/vendor/local/share/man/man1/xmlcatalog.1 +0 -340
  396. data/vendor/local/share/man/man1/xmllint.1 +0 -427
  397. data/vendor/local/share/man/man3/libxml.3 +0 -71
  398. data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.log +0 -867
  399. data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.sh +0 -68
@@ -1,532 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <html>
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
5
- <title>xpath: XML Path Language implementation</title>
6
- <meta name="generator" content="Libxml2 devhelp stylesheet"/>
7
- <link rel="start" href="index.html" title="libxml2 Reference Manual"/>
8
- <link rel="up" href="general.html" title="API"/>
9
- <link rel="stylesheet" href="style.css" type="text/css"/>
10
- <link rel="chapter" href="general.html" title="API"/>
11
- </head>
12
- <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13
- <table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
14
- <tr valign="middle">
15
- <td>
16
- <a accesskey="p" href="libxml2-xmlwriter.html">
17
- <img src="left.png" width="24" height="24" border="0" alt="Prev"/>
18
- </a>
19
- </td>
20
- <td>
21
- <a accesskey="u" href="general.html">
22
- <img src="up.png" width="24" height="24" border="0" alt="Up"/>
23
- </a>
24
- </td>
25
- <td>
26
- <a accesskey="h" href="index.html">
27
- <img src="home.png" width="24" height="24" border="0" alt="Home"/>
28
- </a>
29
- </td>
30
- <td>
31
- <a accesskey="n" href="libxml2-xpathInternals.html">
32
- <img src="right.png" width="24" height="24" border="0" alt="Next"/>
33
- </a>
34
- </td>
35
- <th width="100%" align="center">libxml2 Reference Manual</th>
36
- </tr>
37
- </table>
38
- <h2>
39
- <span class="refentrytitle">xpath</span>
40
- </h2>
41
- <p>xpath - XML Path Language implementation</p>
42
- <p>API for the XML Path Language implementation XML Path Language implementation XPath is a language for addressing parts of an XML document, designed to be used by both XSLT and XPointer</p>
43
- <p>Author(s): Daniel Veillard </p>
44
- <div class="refsynopsisdiv">
45
- <h2>Synopsis</h2>
46
- <pre class="synopsis">#define <a href="#xmlXPathNodeSetGetLength">xmlXPathNodeSetGetLength</a>(ns);
47
- #define <a href="#XML_XPATH_CHECKNS">XML_XPATH_CHECKNS</a>;
48
- #define <a href="#XML_XPATH_NOVAR">XML_XPATH_NOVAR</a>;
49
- #define <a href="#xmlXPathNodeSetItem">xmlXPathNodeSetItem</a>(ns, index);
50
- #define <a href="#xmlXPathNodeSetIsEmpty">xmlXPathNodeSetIsEmpty</a>(ns);
51
- typedef enum <a href="#xmlXPathObjectType">xmlXPathObjectType</a>;
52
- typedef <a href="libxml2-xpath.html#xmlXPathVariable">xmlXPathVariable</a> * <a href="#xmlXPathVariablePtr">xmlXPathVariablePtr</a>;
53
- typedef struct _xmlXPathContext <a href="#xmlXPathContext">xmlXPathContext</a>;
54
- typedef enum <a href="#xmlXPathError">xmlXPathError</a>;
55
- typedef struct _xmlXPathFunct <a href="#xmlXPathFunct">xmlXPathFunct</a>;
56
- typedef <a href="libxml2-xpath.html#xmlXPathType">xmlXPathType</a> * <a href="#xmlXPathTypePtr">xmlXPathTypePtr</a>;
57
- typedef struct _xmlXPathType <a href="#xmlXPathType">xmlXPathType</a>;
58
- typedef <a href="libxml2-xpath.html#xmlNodeSet">xmlNodeSet</a> * <a href="#xmlNodeSetPtr">xmlNodeSetPtr</a>;
59
- typedef <a href="libxml2-xpath.html#xmlXPathFunct">xmlXPathFunct</a> * <a href="#xmlXPathFuncPtr">xmlXPathFuncPtr</a>;
60
- typedef <a href="libxml2-xpath.html#xmlXPathCompExpr">xmlXPathCompExpr</a> * <a href="#xmlXPathCompExprPtr">xmlXPathCompExprPtr</a>;
61
- typedef struct _xmlXPathObject <a href="#xmlXPathObject">xmlXPathObject</a>;
62
- typedef struct _xmlXPathCompExpr <a href="#xmlXPathCompExpr">xmlXPathCompExpr</a>;
63
- typedef <a href="libxml2-xpath.html#xmlXPathContext">xmlXPathContext</a> * <a href="#xmlXPathContextPtr">xmlXPathContextPtr</a>;
64
- typedef <a href="libxml2-xpath.html#xmlXPathParserContext">xmlXPathParserContext</a> * <a href="#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a>;
65
- typedef struct _xmlNodeSet <a href="#xmlNodeSet">xmlNodeSet</a>;
66
- typedef struct _xmlXPathVariable <a href="#xmlXPathVariable">xmlXPathVariable</a>;
67
- typedef <a href="libxml2-xpath.html#xmlXPathObject">xmlXPathObject</a> * <a href="#xmlXPathObjectPtr">xmlXPathObjectPtr</a>;
68
- typedef struct _xmlXPathAxis <a href="#xmlXPathAxis">xmlXPathAxis</a>;
69
- typedef <a href="libxml2-xpath.html#xmlXPathAxis">xmlXPathAxis</a> * <a href="#xmlXPathAxisPtr">xmlXPathAxisPtr</a>;
70
- typedef struct _xmlXPathParserContext <a href="#xmlXPathParserContext">xmlXPathParserContext</a>;
71
- int <a href="#xmlXPathCastNodeSetToBoolean">xmlXPathCastNodeSetToBoolean</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> ns);
72
- typedef <a href="libxml2-xpath.html#xmlXPathFunction">xmlXPathFunction</a> <a href="#xmlXPathFuncLookupFunc">xmlXPathFuncLookupFunc</a> (void * ctxt, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns_uri);
73
- <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlXPathCastNodeToString">xmlXPathCastNodeToString</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node);
74
- int <a href="#xmlXPathIsNaN">xmlXPathIsNaN</a> (double val);
75
- int <a href="#xmlXPathContextSetCache">xmlXPathContextSetCache</a> (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br/> int active, <br/> int value, <br/> int options);
76
- <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPathConvertString">xmlXPathConvertString</a> (<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> val);
77
- int <a href="#xmlXPathCompiledEvalToBoolean">xmlXPathCompiledEvalToBoolean</a> (<a href="libxml2-xpath.html#xmlXPathCompExprPtr">xmlXPathCompExprPtr</a> comp, <br/> <a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt);
78
- int <a href="#xmlXPathIsInf">xmlXPathIsInf</a> (double val);
79
- long <a href="#xmlXPathOrderDocElems">xmlXPathOrderDocElems</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc);
80
- <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> <a href="#xmlXPathNodeSetCreate">xmlXPathNodeSetCreate</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> val);
81
- double <a href="#xmlXPathCastBooleanToNumber">xmlXPathCastBooleanToNumber</a> (int val);
82
- double <a href="#xmlXPathCastNodeToNumber">xmlXPathCastNodeToNumber</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node);
83
- double <a href="#xmlXPathCastStringToNumber">xmlXPathCastStringToNumber</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * val);
84
- typedef <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPathAxisFunc">xmlXPathAxisFunc</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br/> <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> cur);
85
- double <a href="#xmlXPathCastToNumber">xmlXPathCastToNumber</a> (<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> val);
86
- int <a href="#xmlXPathCastStringToBoolean">xmlXPathCastStringToBoolean</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * val);
87
- <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlXPathCastNumberToString">xmlXPathCastNumberToString</a> (double val);
88
- typedef <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPathVariableLookupFunc">xmlXPathVariableLookupFunc</a> (void * ctxt, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns_uri);
89
- void <a href="#xmlXPathFreeObject">xmlXPathFreeObject</a> (<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> obj);
90
- int <a href="#xmlXPathEvalPredicate">xmlXPathEvalPredicate</a> (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br/> <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> res);
91
- void <a href="#xmlXPathFreeContext">xmlXPathFreeContext</a> (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt);
92
- <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPathObjectCopy">xmlXPathObjectCopy</a> (<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> val);
93
- void <a href="#xmlXPathFreeNodeSetList">xmlXPathFreeNodeSetList</a> (<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> obj);
94
- <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPathEval">xmlXPathEval</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br/> <a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctx);
95
- <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlXPathCastNodeSetToString">xmlXPathCastNodeSetToString</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> ns);
96
- <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPathCompiledEval">xmlXPathCompiledEval</a> (<a href="libxml2-xpath.html#xmlXPathCompExprPtr">xmlXPathCompExprPtr</a> comp, <br/> <a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctx);
97
- <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPathEvalExpression">xmlXPathEvalExpression</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br/> <a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt);
98
- void <a href="#xmlXPathInit">xmlXPathInit</a> (void);
99
- <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPathConvertBoolean">xmlXPathConvertBoolean</a> (<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> val);
100
- typedef int <a href="#xmlXPathConvertFunc">xmlXPathConvertFunc</a> (<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> obj, <br/> int type);
101
- typedef void <a href="#xmlXPathFunction">xmlXPathFunction</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br/> int nargs);
102
- int <a href="#xmlXPathCmpNodes">xmlXPathCmpNodes</a> (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node1, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node2);
103
- <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlXPathCastToString">xmlXPathCastToString</a> (<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> val);
104
- <a href="libxml2-xpath.html#xmlXPathCompExprPtr">xmlXPathCompExprPtr</a> <a href="#xmlXPathCtxtCompile">xmlXPathCtxtCompile</a> (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str);
105
- typedef void <a href="#xmlXPathEvalFunc">xmlXPathEvalFunc</a> (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br/> int nargs);
106
- <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlXPathCastBooleanToString">xmlXPathCastBooleanToString</a> (int val);
107
- int <a href="#xmlXPathCastNumberToBoolean">xmlXPathCastNumberToBoolean</a> (double val);
108
- void <a href="#xmlXPathFreeNodeSet">xmlXPathFreeNodeSet</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> obj);
109
- void <a href="#xmlXPathFreeCompExpr">xmlXPathFreeCompExpr</a> (<a href="libxml2-xpath.html#xmlXPathCompExprPtr">xmlXPathCompExprPtr</a> comp);
110
- <a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> <a href="#xmlXPathNewContext">xmlXPathNewContext</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc);
111
- <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> <a href="#xmlXPathConvertNumber">xmlXPathConvertNumber</a> (<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> val);
112
- <a href="libxml2-xpath.html#xmlXPathCompExprPtr">xmlXPathCompExprPtr</a> <a href="#xmlXPathCompile">xmlXPathCompile</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str);
113
- double <a href="#xmlXPathCastNodeSetToNumber">xmlXPathCastNodeSetToNumber</a> (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> ns);
114
- int <a href="#xmlXPathCastToBoolean">xmlXPathCastToBoolean</a> (<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> val);
115
- </pre>
116
- </div>
117
- <div class="refsect1" lang="en">
118
- <h2>Description</h2>
119
- </div>
120
- <div class="refsect1" lang="en">
121
- <h2>Details</h2>
122
- <div class="refsect2" lang="en">
123
- <div class="refsect2" lang="en"><h3><a name="XML_XPATH_CHECKNS">Macro </a>XML_XPATH_CHECKNS</h3><pre class="programlisting">#define <a href="#XML_XPATH_CHECKNS">XML_XPATH_CHECKNS</a>;
124
- </pre><p>check namespaces at compilation</p>
125
- </div>
126
- <hr/>
127
- <div class="refsect2" lang="en"><h3><a name="XML_XPATH_NOVAR">Macro </a>XML_XPATH_NOVAR</h3><pre class="programlisting">#define <a href="#XML_XPATH_NOVAR">XML_XPATH_NOVAR</a>;
128
- </pre><p>forbid variables in expression</p>
129
- </div>
130
- <hr/>
131
- <div class="refsect2" lang="en"><h3><a name="xmlXPathNodeSetGetLength">Macro </a>xmlXPathNodeSetGetLength</h3><pre class="programlisting">#define <a href="#xmlXPathNodeSetGetLength">xmlXPathNodeSetGetLength</a>(ns);
132
- </pre><p>Implement a functionality similar to the DOM NodeList.length. Returns the number of nodes in the node-set.</p><div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ns</tt></i>:</span></td><td>a node-set</td></tr></tbody></table></div>
133
- </div>
134
- <hr/>
135
- <div class="refsect2" lang="en"><h3><a name="xmlXPathNodeSetIsEmpty">Macro </a>xmlXPathNodeSetIsEmpty</h3><pre class="programlisting">#define <a href="#xmlXPathNodeSetIsEmpty">xmlXPathNodeSetIsEmpty</a>(ns);
136
- </pre><p>Checks whether @ns is empty or not. Returns %TRUE if @ns is an empty node-set.</p><div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ns</tt></i>:</span></td><td>a node-set</td></tr></tbody></table></div>
137
- </div>
138
- <hr/>
139
- <div class="refsect2" lang="en"><h3><a name="xmlXPathNodeSetItem">Macro </a>xmlXPathNodeSetItem</h3><pre class="programlisting">#define <a href="#xmlXPathNodeSetItem">xmlXPathNodeSetItem</a>(ns, index);
140
- </pre><p>Implements a functionality similar to the DOM NodeList.item(). Returns the <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> at the given @index in @ns or NULL if @index is out of range (0 to length-1)</p><div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ns</tt></i>:</span></td><td>a node-set</td></tr><tr><td><span class="term"><i><tt>index</tt></i>:</span></td><td>index of a node in the set</td></tr></tbody></table></div>
141
- </div>
142
- <hr/>
143
- <div class="refsect2" lang="en"><h3><a name="xmlNodeSet">Structure </a>xmlNodeSet</h3><pre class="programlisting">struct _xmlNodeSet {
144
- int nodeNr : number of nodes in the set
145
- int nodeMax : size of the array as allocated
146
- <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> * nodeTab : array of nodes in no particular order @@ with_ns to check wether name
147
- } xmlNodeSet;
148
- </pre><p/>
149
- </div>
150
- <hr/>
151
- <div class="refsect2" lang="en"><h3><a name="xmlNodeSetPtr">Typedef </a>xmlNodeSetPtr</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlNodeSet">xmlNodeSet</a> * xmlNodeSetPtr;
152
- </pre><p/>
153
- </div>
154
- <hr/>
155
- <div class="refsect2" lang="en"><h3><a name="xmlXPathAxis">Structure </a>xmlXPathAxis</h3><pre class="programlisting">struct _xmlXPathAxis {
156
- const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name : the axis name
157
- <a href="libxml2-xpath.html#xmlXPathAxisFunc">xmlXPathAxisFunc</a> func : the search function
158
- } xmlXPathAxis;
159
- </pre><p/>
160
- </div>
161
- <hr/>
162
- <div class="refsect2" lang="en"><h3><a name="xmlXPathAxisPtr">Typedef </a>xmlXPathAxisPtr</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathAxis">xmlXPathAxis</a> * xmlXPathAxisPtr;
163
- </pre><p/>
164
- </div>
165
- <hr/>
166
- <div class="refsect2" lang="en"><h3><a name="xmlXPathCompExpr">Structure </a>xmlXPathCompExpr</h3><pre class="programlisting">struct _xmlXPathCompExpr {
167
- The content of this structure is not made public by the API.
168
- } xmlXPathCompExpr;
169
- </pre><p/>
170
- </div>
171
- <hr/>
172
- <div class="refsect2" lang="en"><h3><a name="xmlXPathCompExprPtr">Typedef </a>xmlXPathCompExprPtr</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathCompExpr">xmlXPathCompExpr</a> * xmlXPathCompExprPtr;
173
- </pre><p/>
174
- </div>
175
- <hr/>
176
- <div class="refsect2" lang="en"><h3><a name="xmlXPathContext">Structure </a>xmlXPathContext</h3><pre class="programlisting">struct _xmlXPathContext {
177
- <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc : The current document
178
- <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node : The current node
179
- int nb_variables_unused : unused (hash table)
180
- int max_variables_unused : unused (hash table)
181
- <a href="libxml2-hash.html#xmlHashTablePtr">xmlHashTablePtr</a> varHash : Hash table of defined variables
182
- int nb_types : number of defined types
183
- int max_types : max number of types
184
- <a href="libxml2-xpath.html#xmlXPathTypePtr">xmlXPathTypePtr</a> types : Array of defined types
185
- int nb_funcs_unused : unused (hash table)
186
- int max_funcs_unused : unused (hash table)
187
- <a href="libxml2-hash.html#xmlHashTablePtr">xmlHashTablePtr</a> funcHash : Hash table of defined funcs
188
- int nb_axis : number of defined axis
189
- int max_axis : max number of axis
190
- <a href="libxml2-xpath.html#xmlXPathAxisPtr">xmlXPathAxisPtr</a> axis : Array of defined axis the namespace nodes of the context node
191
- <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> * namespaces : Array of namespaces
192
- int nsNr : number of namespace in scope
193
- void * user : function to free extra variables
194
- int contextSize : the context size
195
- int proximityPosition : the proximity position extra stuff for XPointer
196
- int xptr : is this an XPointer context?
197
- <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> here : for here()
198
- <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> origin : for origin() the set of namespace declarations in scope for the expre
199
- <a href="libxml2-hash.html#xmlHashTablePtr">xmlHashTablePtr</a> nsHash : The namespaces hash table
200
- <a href="libxml2-xpath.html#xmlXPathVariableLookupFunc">xmlXPathVariableLookupFunc</a> varLookupFunc : variable lookup func
201
- void * varLookupData : variable lookup data Possibility to link in an extra item
202
- void * extra : needed for XSLT The function name and URI when calling a function
203
- const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * function
204
- const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * functionURI : function lookup function and data
205
- <a href="libxml2-xpath.html#xmlXPathFuncLookupFunc">xmlXPathFuncLookupFunc</a> funcLookupFunc : function lookup func
206
- void * funcLookupData : function lookup data temporary namespace lists kept for walking the n
207
- <a href="libxml2-tree.html#xmlNsPtr">xmlNsPtr</a> * tmpNsList : Array of namespaces
208
- int tmpNsNr : number of namespaces in scope error reporting mechanism
209
- void * userData : user specific data block
210
- <a href="libxml2-xmlerror.html#xmlStructuredErrorFunc">xmlStructuredErrorFunc</a> error : the callback in case of errors
211
- <a href="libxml2-xmlerror.html#xmlError">xmlError</a> lastError : the last error
212
- <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> debugNode : the source node XSLT dictionary
213
- <a href="libxml2-dict.html#xmlDictPtr">xmlDictPtr</a> dict : dictionary if any
214
- int flags : flags to control compilation Cache for reusal of XPath objects
215
- void * cache
216
- } xmlXPathContext;
217
- </pre><p/>
218
- </div>
219
- <hr/>
220
- <div class="refsect2" lang="en"><h3><a name="xmlXPathContextPtr">Typedef </a>xmlXPathContextPtr</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathContext">xmlXPathContext</a> * xmlXPathContextPtr;
221
- </pre><p/>
222
- </div>
223
- <hr/>
224
- <div class="refsect2" lang="en"><h3><a name="xmlXPathError">Enum </a>xmlXPathError</h3><pre class="programlisting">enum <a href="#xmlXPathError">xmlXPathError</a> {
225
- <a name="XPATH_EXPRESSION_OK">XPATH_EXPRESSION_OK</a> = 0
226
- <a name="XPATH_NUMBER_ERROR">XPATH_NUMBER_ERROR</a> = 1
227
- <a name="XPATH_UNFINISHED_LITERAL_ERROR">XPATH_UNFINISHED_LITERAL_ERROR</a> = 2
228
- <a name="XPATH_START_LITERAL_ERROR">XPATH_START_LITERAL_ERROR</a> = 3
229
- <a name="XPATH_VARIABLE_REF_ERROR">XPATH_VARIABLE_REF_ERROR</a> = 4
230
- <a name="XPATH_UNDEF_VARIABLE_ERROR">XPATH_UNDEF_VARIABLE_ERROR</a> = 5
231
- <a name="XPATH_INVALID_PREDICATE_ERROR">XPATH_INVALID_PREDICATE_ERROR</a> = 6
232
- <a name="XPATH_EXPR_ERROR">XPATH_EXPR_ERROR</a> = 7
233
- <a name="XPATH_UNCLOSED_ERROR">XPATH_UNCLOSED_ERROR</a> = 8
234
- <a name="XPATH_UNKNOWN_FUNC_ERROR">XPATH_UNKNOWN_FUNC_ERROR</a> = 9
235
- <a name="XPATH_INVALID_OPERAND">XPATH_INVALID_OPERAND</a> = 10
236
- <a name="XPATH_INVALID_TYPE">XPATH_INVALID_TYPE</a> = 11
237
- <a name="XPATH_INVALID_ARITY">XPATH_INVALID_ARITY</a> = 12
238
- <a name="XPATH_INVALID_CTXT_SIZE">XPATH_INVALID_CTXT_SIZE</a> = 13
239
- <a name="XPATH_INVALID_CTXT_POSITION">XPATH_INVALID_CTXT_POSITION</a> = 14
240
- <a name="XPATH_MEMORY_ERROR">XPATH_MEMORY_ERROR</a> = 15
241
- <a name="XPTR_SYNTAX_ERROR">XPTR_SYNTAX_ERROR</a> = 16
242
- <a name="XPTR_RESOURCE_ERROR">XPTR_RESOURCE_ERROR</a> = 17
243
- <a name="XPTR_SUB_RESOURCE_ERROR">XPTR_SUB_RESOURCE_ERROR</a> = 18
244
- <a name="XPATH_UNDEF_PREFIX_ERROR">XPATH_UNDEF_PREFIX_ERROR</a> = 19
245
- <a name="XPATH_ENCODING_ERROR">XPATH_ENCODING_ERROR</a> = 20
246
- <a name="XPATH_INVALID_CHAR_ERROR">XPATH_INVALID_CHAR_ERROR</a> = 21
247
- <a name="XPATH_INVALID_CTXT">XPATH_INVALID_CTXT</a> = 22
248
- <a name="XPATH_STACK_ERROR">XPATH_STACK_ERROR</a> = 23
249
- <a name="XPATH_FORBID_VARIABLE_ERROR">XPATH_FORBID_VARIABLE_ERROR</a> = 24
250
- };
251
- </pre><p/>
252
- </div>
253
- <hr/>
254
- <div class="refsect2" lang="en"><h3><a name="xmlXPathFuncPtr">Typedef </a>xmlXPathFuncPtr</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathFunct">xmlXPathFunct</a> * xmlXPathFuncPtr;
255
- </pre><p/>
256
- </div>
257
- <hr/>
258
- <div class="refsect2" lang="en"><h3><a name="xmlXPathFunct">Structure </a>xmlXPathFunct</h3><pre class="programlisting">struct _xmlXPathFunct {
259
- const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name : the function name
260
- <a href="libxml2-xpath.html#xmlXPathEvalFunc">xmlXPathEvalFunc</a> func : the evaluation function
261
- } xmlXPathFunct;
262
- </pre><p/>
263
- </div>
264
- <hr/>
265
- <div class="refsect2" lang="en"><h3><a name="xmlXPathObject">Structure </a>xmlXPathObject</h3><pre class="programlisting">struct _xmlXPathObject {
266
- <a href="libxml2-xpath.html#xmlXPathObjectType">xmlXPathObjectType</a> type
267
- <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodesetval
268
- int boolval
269
- double floatval
270
- <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * stringval
271
- void * user
272
- int index
273
- void * user2
274
- int index2
275
- } xmlXPathObject;
276
- </pre><p/>
277
- </div>
278
- <hr/>
279
- <div class="refsect2" lang="en"><h3><a name="xmlXPathObjectPtr">Typedef </a>xmlXPathObjectPtr</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObject">xmlXPathObject</a> * xmlXPathObjectPtr;
280
- </pre><p/>
281
- </div>
282
- <hr/>
283
- <div class="refsect2" lang="en"><h3><a name="xmlXPathObjectType">Enum </a>xmlXPathObjectType</h3><pre class="programlisting">enum <a href="#xmlXPathObjectType">xmlXPathObjectType</a> {
284
- <a name="XPATH_UNDEFINED">XPATH_UNDEFINED</a> = 0
285
- <a name="XPATH_NODESET">XPATH_NODESET</a> = 1
286
- <a name="XPATH_BOOLEAN">XPATH_BOOLEAN</a> = 2
287
- <a name="XPATH_NUMBER">XPATH_NUMBER</a> = 3
288
- <a name="XPATH_STRING">XPATH_STRING</a> = 4
289
- <a name="XPATH_POINT">XPATH_POINT</a> = 5
290
- <a name="XPATH_RANGE">XPATH_RANGE</a> = 6
291
- <a name="XPATH_LOCATIONSET">XPATH_LOCATIONSET</a> = 7
292
- <a name="XPATH_USERS">XPATH_USERS</a> = 8
293
- <a name="XPATH_XSLT_TREE">XPATH_XSLT_TREE</a> = 9 /* An XSLT value tree, non modifiable */
294
- };
295
- </pre><p/>
296
- </div>
297
- <hr/>
298
- <div class="refsect2" lang="en"><h3><a name="xmlXPathParserContext">Structure </a>xmlXPathParserContext</h3><pre class="programlisting">struct _xmlXPathParserContext {
299
- const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur : the current char being parsed
300
- const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * base : the full expression
301
- int error : error code
302
- <a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> context : the evaluation context
303
- <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> value : the current value
304
- int valueNr : number of values stacked
305
- int valueMax : max number of values stacked
306
- <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> * valueTab : stack of values
307
- <a href="libxml2-xpath.html#xmlXPathCompExprPtr">xmlXPathCompExprPtr</a> comp : the precompiled expression
308
- int xptr : it this an XPointer expression
309
- <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> ancestor : used for walking preceding axis
310
- int valueFrame : used to limit Pop on the stack
311
- } xmlXPathParserContext;
312
- </pre><p/>
313
- </div>
314
- <hr/>
315
- <div class="refsect2" lang="en"><h3><a name="xmlXPathParserContextPtr">Typedef </a>xmlXPathParserContextPtr</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathParserContext">xmlXPathParserContext</a> * xmlXPathParserContextPtr;
316
- </pre><p/>
317
- </div>
318
- <hr/>
319
- <div class="refsect2" lang="en"><h3><a name="xmlXPathType">Structure </a>xmlXPathType</h3><pre class="programlisting">struct _xmlXPathType {
320
- const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name : the type name
321
- <a href="libxml2-xpath.html#xmlXPathConvertFunc">xmlXPathConvertFunc</a> func : the conversion function
322
- } xmlXPathType;
323
- </pre><p/>
324
- </div>
325
- <hr/>
326
- <div class="refsect2" lang="en"><h3><a name="xmlXPathTypePtr">Typedef </a>xmlXPathTypePtr</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathType">xmlXPathType</a> * xmlXPathTypePtr;
327
- </pre><p/>
328
- </div>
329
- <hr/>
330
- <div class="refsect2" lang="en"><h3><a name="xmlXPathVariable">Structure </a>xmlXPathVariable</h3><pre class="programlisting">struct _xmlXPathVariable {
331
- const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name : the variable name
332
- <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> value : the value
333
- } xmlXPathVariable;
334
- </pre><p/>
335
- </div>
336
- <hr/>
337
- <div class="refsect2" lang="en"><h3><a name="xmlXPathVariablePtr">Typedef </a>xmlXPathVariablePtr</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathVariable">xmlXPathVariable</a> * xmlXPathVariablePtr;
338
- </pre><p/>
339
- </div>
340
- <hr/>
341
- <div class="refsect2" lang="en"><h3><a name="xmlXPathAxisFunc"/>Function type xmlXPathAxisFunc</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathAxisFunc (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br/> <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> cur)<br/>
342
- </pre><p>An axis traversal function. To traverse an axis, the engine calls the first time with cur == NULL and repeat until the function returns NULL indicating the end of the axis traversal.</p>
343
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the XPath interpreter context</td></tr><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the previous node being explored on that axis</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the next node in that axis or NULL if at the end of the axis.</td></tr></tbody></table></div></div>
344
- <hr/>
345
- <div class="refsect2" lang="en"><h3><a name="xmlXPathConvertFunc"/>Function type xmlXPathConvertFunc</h3><pre class="programlisting">int xmlXPathConvertFunc (<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> obj, <br/> int type)<br/>
346
- </pre><p>A conversion function is associated to a type and used to cast the new type to primitive values.</p>
347
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>obj</tt></i>:</span></td><td>an XPath object</td></tr><tr><td><span class="term"><i><tt>type</tt></i>:</span></td><td>the number of the target type</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>-1 in case of error, 0 otherwise</td></tr></tbody></table></div></div>
348
- <hr/>
349
- <div class="refsect2" lang="en"><h3><a name="xmlXPathEvalFunc"/>Function type xmlXPathEvalFunc</h3><pre class="programlisting">void xmlXPathEvalFunc (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br/> int nargs)<br/>
350
- </pre><p>An XPath evaluation function, the parameters are on the XPath context stack.</p>
351
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an XPath parser context</td></tr><tr><td><span class="term"><i><tt>nargs</tt></i>:</span></td><td>the number of arguments passed to the function</td></tr></tbody></table></div></div>
352
- <hr/>
353
- <div class="refsect2" lang="en"><h3><a name="xmlXPathFuncLookupFunc"/>Function type xmlXPathFuncLookupFunc</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathFunction">xmlXPathFunction</a> xmlXPathFuncLookupFunc (void * ctxt, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns_uri)<br/>
354
- </pre><p>Prototype for callbacks used to plug function lookup in the XPath engine.</p>
355
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an XPath context</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>name of the function</td></tr><tr><td><span class="term"><i><tt>ns_uri</tt></i>:</span></td><td>the namespace name hosting this function</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the XPath function or NULL if not found.</td></tr></tbody></table></div></div>
356
- <hr/>
357
- <div class="refsect2" lang="en"><h3><a name="xmlXPathFunction"/>Function type xmlXPathFunction</h3><pre class="programlisting">void xmlXPathFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br/> int nargs)<br/>
358
- </pre><p>An XPath function. The arguments (if any) are popped out from the context stack and the result is pushed on the stack.</p>
359
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the XPath interprestation context</td></tr><tr><td><span class="term"><i><tt>nargs</tt></i>:</span></td><td>the number of arguments</td></tr></tbody></table></div></div>
360
- <hr/>
361
- <div class="refsect2" lang="en"><h3><a name="xmlXPathVariableLookupFunc"/>Function type xmlXPathVariableLookupFunc</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathVariableLookupFunc (void * ctxt, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns_uri)<br/>
362
- </pre><p>Prototype for callbacks used to plug variable lookup in the XPath engine.</p>
363
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an XPath context</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>name of the variable</td></tr><tr><td><span class="term"><i><tt>ns_uri</tt></i>:</span></td><td>the namespace name hosting this variable</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the XPath object value or NULL if not found.</td></tr></tbody></table></div></div>
364
- <hr/>
365
- <div class="refsect2" lang="en"><h3><a name="xmlXPathNAN">Variable </a>xmlXPathNAN</h3><pre class="programlisting">double xmlXPathNAN;
366
- </pre><p/>
367
- </div>
368
- <hr/>
369
- <div class="refsect2" lang="en"><h3><a name="xmlXPathNINF">Variable </a>xmlXPathNINF</h3><pre class="programlisting">double xmlXPathNINF;
370
- </pre><p/>
371
- </div>
372
- <hr/>
373
- <div class="refsect2" lang="en"><h3><a name="xmlXPathPINF">Variable </a>xmlXPathPINF</h3><pre class="programlisting">double xmlXPathPINF;
374
- </pre><p/>
375
- </div>
376
- <hr/>
377
- <div class="refsect2" lang="en"><h3><a name="xmlXPathCastBooleanToNumber"/>xmlXPathCastBooleanToNumber ()</h3><pre class="programlisting">double xmlXPathCastBooleanToNumber (int val)<br/>
378
- </pre><p>Converts a boolean to its number value</p>
379
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>a boolean</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number value</td></tr></tbody></table></div></div>
380
- <hr/>
381
- <div class="refsect2" lang="en"><h3><a name="xmlXPathCastBooleanToString"/>xmlXPathCastBooleanToString ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlXPathCastBooleanToString (int val)<br/>
382
- </pre><p>Converts a boolean to its string value.</p>
383
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>a boolean</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a newly allocated string.</td></tr></tbody></table></div></div>
384
- <hr/>
385
- <div class="refsect2" lang="en"><h3><a name="xmlXPathCastNodeSetToBoolean"/>xmlXPathCastNodeSetToBoolean ()</h3><pre class="programlisting">int xmlXPathCastNodeSetToBoolean (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> ns)<br/>
386
- </pre><p>Converts a node-set to its boolean value</p>
387
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ns</tt></i>:</span></td><td>a node-set</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the boolean value</td></tr></tbody></table></div></div>
388
- <hr/>
389
- <div class="refsect2" lang="en"><h3><a name="xmlXPathCastNodeSetToNumber"/>xmlXPathCastNodeSetToNumber ()</h3><pre class="programlisting">double xmlXPathCastNodeSetToNumber (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> ns)<br/>
390
- </pre><p>Converts a node-set to its number value</p>
391
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ns</tt></i>:</span></td><td>a node-set</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number value</td></tr></tbody></table></div></div>
392
- <hr/>
393
- <div class="refsect2" lang="en"><h3><a name="xmlXPathCastNodeSetToString"/>xmlXPathCastNodeSetToString ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlXPathCastNodeSetToString (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> ns)<br/>
394
- </pre><p>Converts a node-set to its string value.</p>
395
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ns</tt></i>:</span></td><td>a node-set</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a newly allocated string.</td></tr></tbody></table></div></div>
396
- <hr/>
397
- <div class="refsect2" lang="en"><h3><a name="xmlXPathCastNodeToNumber"/>xmlXPathCastNodeToNumber ()</h3><pre class="programlisting">double xmlXPathCastNodeToNumber (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node)<br/>
398
- </pre><p>Converts a node to its number value</p>
399
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>node</tt></i>:</span></td><td>a node</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number value</td></tr></tbody></table></div></div>
400
- <hr/>
401
- <div class="refsect2" lang="en"><h3><a name="xmlXPathCastNodeToString"/>xmlXPathCastNodeToString ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlXPathCastNodeToString (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node)<br/>
402
- </pre><p>Converts a node to its string value.</p>
403
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>node</tt></i>:</span></td><td>a node</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a newly allocated string.</td></tr></tbody></table></div></div>
404
- <hr/>
405
- <div class="refsect2" lang="en"><h3><a name="xmlXPathCastNumberToBoolean"/>xmlXPathCastNumberToBoolean ()</h3><pre class="programlisting">int xmlXPathCastNumberToBoolean (double val)<br/>
406
- </pre><p>Converts a number to its boolean value</p>
407
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>a number</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the boolean value</td></tr></tbody></table></div></div>
408
- <hr/>
409
- <div class="refsect2" lang="en"><h3><a name="xmlXPathCastNumberToString"/>xmlXPathCastNumberToString ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlXPathCastNumberToString (double val)<br/>
410
- </pre><p>Converts a number to its string value.</p>
411
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>a number</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a newly allocated string.</td></tr></tbody></table></div></div>
412
- <hr/>
413
- <div class="refsect2" lang="en"><h3><a name="xmlXPathCastStringToBoolean"/>xmlXPathCastStringToBoolean ()</h3><pre class="programlisting">int xmlXPathCastStringToBoolean (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * val)<br/>
414
- </pre><p>Converts a string to its boolean value</p>
415
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>a string</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the boolean value</td></tr></tbody></table></div></div>
416
- <hr/>
417
- <div class="refsect2" lang="en"><h3><a name="xmlXPathCastStringToNumber"/>xmlXPathCastStringToNumber ()</h3><pre class="programlisting">double xmlXPathCastStringToNumber (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * val)<br/>
418
- </pre><p>Converts a string to its number value</p>
419
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>a string</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number value</td></tr></tbody></table></div></div>
420
- <hr/>
421
- <div class="refsect2" lang="en"><h3><a name="xmlXPathCastToBoolean"/>xmlXPathCastToBoolean ()</h3><pre class="programlisting">int xmlXPathCastToBoolean (<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> val)<br/>
422
- </pre><p>Converts an XPath object to its boolean value</p>
423
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>an XPath object</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the boolean value</td></tr></tbody></table></div></div>
424
- <hr/>
425
- <div class="refsect2" lang="en"><h3><a name="xmlXPathCastToNumber"/>xmlXPathCastToNumber ()</h3><pre class="programlisting">double xmlXPathCastToNumber (<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> val)<br/>
426
- </pre><p>Converts an XPath object to its number value</p>
427
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>an XPath object</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number value</td></tr></tbody></table></div></div>
428
- <hr/>
429
- <div class="refsect2" lang="en"><h3><a name="xmlXPathCastToString"/>xmlXPathCastToString ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlXPathCastToString (<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> val)<br/>
430
- </pre><p>Converts an existing object to its string() equivalent</p>
431
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>an XPath object</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the allocated string value of the object, NULL in case of error. It's up to the caller to free the string memory with xmlFree().</td></tr></tbody></table></div></div>
432
- <hr/>
433
- <div class="refsect2" lang="en"><h3><a name="xmlXPathCmpNodes"/>xmlXPathCmpNodes ()</h3><pre class="programlisting">int xmlXPathCmpNodes (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node1, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node2)<br/>
434
- </pre><p>Compare two nodes w.r.t document order</p>
435
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>node1</tt></i>:</span></td><td>the first node</td></tr><tr><td><span class="term"><i><tt>node2</tt></i>:</span></td><td>the second node</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>-2 in case of error 1 if first point &lt; second point, 0 if it's the same node, -1 otherwise</td></tr></tbody></table></div></div>
436
- <hr/>
437
- <div class="refsect2" lang="en"><h3><a name="xmlXPathCompile"/>xmlXPathCompile ()</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathCompExprPtr">xmlXPathCompExprPtr</a> xmlXPathCompile (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str)<br/>
438
- </pre><p>Compile an XPath expression</p>
439
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>str</tt></i>:</span></td><td>the XPath expression</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml2-xpath.html#xmlXPathCompExprPtr">xmlXPathCompExprPtr</a> resulting from the compilation or NULL. the caller has to free the object.</td></tr></tbody></table></div></div>
440
- <hr/>
441
- <div class="refsect2" lang="en"><h3><a name="xmlXPathCompiledEval"/>xmlXPathCompiledEval ()</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathCompiledEval (<a href="libxml2-xpath.html#xmlXPathCompExprPtr">xmlXPathCompExprPtr</a> comp, <br/> <a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctx)<br/>
442
- </pre><p>Evaluate the Precompiled XPath expression in the given context.</p>
443
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>comp</tt></i>:</span></td><td>the compiled XPath expression</td></tr><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>the XPath context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> resulting from the evaluation or NULL. the caller has to free the object.</td></tr></tbody></table></div></div>
444
- <hr/>
445
- <div class="refsect2" lang="en"><h3><a name="xmlXPathCompiledEvalToBoolean"/>xmlXPathCompiledEvalToBoolean ()</h3><pre class="programlisting">int xmlXPathCompiledEvalToBoolean (<a href="libxml2-xpath.html#xmlXPathCompExprPtr">xmlXPathCompExprPtr</a> comp, <br/> <a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt)<br/>
446
- </pre><p>Applies the XPath boolean() function on the result of the given compiled expression.</p>
447
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>comp</tt></i>:</span></td><td>the compiled XPath expression</td></tr><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the XPath context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if the expression evaluated to true, 0 if to false and -1 in API and internal errors.</td></tr></tbody></table></div></div>
448
- <hr/>
449
- <div class="refsect2" lang="en"><h3><a name="xmlXPathContextSetCache"/>xmlXPathContextSetCache ()</h3><pre class="programlisting">int xmlXPathContextSetCache (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br/> int active, <br/> int value, <br/> int options)<br/>
450
- </pre><p>Creates/frees an object cache on the XPath context. If activates XPath objects (xmlXPathObject) will be cached internally to be reused. @options: 0: This will set the XPath object caching: @value: This will set the maximum number of XPath objects to be cached per slot There are 5 slots for: node-set, string, number, boolean, and misc objects. Use &lt;0 for the default number (100). Other values for @options have currently no effect.</p>
451
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the XPath context</td></tr><tr><td><span class="term"><i><tt>active</tt></i>:</span></td><td>enables/disables (creates/frees) the cache</td></tr><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>a value with semantics dependant on @options</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>options (currently only the value 0 is used)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if the setting succeeded, and -1 on API or internal errors.</td></tr></tbody></table></div></div>
452
- <hr/>
453
- <div class="refsect2" lang="en"><h3><a name="xmlXPathConvertBoolean"/>xmlXPathConvertBoolean ()</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathConvertBoolean (<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> val)<br/>
454
- </pre><p>Converts an existing object to its boolean() equivalent</p>
455
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>an XPath object</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new object, the old one is freed (or the operation is done directly on @val)</td></tr></tbody></table></div></div>
456
- <hr/>
457
- <div class="refsect2" lang="en"><h3><a name="xmlXPathConvertNumber"/>xmlXPathConvertNumber ()</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathConvertNumber (<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> val)<br/>
458
- </pre><p>Converts an existing object to its number() equivalent</p>
459
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>an XPath object</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new object, the old one is freed (or the operation is done directly on @val)</td></tr></tbody></table></div></div>
460
- <hr/>
461
- <div class="refsect2" lang="en"><h3><a name="xmlXPathConvertString"/>xmlXPathConvertString ()</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathConvertString (<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> val)<br/>
462
- </pre><p>Converts an existing object to its string() equivalent</p>
463
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>an XPath object</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new object, the old one is freed (or the operation is done directly on @val)</td></tr></tbody></table></div></div>
464
- <hr/>
465
- <div class="refsect2" lang="en"><h3><a name="xmlXPathCtxtCompile"/>xmlXPathCtxtCompile ()</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathCompExprPtr">xmlXPathCompExprPtr</a> xmlXPathCtxtCompile (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str)<br/>
466
- </pre><p>Compile an XPath expression</p>
467
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an XPath context</td></tr><tr><td><span class="term"><i><tt>str</tt></i>:</span></td><td>the XPath expression</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml2-xpath.html#xmlXPathCompExprPtr">xmlXPathCompExprPtr</a> resulting from the compilation or NULL. the caller has to free the object.</td></tr></tbody></table></div></div>
468
- <hr/>
469
- <div class="refsect2" lang="en"><h3><a name="xmlXPathEval"/>xmlXPathEval ()</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathEval (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br/> <a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctx)<br/>
470
- </pre><p>Evaluate the XPath Location Path in the given context.</p>
471
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>str</tt></i>:</span></td><td>the XPath expression</td></tr><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>the XPath context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> resulting from the evaluation or NULL. the caller has to free the object.</td></tr></tbody></table></div></div>
472
- <hr/>
473
- <div class="refsect2" lang="en"><h3><a name="xmlXPathEvalExpression"/>xmlXPathEvalExpression ()</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathEvalExpression (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br/> <a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt)<br/>
474
- </pre><p>Evaluate the XPath expression in the given context.</p>
475
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>str</tt></i>:</span></td><td>the XPath expression</td></tr><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the XPath context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> resulting from the evaluation or NULL. the caller has to free the object.</td></tr></tbody></table></div></div>
476
- <hr/>
477
- <div class="refsect2" lang="en"><h3><a name="xmlXPathEvalPredicate"/>xmlXPathEvalPredicate ()</h3><pre class="programlisting">int xmlXPathEvalPredicate (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br/> <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> res)<br/>
478
- </pre><p>Evaluate a predicate result for the current node. A PredicateExpr is evaluated by evaluating the Expr and converting the result to a boolean. If the result is a number, the result will be converted to true if the number is equal to the position of the context node in the context node list (as returned by the position function) and will be converted to false otherwise; if the result is not a number, then the result will be converted as if by a call to the boolean function.</p>
479
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the XPath context</td></tr><tr><td><span class="term"><i><tt>res</tt></i>:</span></td><td>the Predicate Expression evaluation result</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if predicate is true, 0 otherwise</td></tr></tbody></table></div></div>
480
- <hr/>
481
- <div class="refsect2" lang="en"><h3><a name="xmlXPathFreeCompExpr"/>xmlXPathFreeCompExpr ()</h3><pre class="programlisting">void xmlXPathFreeCompExpr (<a href="libxml2-xpath.html#xmlXPathCompExprPtr">xmlXPathCompExprPtr</a> comp)<br/>
482
- </pre><p>Free up the memory allocated by @comp</p>
483
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>comp</tt></i>:</span></td><td>an XPATH comp</td></tr></tbody></table></div></div>
484
- <hr/>
485
- <div class="refsect2" lang="en"><h3><a name="xmlXPathFreeContext"/>xmlXPathFreeContext ()</h3><pre class="programlisting">void xmlXPathFreeContext (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt)<br/>
486
- </pre><p>Free up an <a href="libxml2-xpath.html#xmlXPathContext">xmlXPathContext</a></p>
487
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the context to free</td></tr></tbody></table></div></div>
488
- <hr/>
489
- <div class="refsect2" lang="en"><h3><a name="xmlXPathFreeNodeSet"/>xmlXPathFreeNodeSet ()</h3><pre class="programlisting">void xmlXPathFreeNodeSet (<a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> obj)<br/>
490
- </pre><p>Free the NodeSet compound (not the actual nodes !).</p>
491
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>obj</tt></i>:</span></td><td>the <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> to free</td></tr></tbody></table></div></div>
492
- <hr/>
493
- <div class="refsect2" lang="en"><h3><a name="xmlXPathFreeNodeSetList"/>xmlXPathFreeNodeSetList ()</h3><pre class="programlisting">void xmlXPathFreeNodeSetList (<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> obj)<br/>
494
- </pre><p>Free up the <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> @obj but don't deallocate the objects in the list contrary to xmlXPathFreeObject().</p>
495
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>obj</tt></i>:</span></td><td>an existing NodeSetList object</td></tr></tbody></table></div></div>
496
- <hr/>
497
- <div class="refsect2" lang="en"><h3><a name="xmlXPathFreeObject"/>xmlXPathFreeObject ()</h3><pre class="programlisting">void xmlXPathFreeObject (<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> obj)<br/>
498
- </pre><p>Free up an <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> object.</p>
499
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>obj</tt></i>:</span></td><td>the object to free</td></tr></tbody></table></div></div>
500
- <hr/>
501
- <div class="refsect2" lang="en"><h3><a name="xmlXPathInit"/>xmlXPathInit ()</h3><pre class="programlisting">void xmlXPathInit (void)<br/>
502
- </pre><p>Initialize the XPath environment</p>
503
- </div>
504
- <hr/>
505
- <div class="refsect2" lang="en"><h3><a name="xmlXPathIsInf"/>xmlXPathIsInf ()</h3><pre class="programlisting">int xmlXPathIsInf (double val)<br/>
506
- </pre><p>Provides a portable isinf() function to detect whether a double is a +Infinite or -Infinite. Based on trio code http://sourceforge.net/projects/ctrio/</p>
507
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>a double value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 vi the value is +Infinite, -1 if -Infinite, 0 otherwise</td></tr></tbody></table></div></div>
508
- <hr/>
509
- <div class="refsect2" lang="en"><h3><a name="xmlXPathIsNaN"/>xmlXPathIsNaN ()</h3><pre class="programlisting">int xmlXPathIsNaN (double val)<br/>
510
- </pre><p>Provides a portable isnan() function to detect whether a double is a NotaNumber. Based on trio code http://sourceforge.net/projects/ctrio/</p>
511
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>a double value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if the value is a NaN, 0 otherwise</td></tr></tbody></table></div></div>
512
- <hr/>
513
- <div class="refsect2" lang="en"><h3><a name="xmlXPathNewContext"/>xmlXPathNewContext ()</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> xmlXPathNewContext (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc)<br/>
514
- </pre><p>Create a new <a href="libxml2-xpath.html#xmlXPathContext">xmlXPathContext</a></p>
515
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the XML document</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml2-xpath.html#xmlXPathContext">xmlXPathContext</a> just allocated. The caller will need to free it.</td></tr></tbody></table></div></div>
516
- <hr/>
517
- <div class="refsect2" lang="en"><h3><a name="xmlXPathNodeSetCreate"/>xmlXPathNodeSetCreate ()</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> xmlXPathNodeSetCreate (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> val)<br/>
518
- </pre><p>Create a new <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> of type double and of value @val</p>
519
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>an initial xmlNodePtr, or NULL</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly created object.</td></tr></tbody></table></div></div>
520
- <hr/>
521
- <div class="refsect2" lang="en"><h3><a name="xmlXPathObjectCopy"/>xmlXPathObjectCopy ()</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathObjectCopy (<a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> val)<br/>
522
- </pre><p>allocate a new copy of a given object</p>
523
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>the original object</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly created object.</td></tr></tbody></table></div></div>
524
- <hr/>
525
- <div class="refsect2" lang="en"><h3><a name="xmlXPathOrderDocElems"/>xmlXPathOrderDocElems ()</h3><pre class="programlisting">long xmlXPathOrderDocElems (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc)<br/>
526
- </pre><p>Call this routine to speed up XPath computation on static documents. This stamps all the element nodes with the document order Like for line information, the order is kept in the element-&gt;content field, the value stored is actually - the node number (starting at -1) to be able to differentiate from line numbers.</p>
527
- <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>an input document</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of elements found in the document or -1 in case of error.</td></tr></tbody></table></div></div>
528
- <hr/>
529
- </div>
530
- </div>
531
- </body>
532
- </html>