Daniel Veillard | f859256 | 2002-01-23 17:58:17 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2 | <api name='libxml2'> |
| 3 | <files> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 4 | <file name='xpath'> |
| 5 | <exports symbol='xmlXPathContext'/> |
| 6 | <exports symbol='xmlXPathContextPtr'/> |
| 7 | <exports symbol='xmlXPathParserContext'/> |
| 8 | <exports symbol='xmlXPathParserContextPtr'/> |
| 9 | <exports symbol='xmlXPathError'/> |
| 10 | <exports symbol='xmlNodeSet'/> |
| 11 | <exports symbol='xmlNodeSetPtr'/> |
| 12 | <exports symbol='xmlXPathObjectType'/> |
| 13 | <exports symbol='xmlXPathObject'/> |
| 14 | <exports symbol='xmlXPathObjectPtr'/> |
| 15 | <exports symbol='xmlXPathConvertFunc'/> |
| 16 | <exports symbol='xmlXPathType'/> |
| 17 | <exports symbol='xmlXPathTypePtr'/> |
| 18 | <exports symbol='xmlXPathVariable'/> |
| 19 | <exports symbol='xmlXPathVariablePtr'/> |
| 20 | <exports symbol='xmlXPathEvalFunc'/> |
| 21 | <exports symbol='xmlXPathFunct'/> |
| 22 | <exports symbol='xmlXPathFuncPtr'/> |
| 23 | <exports symbol='xmlXPathAxisFunc'/> |
| 24 | <exports symbol='xmlXPathAxis'/> |
| 25 | <exports symbol='xmlXPathAxisPtr'/> |
| 26 | <exports symbol='xmlXPathCompExpr'/> |
| 27 | <exports symbol='xmlXPathCompExprPtr'/> |
| 28 | <exports symbol='xmlXPathFunction'/> |
| 29 | <exports symbol='xmlXPathIsNaN'/> |
| 30 | <exports symbol='xmlXPathIsInf'/> |
| 31 | <exports symbol='xmlXPathNodeSetGetLength'/> |
| 32 | <exports symbol='xmlXPathNodeSetItem'/> |
| 33 | <exports symbol='xmlXPathNodeSetIsEmpty'/> |
| 34 | <exports symbol='xmlXPathFreeObject'/> |
| 35 | <exports symbol='xmlXPathNodeSetCreate'/> |
| 36 | <exports symbol='xmlXPathFreeNodeSetList'/> |
| 37 | <exports symbol='xmlXPathFreeNodeSet'/> |
| 38 | <exports symbol='xmlXPathObjectCopy'/> |
| 39 | <exports symbol='xmlXPathCmpNodes'/> |
| 40 | <exports symbol='xmlXPathCastNumberToBoolean'/> |
| 41 | <exports symbol='xmlXPathCastStringToBoolean'/> |
| 42 | <exports symbol='xmlXPathCastNodeSetToBoolean'/> |
| 43 | <exports symbol='xmlXPathCastToBoolean'/> |
| 44 | <exports symbol='xmlXPathCastBooleanToNumber'/> |
| 45 | <exports symbol='xmlXPathCastStringToNumber'/> |
| 46 | <exports symbol='xmlXPathCastNodeToNumber'/> |
| 47 | <exports symbol='xmlXPathCastNodeSetToNumber'/> |
| 48 | <exports symbol='xmlXPathCastToNumber'/> |
| 49 | <exports symbol='xmlXPathCastBooleanToString'/> |
| 50 | <exports symbol='xmlXPathCastNumberToString'/> |
| 51 | <exports symbol='xmlXPathCastNodeToString'/> |
| 52 | <exports symbol='xmlXPathCastNodeSetToString'/> |
| 53 | <exports symbol='xmlXPathCastToString'/> |
| 54 | <exports symbol='xmlXPathConvertBoolean'/> |
| 55 | <exports symbol='xmlXPathConvertNumber'/> |
| 56 | <exports symbol='xmlXPathConvertString'/> |
| 57 | <exports symbol='xmlXPathInit'/> |
| 58 | <exports symbol='xmlXPathNewContext'/> |
| 59 | <exports symbol='xmlXPathFreeContext'/> |
| 60 | <exports symbol='xmlXPathEval'/> |
| 61 | <exports symbol='xmlXPathEvalExpression'/> |
| 62 | <exports symbol='xmlXPathEvalPredicate'/> |
| 63 | <exports symbol='xmlXPathCompile'/> |
| 64 | <exports symbol='xmlXPathCompiledEval'/> |
| 65 | <exports symbol='xmlXPathFreeCompExpr'/> |
| 66 | </file> |
| 67 | <file name='xpathInternals'> |
| 68 | <exports symbol='xmlXPathSetError'/> |
| 69 | <exports symbol='xmlXPathSetArityError'/> |
| 70 | <exports symbol='xmlXPathSetTypeError'/> |
| 71 | <exports symbol='xmlXPathGetError'/> |
| 72 | <exports symbol='xmlXPathCheckError'/> |
| 73 | <exports symbol='xmlXPathGetDocument'/> |
| 74 | <exports symbol='xmlXPathGetContextNode'/> |
| 75 | <exports symbol='xmlXPathPopBoolean'/> |
| 76 | <exports symbol='xmlXPathPopNumber'/> |
| 77 | <exports symbol='xmlXPathPopString'/> |
| 78 | <exports symbol='xmlXPathPopNodeSet'/> |
| 79 | <exports symbol='xmlXPathPopExternal'/> |
| 80 | <exports symbol='xmlXPathReturnBoolean'/> |
| 81 | <exports symbol='xmlXPathReturnTrue'/> |
| 82 | <exports symbol='xmlXPathReturnFalse'/> |
| 83 | <exports symbol='xmlXPathReturnNumber'/> |
| 84 | <exports symbol='xmlXPathReturnString'/> |
| 85 | <exports symbol='xmlXPathReturnEmptyString'/> |
| 86 | <exports symbol='xmlXPathReturnNodeSet'/> |
| 87 | <exports symbol='xmlXPathReturnEmptyNodeSet'/> |
| 88 | <exports symbol='xmlXPathReturnExternal'/> |
| 89 | <exports symbol='xmlXPathStackIsNodeSet'/> |
| 90 | <exports symbol='xmlXPathStackIsExternal'/> |
| 91 | <exports symbol='xmlXPathEmptyNodeSet'/> |
| 92 | <exports symbol='CHECK_ERROR'/> |
| 93 | <exports symbol='CHECK_ERROR0'/> |
| 94 | <exports symbol='XP_ERROR'/> |
| 95 | <exports symbol='XP_ERROR0'/> |
| 96 | <exports symbol='CHECK_TYPE'/> |
| 97 | <exports symbol='CHECK_TYPE0'/> |
| 98 | <exports symbol='CHECK_ARITY'/> |
| 99 | <exports symbol='CAST_TO_STRING'/> |
| 100 | <exports symbol='CAST_TO_NUMBER'/> |
| 101 | <exports symbol='CAST_TO_BOOLEAN'/> |
| 102 | <exports symbol='xmlXPathVariableLookupFunc'/> |
| 103 | <exports symbol='xmlXPathRegisterVariableLookup'/> |
| 104 | <exports symbol='xmlXPathFuncLookupFunc'/> |
| 105 | <exports symbol='xmlXPathRegisterFuncLookup'/> |
| 106 | <exports symbol='xmlXPatherror'/> |
| 107 | <exports symbol='xmlXPathDebugDumpObject'/> |
| 108 | <exports symbol='xmlXPathDebugDumpCompExpr'/> |
| 109 | <exports symbol='xmlXPathNodeSetContains'/> |
| 110 | <exports symbol='xmlXPathDifference'/> |
| 111 | <exports symbol='xmlXPathIntersection'/> |
| 112 | <exports symbol='xmlXPathDistinctSorted'/> |
| 113 | <exports symbol='xmlXPathDistinct'/> |
| 114 | <exports symbol='xmlXPathHasSameNodes'/> |
| 115 | <exports symbol='xmlXPathNodeLeadingSorted'/> |
| 116 | <exports symbol='xmlXPathLeadingSorted'/> |
| 117 | <exports symbol='xmlXPathNodeLeading'/> |
| 118 | <exports symbol='xmlXPathLeading'/> |
| 119 | <exports symbol='xmlXPathNodeTrailingSorted'/> |
| 120 | <exports symbol='xmlXPathTrailingSorted'/> |
| 121 | <exports symbol='xmlXPathNodeTrailing'/> |
| 122 | <exports symbol='xmlXPathTrailing'/> |
| 123 | <exports symbol='xmlXPathRegisterNs'/> |
| 124 | <exports symbol='xmlXPathNsLookup'/> |
| 125 | <exports symbol='xmlXPathRegisteredNsCleanup'/> |
| 126 | <exports symbol='xmlXPathRegisterFunc'/> |
| 127 | <exports symbol='xmlXPathRegisterFuncNS'/> |
| 128 | <exports symbol='xmlXPathRegisterVariable'/> |
| 129 | <exports symbol='xmlXPathRegisterVariableNS'/> |
| 130 | <exports symbol='xmlXPathFunctionLookup'/> |
| 131 | <exports symbol='xmlXPathFunctionLookupNS'/> |
| 132 | <exports symbol='xmlXPathRegisteredFuncsCleanup'/> |
| 133 | <exports symbol='xmlXPathVariableLookup'/> |
| 134 | <exports symbol='xmlXPathVariableLookupNS'/> |
| 135 | <exports symbol='xmlXPathRegisteredVariablesCleanup'/> |
| 136 | <exports symbol='xmlXPathNewParserContext'/> |
| 137 | <exports symbol='xmlXPathFreeParserContext'/> |
| 138 | <exports symbol='valuePop'/> |
| 139 | <exports symbol='valuePush'/> |
| 140 | <exports symbol='xmlXPathNewString'/> |
| 141 | <exports symbol='xmlXPathNewCString'/> |
| 142 | <exports symbol='xmlXPathWrapString'/> |
| 143 | <exports symbol='xmlXPathWrapCString'/> |
| 144 | <exports symbol='xmlXPathNewFloat'/> |
| 145 | <exports symbol='xmlXPathNewBoolean'/> |
| 146 | <exports symbol='xmlXPathNewNodeSet'/> |
| 147 | <exports symbol='xmlXPathNewValueTree'/> |
| 148 | <exports symbol='xmlXPathNodeSetAdd'/> |
| 149 | <exports symbol='xmlXPathNodeSetAddUnique'/> |
| 150 | <exports symbol='xmlXPathNodeSetAddNs'/> |
| 151 | <exports symbol='xmlXPathNodeSetSort'/> |
| 152 | <exports symbol='xmlXPathRoot'/> |
| 153 | <exports symbol='xmlXPathEvalExpr'/> |
| 154 | <exports symbol='xmlXPathParseName'/> |
| 155 | <exports symbol='xmlXPathParseNCName'/> |
| 156 | <exports symbol='xmlXPathStringEvalNumber'/> |
| 157 | <exports symbol='xmlXPathEvaluatePredicateResult'/> |
| 158 | <exports symbol='xmlXPathRegisterAllFunctions'/> |
| 159 | <exports symbol='xmlXPathNodeSetMerge'/> |
| 160 | <exports symbol='xmlXPathNodeSetDel'/> |
| 161 | <exports symbol='xmlXPathNodeSetRemove'/> |
| 162 | <exports symbol='xmlXPathNewNodeSetList'/> |
| 163 | <exports symbol='xmlXPathWrapNodeSet'/> |
| 164 | <exports symbol='xmlXPathWrapExternal'/> |
| 165 | <exports symbol='xmlXPathEqualValues'/> |
| 166 | <exports symbol='xmlXPathNotEqualValues'/> |
| 167 | <exports symbol='xmlXPathCompareValues'/> |
| 168 | <exports symbol='xmlXPathValueFlipSign'/> |
| 169 | <exports symbol='xmlXPathAddValues'/> |
| 170 | <exports symbol='xmlXPathSubValues'/> |
| 171 | <exports symbol='xmlXPathMultValues'/> |
| 172 | <exports symbol='xmlXPathDivValues'/> |
| 173 | <exports symbol='xmlXPathModValues'/> |
| 174 | <exports symbol='xmlXPathIsNodeType'/> |
| 175 | <exports symbol='xmlXPathNextSelf'/> |
| 176 | <exports symbol='xmlXPathNextChild'/> |
| 177 | <exports symbol='xmlXPathNextDescendant'/> |
| 178 | <exports symbol='xmlXPathNextDescendantOrSelf'/> |
| 179 | <exports symbol='xmlXPathNextParent'/> |
| 180 | <exports symbol='xmlXPathNextAncestorOrSelf'/> |
| 181 | <exports symbol='xmlXPathNextFollowingSibling'/> |
| 182 | <exports symbol='xmlXPathNextFollowing'/> |
| 183 | <exports symbol='xmlXPathNextNamespace'/> |
| 184 | <exports symbol='xmlXPathNextAttribute'/> |
| 185 | <exports symbol='xmlXPathNextPreceding'/> |
| 186 | <exports symbol='xmlXPathNextAncestor'/> |
| 187 | <exports symbol='xmlXPathNextPrecedingSibling'/> |
| 188 | <exports symbol='xmlXPathLastFunction'/> |
| 189 | <exports symbol='xmlXPathPositionFunction'/> |
| 190 | <exports symbol='xmlXPathCountFunction'/> |
| 191 | <exports symbol='xmlXPathIdFunction'/> |
| 192 | <exports symbol='xmlXPathLocalNameFunction'/> |
| 193 | <exports symbol='xmlXPathNamespaceURIFunction'/> |
| 194 | <exports symbol='xmlXPathStringFunction'/> |
| 195 | <exports symbol='xmlXPathStringLengthFunction'/> |
| 196 | <exports symbol='xmlXPathConcatFunction'/> |
| 197 | <exports symbol='xmlXPathContainsFunction'/> |
| 198 | <exports symbol='xmlXPathStartsWithFunction'/> |
| 199 | <exports symbol='xmlXPathSubstringFunction'/> |
| 200 | <exports symbol='xmlXPathSubstringBeforeFunction'/> |
| 201 | <exports symbol='xmlXPathSubstringAfterFunction'/> |
| 202 | <exports symbol='xmlXPathNormalizeFunction'/> |
| 203 | <exports symbol='xmlXPathTranslateFunction'/> |
| 204 | <exports symbol='xmlXPathNotFunction'/> |
| 205 | <exports symbol='xmlXPathTrueFunction'/> |
| 206 | <exports symbol='xmlXPathFalseFunction'/> |
| 207 | <exports symbol='xmlXPathLangFunction'/> |
| 208 | <exports symbol='xmlXPathNumberFunction'/> |
| 209 | <exports symbol='xmlXPathSumFunction'/> |
| 210 | <exports symbol='xmlXPathFloorFunction'/> |
| 211 | <exports symbol='xmlXPathCeilingFunction'/> |
| 212 | <exports symbol='xmlXPathRoundFunction'/> |
| 213 | <exports symbol='xmlXPathBooleanFunction'/> |
| 214 | <exports symbol='xmlXPathNodeSetFreeNs'/> |
| 215 | </file> |
| 216 | <file name='debugXML'> |
| 217 | <exports symbol='xmlDebugDumpString'/> |
| 218 | <exports symbol='xmlDebugDumpAttr'/> |
| 219 | <exports symbol='xmlDebugDumpAttrList'/> |
| 220 | <exports symbol='xmlDebugDumpOneNode'/> |
| 221 | <exports symbol='xmlDebugDumpNode'/> |
| 222 | <exports symbol='xmlDebugDumpNodeList'/> |
| 223 | <exports symbol='xmlDebugDumpDocumentHead'/> |
| 224 | <exports symbol='xmlDebugDumpDocument'/> |
| 225 | <exports symbol='xmlDebugDumpDTD'/> |
| 226 | <exports symbol='xmlDebugDumpEntities'/> |
| 227 | <exports symbol='xmlLsOneNode'/> |
| 228 | <exports symbol='xmlLsCountNode'/> |
| 229 | <exports symbol='xmlShellReadlineFunc'/> |
| 230 | <exports symbol='xmlShellCtxt'/> |
| 231 | <exports symbol='xmlShellCtxtPtr'/> |
| 232 | <exports symbol='xmlShellCmd'/> |
| 233 | <exports symbol='xmlShellPrintXPathError'/> |
| 234 | <exports symbol='xmlShellPrintNode'/> |
| 235 | <exports symbol='xmlShellPrintXPathResult'/> |
| 236 | <exports symbol='xmlShellList'/> |
| 237 | <exports symbol='xmlShellBase'/> |
| 238 | <exports symbol='xmlShellDir'/> |
| 239 | <exports symbol='xmlShellCat'/> |
| 240 | <exports symbol='xmlShellLoad'/> |
| 241 | <exports symbol='xmlShellWrite'/> |
| 242 | <exports symbol='xmlShellSave'/> |
| 243 | <exports symbol='xmlShellValidate'/> |
| 244 | <exports symbol='xmlShellDu'/> |
| 245 | <exports symbol='xmlShellPwd'/> |
| 246 | <exports symbol='xmlShell'/> |
| 247 | </file> |
| 248 | <file name='encoding'> |
| 249 | <exports symbol='xmlCharEncoding'/> |
| 250 | <exports symbol='xmlCharEncodingInputFunc'/> |
| 251 | <exports symbol='xmlCharEncodingOutputFunc'/> |
| 252 | <exports symbol='xmlCharEncodingHandler'/> |
| 253 | <exports symbol='xmlCharEncodingHandlerPtr'/> |
| 254 | <exports symbol='xmlInitCharEncodingHandlers'/> |
| 255 | <exports symbol='xmlCleanupCharEncodingHandlers'/> |
| 256 | <exports symbol='xmlRegisterCharEncodingHandler'/> |
| 257 | <exports symbol='xmlGetCharEncodingHandler'/> |
| 258 | <exports symbol='xmlFindCharEncodingHandler'/> |
| 259 | <exports symbol='xmlNewCharEncodingHandler'/> |
| 260 | <exports symbol='xmlAddEncodingAlias'/> |
| 261 | <exports symbol='xmlDelEncodingAlias'/> |
| 262 | <exports symbol='xmlGetEncodingAlias'/> |
| 263 | <exports symbol='xmlCleanupEncodingAliases'/> |
| 264 | <exports symbol='xmlParseCharEncoding'/> |
| 265 | <exports symbol='xmlGetCharEncodingName'/> |
| 266 | <exports symbol='xmlDetectCharEncoding'/> |
| 267 | <exports symbol='xmlCharEncOutFunc'/> |
| 268 | <exports symbol='xmlCharEncInFunc'/> |
| 269 | <exports symbol='xmlCharEncFirstLine'/> |
| 270 | <exports symbol='xmlCharEncCloseFunc'/> |
| 271 | <exports symbol='UTF8Toisolat1'/> |
| 272 | <exports symbol='isolat1ToUTF8'/> |
| 273 | <exports symbol='xmlGetUTF8Char'/> |
| 274 | <exports symbol='xmlCheckUTF8'/> |
| 275 | <exports symbol='xmlUTF8Strsize'/> |
| 276 | <exports symbol='xmlUTF8Strndup'/> |
| 277 | <exports symbol='xmlUTF8Strpos'/> |
| 278 | <exports symbol='xmlUTF8Strloc'/> |
| 279 | <exports symbol='xmlUTF8Strsub'/> |
| 280 | <exports symbol='xmlUTF8Strlen'/> |
| 281 | </file> |
| 282 | <file name='list'> |
| 283 | <exports symbol='xmlLink'/> |
| 284 | <exports symbol='xmlLinkPtr'/> |
| 285 | <exports symbol='xmlList'/> |
| 286 | <exports symbol='xmlListPtr'/> |
| 287 | <exports symbol='xmlListDeallocator'/> |
| 288 | <exports symbol='xmlListDataCompare'/> |
| 289 | <exports symbol='xmlListWalker'/> |
| 290 | <exports symbol='xmlListCreate'/> |
| 291 | <exports symbol='xmlListDelete'/> |
| 292 | <exports symbol='xmlListSearch'/> |
| 293 | <exports symbol='xmlListReverseSearch'/> |
| 294 | <exports symbol='xmlListInsert'/> |
| 295 | <exports symbol='xmlListAppend'/> |
| 296 | <exports symbol='xmlListRemoveFirst'/> |
| 297 | <exports symbol='xmlListRemoveLast'/> |
| 298 | <exports symbol='xmlListRemoveAll'/> |
| 299 | <exports symbol='xmlListClear'/> |
| 300 | <exports symbol='xmlListEmpty'/> |
| 301 | <exports symbol='xmlListFront'/> |
| 302 | <exports symbol='xmlListEnd'/> |
| 303 | <exports symbol='xmlListSize'/> |
| 304 | <exports symbol='xmlListPopFront'/> |
| 305 | <exports symbol='xmlListPopBack'/> |
| 306 | <exports symbol='xmlListPushFront'/> |
| 307 | <exports symbol='xmlListPushBack'/> |
| 308 | <exports symbol='xmlListReverse'/> |
| 309 | <exports symbol='xmlListSort'/> |
| 310 | <exports symbol='xmlListWalk'/> |
| 311 | <exports symbol='xmlListReverseWalk'/> |
| 312 | <exports symbol='xmlListMerge'/> |
| 313 | <exports symbol='xmlListDup'/> |
| 314 | <exports symbol='xmlListCopy'/> |
| 315 | <exports symbol='xmlLinkGetData'/> |
| 316 | </file> |
| 317 | <file name='wincecompat'> |
| 318 | <exports symbol='MAX_STRERROR'/> |
| 319 | <exports symbol='O_RDONLY'/> |
| 320 | <exports symbol='O_WRONLY'/> |
| 321 | <exports symbol='O_RDWR'/> |
| 322 | <exports symbol='O_APPEND'/> |
| 323 | <exports symbol='O_CREAT'/> |
| 324 | <exports symbol='O_TRUNC'/> |
| 325 | <exports symbol='O_EXCL'/> |
| 326 | <exports symbol='errno'/> |
| 327 | <exports symbol='read'/> |
| 328 | <exports symbol='write'/> |
| 329 | <exports symbol='open'/> |
| 330 | <exports symbol='close'/> |
| 331 | <exports symbol='getenv'/> |
| 332 | <exports symbol='strerror'/> |
| 333 | <exports symbol='perror'/> |
| 334 | </file> |
| 335 | <file name='parser'> |
| 336 | <exports symbol='XML_DEFAULT_VERSION'/> |
| 337 | <exports symbol='xmlParserInputDeallocate'/> |
| 338 | <exports symbol='xmlParserInput'/> |
| 339 | <exports symbol='xmlParserNodeInfo'/> |
| 340 | <exports symbol='xmlParserNodeInfoPtr'/> |
| 341 | <exports symbol='xmlParserNodeInfoSeq'/> |
| 342 | <exports symbol='xmlParserNodeInfoSeqPtr'/> |
| 343 | <exports symbol='xmlParserInputState'/> |
| 344 | <exports symbol='XML_DETECT_IDS'/> |
| 345 | <exports symbol='XML_COMPLETE_ATTRS'/> |
| 346 | <exports symbol='xmlParserCtxt'/> |
| 347 | <exports symbol='xmlSAXLocator'/> |
| 348 | <exports symbol='resolveEntitySAXFunc'/> |
| 349 | <exports symbol='internalSubsetSAXFunc'/> |
| 350 | <exports symbol='externalSubsetSAXFunc'/> |
| 351 | <exports symbol='getEntitySAXFunc'/> |
| 352 | <exports symbol='getParameterEntitySAXFunc'/> |
| 353 | <exports symbol='entityDeclSAXFunc'/> |
| 354 | <exports symbol='notationDeclSAXFunc'/> |
| 355 | <exports symbol='attributeDeclSAXFunc'/> |
| 356 | <exports symbol='elementDeclSAXFunc'/> |
| 357 | <exports symbol='unparsedEntityDeclSAXFunc'/> |
| 358 | <exports symbol='setDocumentLocatorSAXFunc'/> |
| 359 | <exports symbol='startDocumentSAXFunc'/> |
| 360 | <exports symbol='endDocumentSAXFunc'/> |
| 361 | <exports symbol='startElementSAXFunc'/> |
| 362 | <exports symbol='endElementSAXFunc'/> |
| 363 | <exports symbol='attributeSAXFunc'/> |
| 364 | <exports symbol='referenceSAXFunc'/> |
| 365 | <exports symbol='charactersSAXFunc'/> |
| 366 | <exports symbol='ignorableWhitespaceSAXFunc'/> |
| 367 | <exports symbol='processingInstructionSAXFunc'/> |
| 368 | <exports symbol='commentSAXFunc'/> |
| 369 | <exports symbol='cdataBlockSAXFunc'/> |
| 370 | <exports symbol='warningSAXFunc'/> |
| 371 | <exports symbol='errorSAXFunc'/> |
| 372 | <exports symbol='fatalErrorSAXFunc'/> |
| 373 | <exports symbol='isStandaloneSAXFunc'/> |
| 374 | <exports symbol='hasInternalSubsetSAXFunc'/> |
| 375 | <exports symbol='hasExternalSubsetSAXFunc'/> |
| 376 | <exports symbol='xmlSAXHandler'/> |
| 377 | <exports symbol='xmlExternalEntityLoader'/> |
| 378 | <exports symbol='xmlInitParser'/> |
| 379 | <exports symbol='xmlCleanupParser'/> |
| 380 | <exports symbol='xmlParserInputRead'/> |
| 381 | <exports symbol='xmlParserInputGrow'/> |
| 382 | <exports symbol='xmlStrdup'/> |
| 383 | <exports symbol='xmlStrndup'/> |
| 384 | <exports symbol='xmlCharStrndup'/> |
| 385 | <exports symbol='xmlCharStrdup'/> |
| 386 | <exports symbol='xmlStrsub'/> |
| 387 | <exports symbol='xmlStrchr'/> |
| 388 | <exports symbol='xmlStrstr'/> |
| 389 | <exports symbol='xmlStrcasestr'/> |
| 390 | <exports symbol='xmlStrcmp'/> |
| 391 | <exports symbol='xmlStrncmp'/> |
| 392 | <exports symbol='xmlStrcasecmp'/> |
| 393 | <exports symbol='xmlStrncasecmp'/> |
| 394 | <exports symbol='xmlStrEqual'/> |
| 395 | <exports symbol='xmlStrlen'/> |
| 396 | <exports symbol='xmlStrcat'/> |
| 397 | <exports symbol='xmlStrncat'/> |
| 398 | <exports symbol='xmlParseDoc'/> |
| 399 | <exports symbol='xmlParseMemory'/> |
| 400 | <exports symbol='xmlParseFile'/> |
| 401 | <exports symbol='xmlSubstituteEntitiesDefault'/> |
| 402 | <exports symbol='xmlKeepBlanksDefault'/> |
| 403 | <exports symbol='xmlStopParser'/> |
| 404 | <exports symbol='xmlPedanticParserDefault'/> |
| 405 | <exports symbol='xmlLineNumbersDefault'/> |
| 406 | <exports symbol='xmlRecoverDoc'/> |
| 407 | <exports symbol='xmlRecoverMemory'/> |
| 408 | <exports symbol='xmlRecoverFile'/> |
| 409 | <exports symbol='xmlParseDocument'/> |
| 410 | <exports symbol='xmlParseExtParsedEnt'/> |
| 411 | <exports symbol='xmlSAXParseDoc'/> |
| 412 | <exports symbol='xmlSAXUserParseFile'/> |
| 413 | <exports symbol='xmlSAXUserParseMemory'/> |
| 414 | <exports symbol='xmlSAXParseMemory'/> |
| 415 | <exports symbol='xmlSAXParseMemoryWithData'/> |
| 416 | <exports symbol='xmlSAXParseFile'/> |
| 417 | <exports symbol='xmlSAXParseFileWithData'/> |
| 418 | <exports symbol='xmlSAXParseEntity'/> |
| 419 | <exports symbol='xmlParseEntity'/> |
| 420 | <exports symbol='xmlParseDTD'/> |
| 421 | <exports symbol='xmlSAXParseDTD'/> |
| 422 | <exports symbol='xmlIOParseDTD'/> |
| 423 | <exports symbol='xmlParseBalancedChunkMemory'/> |
| 424 | <exports symbol='xmlParseBalancedChunkMemoryRecover'/> |
| 425 | <exports symbol='xmlParseExternalEntity'/> |
| 426 | <exports symbol='xmlParseCtxtExternalEntity'/> |
| 427 | <exports symbol='xmlInitParserCtxt'/> |
| 428 | <exports symbol='xmlClearParserCtxt'/> |
| 429 | <exports symbol='xmlFreeParserCtxt'/> |
| 430 | <exports symbol='xmlSetupParserForBuffer'/> |
| 431 | <exports symbol='xmlCreateDocParserCtxt'/> |
| 432 | <exports symbol='xmlGetFeaturesList'/> |
| 433 | <exports symbol='xmlGetFeature'/> |
| 434 | <exports symbol='xmlSetFeature'/> |
| 435 | <exports symbol='xmlCreatePushParserCtxt'/> |
| 436 | <exports symbol='xmlParseChunk'/> |
| 437 | <exports symbol='xmlCreateIOParserCtxt'/> |
| 438 | <exports symbol='xmlNewIOInputStream'/> |
| 439 | <exports symbol='xmlParserFindNodeInfo'/> |
| 440 | <exports symbol='xmlInitNodeInfoSeq'/> |
| 441 | <exports symbol='xmlClearNodeInfoSeq'/> |
| 442 | <exports symbol='xmlParserFindNodeInfoIndex'/> |
| 443 | <exports symbol='xmlParserAddNodeInfo'/> |
| 444 | <exports symbol='xmlSetExternalEntityLoader'/> |
| 445 | <exports symbol='xmlGetExternalEntityLoader'/> |
| 446 | <exports symbol='xmlLoadExternalEntity'/> |
| 447 | </file> |
| 448 | <file name='SAX'> |
| 449 | <exports symbol='getPublicId'/> |
| 450 | <exports symbol='getSystemId'/> |
| 451 | <exports symbol='setDocumentLocator'/> |
| 452 | <exports symbol='getLineNumber'/> |
| 453 | <exports symbol='getColumnNumber'/> |
| 454 | <exports symbol='isStandalone'/> |
| 455 | <exports symbol='hasInternalSubset'/> |
| 456 | <exports symbol='hasExternalSubset'/> |
| 457 | <exports symbol='internalSubset'/> |
| 458 | <exports symbol='externalSubset'/> |
| 459 | <exports symbol='getEntity'/> |
| 460 | <exports symbol='getParameterEntity'/> |
| 461 | <exports symbol='resolveEntity'/> |
| 462 | <exports symbol='entityDecl'/> |
| 463 | <exports symbol='attributeDecl'/> |
| 464 | <exports symbol='elementDecl'/> |
| 465 | <exports symbol='notationDecl'/> |
| 466 | <exports symbol='unparsedEntityDecl'/> |
| 467 | <exports symbol='startDocument'/> |
| 468 | <exports symbol='endDocument'/> |
| 469 | <exports symbol='attribute'/> |
| 470 | <exports symbol='startElement'/> |
| 471 | <exports symbol='endElement'/> |
| 472 | <exports symbol='reference'/> |
| 473 | <exports symbol='characters'/> |
| 474 | <exports symbol='ignorableWhitespace'/> |
| 475 | <exports symbol='processingInstruction'/> |
| 476 | <exports symbol='globalNamespace'/> |
| 477 | <exports symbol='setNamespace'/> |
| 478 | <exports symbol='getNamespace'/> |
| 479 | <exports symbol='checkNamespace'/> |
| 480 | <exports symbol='namespaceDecl'/> |
| 481 | <exports symbol='comment'/> |
| 482 | <exports symbol='cdataBlock'/> |
| 483 | <exports symbol='initxmlDefaultSAXHandler'/> |
| 484 | <exports symbol='inithtmlDefaultSAXHandler'/> |
| 485 | <exports symbol='initdocbDefaultSAXHandler'/> |
| 486 | <exports symbol='xmlDefaultSAXHandlerInit'/> |
| 487 | <exports symbol='htmlDefaultSAXHandlerInit'/> |
| 488 | <exports symbol='docbDefaultSAXHandlerInit'/> |
| 489 | </file> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 490 | <file name='parserInternals'> |
| 491 | <exports symbol='XML_MAX_NAMELEN'/> |
| 492 | <exports symbol='INPUT_CHUNK'/> |
| 493 | <exports symbol='IS_CHAR'/> |
| 494 | <exports symbol='IS_BLANK'/> |
| 495 | <exports symbol='IS_BASECHAR'/> |
| 496 | <exports symbol='IS_DIGIT'/> |
| 497 | <exports symbol='IS_COMBINING'/> |
| 498 | <exports symbol='IS_EXTENDER'/> |
| 499 | <exports symbol='IS_IDEOGRAPHIC'/> |
| 500 | <exports symbol='IS_LETTER'/> |
| 501 | <exports symbol='IS_PUBIDCHAR'/> |
| 502 | <exports symbol='SKIP_EOL'/> |
| 503 | <exports symbol='MOVETO_ENDTAG'/> |
| 504 | <exports symbol='MOVETO_STARTTAG'/> |
| 505 | <exports symbol='xmlIsBaseChar'/> |
| 506 | <exports symbol='xmlIsBlank'/> |
| 507 | <exports symbol='xmlIsPubidChar'/> |
| 508 | <exports symbol='xmlIsLetter'/> |
| 509 | <exports symbol='xmlIsDigit'/> |
| 510 | <exports symbol='xmlIsIdeographic'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 511 | <exports symbol='xmlIsExtender'/> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 512 | <exports symbol='xmlIsCombining'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 513 | <exports symbol='xmlIsChar'/> |
| 514 | <exports symbol='xmlCreateFileParserCtxt'/> |
| 515 | <exports symbol='xmlCreateMemoryParserCtxt'/> |
| 516 | <exports symbol='xmlNewParserCtxt'/> |
| 517 | <exports symbol='xmlCreateEntityParserCtxt'/> |
| 518 | <exports symbol='xmlSwitchEncoding'/> |
| 519 | <exports symbol='xmlSwitchToEncoding'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 520 | <exports symbol='xmlHandleEntity'/> |
| 521 | <exports symbol='xmlNewStringInputStream'/> |
| 522 | <exports symbol='xmlNewEntityInputStream'/> |
| 523 | <exports symbol='xmlPushInput'/> |
| 524 | <exports symbol='xmlPopInput'/> |
| 525 | <exports symbol='xmlFreeInputStream'/> |
| 526 | <exports symbol='xmlNewInputFromFile'/> |
| 527 | <exports symbol='xmlNewInputStream'/> |
| 528 | <exports symbol='xmlSplitQName'/> |
| 529 | <exports symbol='xmlNamespaceParseNCName'/> |
| 530 | <exports symbol='xmlNamespaceParseQName'/> |
| 531 | <exports symbol='xmlNamespaceParseNSDef'/> |
| 532 | <exports symbol='xmlParseQuotedString'/> |
| 533 | <exports symbol='xmlParseNamespace'/> |
| 534 | <exports symbol='xmlScanName'/> |
| 535 | <exports symbol='xmlParseName'/> |
| 536 | <exports symbol='xmlParseNmtoken'/> |
| 537 | <exports symbol='xmlParseEntityValue'/> |
| 538 | <exports symbol='xmlParseAttValue'/> |
| 539 | <exports symbol='xmlParseSystemLiteral'/> |
| 540 | <exports symbol='xmlParsePubidLiteral'/> |
| 541 | <exports symbol='xmlParseCharData'/> |
| 542 | <exports symbol='xmlParseExternalID'/> |
| 543 | <exports symbol='xmlParseComment'/> |
| 544 | <exports symbol='xmlParsePITarget'/> |
| 545 | <exports symbol='xmlParsePI'/> |
| 546 | <exports symbol='xmlParseNotationDecl'/> |
| 547 | <exports symbol='xmlParseEntityDecl'/> |
| 548 | <exports symbol='xmlParseDefaultDecl'/> |
| 549 | <exports symbol='xmlParseNotationType'/> |
| 550 | <exports symbol='xmlParseEnumerationType'/> |
| 551 | <exports symbol='xmlParseEnumeratedType'/> |
| 552 | <exports symbol='xmlParseAttributeType'/> |
| 553 | <exports symbol='xmlParseAttributeListDecl'/> |
| 554 | <exports symbol='xmlParseElementMixedContentDecl'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 555 | <exports symbol='xmlParseElementChildrenContentDecl'/> |
| 556 | <exports symbol='xmlParseElementContentDecl'/> |
| 557 | <exports symbol='xmlParseElementDecl'/> |
| 558 | <exports symbol='xmlParseMarkupDecl'/> |
| 559 | <exports symbol='xmlParseCharRef'/> |
| 560 | <exports symbol='xmlParseEntityRef'/> |
| 561 | <exports symbol='xmlParseReference'/> |
| 562 | <exports symbol='xmlParsePEReference'/> |
| 563 | <exports symbol='xmlParseDocTypeDecl'/> |
| 564 | <exports symbol='xmlParseAttribute'/> |
| 565 | <exports symbol='xmlParseStartTag'/> |
| 566 | <exports symbol='xmlParseEndTag'/> |
| 567 | <exports symbol='xmlParseCDSect'/> |
| 568 | <exports symbol='xmlParseContent'/> |
| 569 | <exports symbol='xmlParseElement'/> |
| 570 | <exports symbol='xmlParseVersionNum'/> |
| 571 | <exports symbol='xmlParseVersionInfo'/> |
| 572 | <exports symbol='xmlParseEncName'/> |
| 573 | <exports symbol='xmlParseEncodingDecl'/> |
| 574 | <exports symbol='xmlParseSDDecl'/> |
| 575 | <exports symbol='xmlParseXMLDecl'/> |
| 576 | <exports symbol='xmlParseTextDecl'/> |
| 577 | <exports symbol='xmlParseMisc'/> |
| 578 | <exports symbol='xmlParseExternalSubset'/> |
| 579 | <exports symbol='XML_SUBSTITUTE_NONE'/> |
| 580 | <exports symbol='XML_SUBSTITUTE_REF'/> |
| 581 | <exports symbol='XML_SUBSTITUTE_PEREF'/> |
| 582 | <exports symbol='XML_SUBSTITUTE_BOTH'/> |
| 583 | <exports symbol='xmlDecodeEntities'/> |
| 584 | <exports symbol='xmlStringDecodeEntities'/> |
| 585 | <exports symbol='nodePush'/> |
| 586 | <exports symbol='nodePop'/> |
| 587 | <exports symbol='inputPush'/> |
| 588 | <exports symbol='inputPop'/> |
| 589 | <exports symbol='namePop'/> |
| 590 | <exports symbol='namePush'/> |
| 591 | <exports symbol='xmlSkipBlankChars'/> |
| 592 | <exports symbol='xmlStringCurrentChar'/> |
| 593 | <exports symbol='xmlParserHandlePEReference'/> |
| 594 | <exports symbol='xmlParserHandleReference'/> |
| 595 | <exports symbol='xmlCheckLanguageID'/> |
| 596 | <exports symbol='xmlCurrentChar'/> |
| 597 | <exports symbol='xmlCopyCharMultiByte'/> |
| 598 | <exports symbol='xmlCopyChar'/> |
| 599 | <exports symbol='xmlNextChar'/> |
| 600 | <exports symbol='xmlParserInputShrink'/> |
| 601 | <exports symbol='htmlInitAutoClose'/> |
| 602 | <exports symbol='htmlCreateFileParserCtxt'/> |
| 603 | <exports symbol='xmlEntityReferenceFunc'/> |
| 604 | <exports symbol='xmlSetEntityReferenceFunc'/> |
| 605 | </file> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 606 | <file name='globals'> |
| 607 | <exports symbol='xmlGlobalState'/> |
| 608 | <exports symbol='xmlGlobalStatePtr'/> |
| 609 | <exports symbol='xmlInitializeGlobalState'/> |
| 610 | <exports symbol='xmlMalloc'/> |
| 611 | <exports symbol='xmlRealloc'/> |
| 612 | <exports symbol='xmlFree'/> |
| 613 | <exports symbol='xmlMemStrdup'/> |
| 614 | <exports symbol='docbDefaultSAXHandler'/> |
| 615 | <exports symbol='htmlDefaultSAXHandler'/> |
| 616 | <exports symbol='oldXMLWDcompatibility'/> |
| 617 | <exports symbol='xmlBufferAllocScheme'/> |
| 618 | <exports symbol='xmlDefaultBufferSize'/> |
| 619 | <exports symbol='xmlDefaultSAXHandler'/> |
| 620 | <exports symbol='xmlDefaultSAXLocator'/> |
| 621 | <exports symbol='xmlDoValidityCheckingDefaultValue'/> |
| 622 | <exports symbol='xmlGenericError'/> |
| 623 | <exports symbol='xmlGenericErrorContext'/> |
| 624 | <exports symbol='xmlGetWarningsDefaultValue'/> |
| 625 | <exports symbol='xmlIndentTreeOutput'/> |
| 626 | <exports symbol='xmlTreeIndentString'/> |
| 627 | <exports symbol='xmlKeepBlanksDefaultValue'/> |
| 628 | <exports symbol='xmlLineNumbersDefaultValue'/> |
| 629 | <exports symbol='xmlLoadExtDtdDefaultValue'/> |
| 630 | <exports symbol='xmlParserDebugEntities'/> |
| 631 | <exports symbol='xmlParserVersion'/> |
| 632 | <exports symbol='xmlPedanticParserDefaultValue'/> |
| 633 | <exports symbol='xmlSaveNoEmptyTags'/> |
| 634 | <exports symbol='xmlSubstituteEntitiesDefaultValue'/> |
| 635 | </file> |
| 636 | <file name='threads'> |
| 637 | <exports symbol='xmlMutex'/> |
| 638 | <exports symbol='xmlMutexPtr'/> |
| 639 | <exports symbol='xmlRMutex'/> |
| 640 | <exports symbol='xmlRMutexPtr'/> |
| 641 | <exports symbol='xmlNewMutex'/> |
| 642 | <exports symbol='xmlMutexLock'/> |
| 643 | <exports symbol='xmlMutexUnlock'/> |
| 644 | <exports symbol='xmlFreeMutex'/> |
| 645 | <exports symbol='xmlNewRMutex'/> |
| 646 | <exports symbol='xmlRMutexLock'/> |
| 647 | <exports symbol='xmlRMutexUnlock'/> |
| 648 | <exports symbol='xmlFreeRMutex'/> |
| 649 | <exports symbol='xmlInitThreads'/> |
| 650 | <exports symbol='xmlLockLibrary'/> |
| 651 | <exports symbol='xmlUnlockLibrary'/> |
| 652 | <exports symbol='xmlGetThreadId'/> |
| 653 | <exports symbol='xmlIsMainThread'/> |
| 654 | <exports symbol='xmlCleanupThreads'/> |
| 655 | <exports symbol='xmlGetGlobalState'/> |
| 656 | </file> |
| 657 | <file name='xmlwin32version'> |
| 658 | <exports symbol='xmlCheckVersion'/> |
| 659 | <exports symbol='LIBXML_DOTTED_VERSION'/> |
| 660 | <exports symbol='LIBXML_VERSION'/> |
| 661 | <exports symbol='LIBXML_VERSION_STRING'/> |
| 662 | <exports symbol='LIBXML_TEST_VERSION'/> |
| 663 | <exports symbol='WITH_TRIO'/> |
| 664 | <exports symbol='WITHOUT_TRIO'/> |
| 665 | <exports symbol='LIBXML_THREAD_ENABLED'/> |
| 666 | <exports symbol='LIBXML_FTP_ENABLED'/> |
| 667 | <exports symbol='LIBXML_HTTP_ENABLED'/> |
| 668 | <exports symbol='LIBXML_HTML_ENABLED'/> |
| 669 | <exports symbol='LIBXML_CATALOG_ENABLED'/> |
| 670 | <exports symbol='LIBXML_DOCB_ENABLED'/> |
| 671 | <exports symbol='LIBXML_XPATH_ENABLED'/> |
| 672 | <exports symbol='LIBXML_XPTR_ENABLED'/> |
| 673 | <exports symbol='LIBXML_C14N_ENABLED'/> |
| 674 | <exports symbol='LIBXML_XINCLUDE_ENABLED'/> |
| 675 | <exports symbol='LIBXML_ICONV_ENABLED'/> |
| 676 | <exports symbol='LIBXML_DEBUG_ENABLED'/> |
| 677 | <exports symbol='DEBUG_MEMORY_LOCATION'/> |
| 678 | <exports symbol='LIBXML_DLL_IMPORT'/> |
| 679 | <exports symbol='ATTRIBUTE_UNUSED'/> |
| 680 | </file> |
| 681 | <file name='hash'> |
| 682 | <exports symbol='xmlHashTable'/> |
| 683 | <exports symbol='xmlHashTablePtr'/> |
| 684 | <exports symbol='xmlHashDeallocator'/> |
| 685 | <exports symbol='xmlHashCopier'/> |
| 686 | <exports symbol='xmlHashScanner'/> |
| 687 | <exports symbol='xmlHashScannerFull'/> |
| 688 | <exports symbol='xmlHashCreate'/> |
| 689 | <exports symbol='xmlHashFree'/> |
| 690 | <exports symbol='xmlHashAddEntry'/> |
| 691 | <exports symbol='xmlHashUpdateEntry'/> |
| 692 | <exports symbol='xmlHashAddEntry2'/> |
| 693 | <exports symbol='xmlHashUpdateEntry2'/> |
| 694 | <exports symbol='xmlHashAddEntry3'/> |
| 695 | <exports symbol='xmlHashUpdateEntry3'/> |
| 696 | <exports symbol='xmlHashRemoveEntry'/> |
| 697 | <exports symbol='xmlHashRemoveEntry2'/> |
| 698 | <exports symbol='xmlHashRemoveEntry3'/> |
| 699 | <exports symbol='xmlHashLookup'/> |
| 700 | <exports symbol='xmlHashLookup2'/> |
| 701 | <exports symbol='xmlHashLookup3'/> |
| 702 | <exports symbol='xmlHashCopy'/> |
| 703 | <exports symbol='xmlHashSize'/> |
| 704 | <exports symbol='xmlHashScan'/> |
| 705 | <exports symbol='xmlHashScan3'/> |
| 706 | <exports symbol='xmlHashScanFull'/> |
| 707 | <exports symbol='xmlHashScanFull3'/> |
| 708 | </file> |
| 709 | <file name='schemasInternals'> |
| 710 | <exports symbol='xmlSchemaTypeType'/> |
| 711 | <exports symbol='xmlSchemaContentType'/> |
| 712 | <exports symbol='xmlSchemaVal'/> |
| 713 | <exports symbol='xmlSchemaValPtr'/> |
| 714 | <exports symbol='xmlSchemaType'/> |
| 715 | <exports symbol='xmlSchemaTypePtr'/> |
| 716 | <exports symbol='xmlSchemaFacet'/> |
| 717 | <exports symbol='xmlSchemaFacetPtr'/> |
| 718 | <exports symbol='xmlSchemaAnnot'/> |
| 719 | <exports symbol='xmlSchemaAnnotPtr'/> |
| 720 | <exports symbol='XML_SCHEMAS_ANYATTR_SKIP'/> |
| 721 | <exports symbol='XML_SCHEMAS_ANYATTR_LAX'/> |
| 722 | <exports symbol='XML_SCHEMAS_ANYATTR_STRICT'/> |
| 723 | <exports symbol='xmlSchemaAttribute'/> |
| 724 | <exports symbol='xmlSchemaAttributePtr'/> |
| 725 | <exports symbol='xmlSchemaAttributeGroup'/> |
| 726 | <exports symbol='xmlSchemaAttributeGroupPtr'/> |
| 727 | <exports symbol='XML_SCHEMAS_TYPE_MIXED'/> |
| 728 | <exports symbol='XML_SCHEMAS_ELEM_NILLABLE'/> |
| 729 | <exports symbol='XML_SCHEMAS_ELEM_GLOBAL'/> |
| 730 | <exports symbol='XML_SCHEMAS_ELEM_DEFAULT'/> |
| 731 | <exports symbol='XML_SCHEMAS_ELEM_FIXED'/> |
| 732 | <exports symbol='XML_SCHEMAS_ELEM_ABSTRACT'/> |
| 733 | <exports symbol='XML_SCHEMAS_ELEM_TOPLEVEL'/> |
| 734 | <exports symbol='XML_SCHEMAS_ELEM_REF'/> |
| 735 | <exports symbol='xmlSchemaElement'/> |
| 736 | <exports symbol='xmlSchemaElementPtr'/> |
| 737 | <exports symbol='XML_SCHEMAS_FACET_UNKNOWN'/> |
| 738 | <exports symbol='XML_SCHEMAS_FACET_PRESERVE'/> |
| 739 | <exports symbol='XML_SCHEMAS_FACET_REPLACE'/> |
| 740 | <exports symbol='XML_SCHEMAS_FACET_COLLAPSE'/> |
| 741 | <exports symbol='xmlSchemaNotation'/> |
| 742 | <exports symbol='xmlSchemaNotationPtr'/> |
| 743 | <exports symbol='XML_SCHEMAS_QUALIF_ELEM'/> |
| 744 | <exports symbol='XML_SCHEMAS_QUALIF_ATTR'/> |
| 745 | <exports symbol='xmlSchema'/> |
| 746 | <exports symbol='xmlSchemaFreeType'/> |
| 747 | </file> |
| 748 | <file name='xinclude'> |
| 749 | <exports symbol='xmlXIncludeProcess'/> |
| 750 | </file> |
| 751 | <file name='xmlautomata'> |
| 752 | <exports symbol='xmlAutomata'/> |
| 753 | <exports symbol='xmlAutomataPtr'/> |
| 754 | <exports symbol='xmlAutomataState'/> |
| 755 | <exports symbol='xmlAutomataStatePtr'/> |
| 756 | <exports symbol='xmlNewAutomata'/> |
| 757 | <exports symbol='xmlFreeAutomata'/> |
| 758 | <exports symbol='xmlAutomataGetInitState'/> |
| 759 | <exports symbol='xmlAutomataSetFinalState'/> |
| 760 | <exports symbol='xmlAutomataNewState'/> |
| 761 | <exports symbol='xmlAutomataNewTransition'/> |
| 762 | <exports symbol='xmlAutomataNewCountTrans'/> |
| 763 | <exports symbol='xmlAutomataNewOnceTrans'/> |
| 764 | <exports symbol='xmlAutomataNewAllTrans'/> |
| 765 | <exports symbol='xmlAutomataNewEpsilon'/> |
| 766 | <exports symbol='xmlAutomataNewCountedTrans'/> |
| 767 | <exports symbol='xmlAutomataNewCounterTrans'/> |
| 768 | <exports symbol='xmlAutomataNewCounter'/> |
| 769 | <exports symbol='xmlAutomataCompile'/> |
| 770 | <exports symbol='xmlAutomataIsDeterminist'/> |
| 771 | </file> |
| 772 | <file name='c14n'> |
| 773 | <exports symbol='xmlC14NDocSaveTo'/> |
| 774 | <exports symbol='xmlC14NDocDumpMemory'/> |
| 775 | <exports symbol='xmlC14NDocSave'/> |
| 776 | <exports symbol='xmlC14NIsVisibleCallback'/> |
| 777 | <exports symbol='xmlC14NExecute'/> |
| 778 | </file> |
| 779 | <file name='HTMLtree'> |
| 780 | <exports symbol='HTML_TEXT_NODE'/> |
| 781 | <exports symbol='HTML_ENTITY_REF_NODE'/> |
| 782 | <exports symbol='HTML_COMMENT_NODE'/> |
| 783 | <exports symbol='HTML_PRESERVE_NODE'/> |
| 784 | <exports symbol='HTML_PI_NODE'/> |
| 785 | <exports symbol='htmlNewDoc'/> |
| 786 | <exports symbol='htmlNewDocNoDtD'/> |
| 787 | <exports symbol='htmlGetMetaEncoding'/> |
| 788 | <exports symbol='htmlSetMetaEncoding'/> |
| 789 | <exports symbol='htmlDocDumpMemory'/> |
| 790 | <exports symbol='htmlDocDump'/> |
| 791 | <exports symbol='htmlSaveFile'/> |
| 792 | <exports symbol='htmlNodeDump'/> |
| 793 | <exports symbol='htmlNodeDumpFile'/> |
| 794 | <exports symbol='htmlNodeDumpFileFormat'/> |
| 795 | <exports symbol='htmlSaveFileEnc'/> |
| 796 | <exports symbol='htmlSaveFileFormat'/> |
| 797 | <exports symbol='htmlNodeDumpFormatOutput'/> |
| 798 | <exports symbol='htmlDocContentDumpOutput'/> |
| 799 | <exports symbol='htmlDocContentDumpFormatOutput'/> |
| 800 | <exports symbol='htmlIsBooleanAttr'/> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 801 | </file> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 802 | <file name='DOCBparser'> |
| 803 | <exports symbol='docbParserCtxt'/> |
| 804 | <exports symbol='docbParserCtxtPtr'/> |
| 805 | <exports symbol='docbParserNodeInfo'/> |
| 806 | <exports symbol='docbSAXHandler'/> |
| 807 | <exports symbol='docbSAXHandlerPtr'/> |
| 808 | <exports symbol='docbParserInput'/> |
| 809 | <exports symbol='docbParserInputPtr'/> |
| 810 | <exports symbol='docbDocPtr'/> |
| 811 | <exports symbol='docbNodePtr'/> |
| 812 | <exports symbol='docbEncodeEntities'/> |
| 813 | <exports symbol='docbSAXParseDoc'/> |
| 814 | <exports symbol='docbParseDoc'/> |
| 815 | <exports symbol='docbSAXParseFile'/> |
| 816 | <exports symbol='docbParseFile'/> |
| 817 | <exports symbol='docbFreeParserCtxt'/> |
| 818 | <exports symbol='docbCreatePushParserCtxt'/> |
| 819 | <exports symbol='docbParseChunk'/> |
| 820 | <exports symbol='docbCreateFileParserCtxt'/> |
| 821 | <exports symbol='docbParseDocument'/> |
| 822 | </file> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 823 | <file name='xpointer'> |
| 824 | <exports symbol='xmlLocationSet'/> |
| 825 | <exports symbol='xmlLocationSetPtr'/> |
| 826 | <exports symbol='xmlXPtrLocationSetCreate'/> |
| 827 | <exports symbol='xmlXPtrFreeLocationSet'/> |
| 828 | <exports symbol='xmlXPtrLocationSetMerge'/> |
| 829 | <exports symbol='xmlXPtrNewRange'/> |
| 830 | <exports symbol='xmlXPtrNewRangePoints'/> |
| 831 | <exports symbol='xmlXPtrNewRangeNodePoint'/> |
| 832 | <exports symbol='xmlXPtrNewRangePointNode'/> |
| 833 | <exports symbol='xmlXPtrNewRangeNodes'/> |
| 834 | <exports symbol='xmlXPtrNewLocationSetNodes'/> |
| 835 | <exports symbol='xmlXPtrNewLocationSetNodeSet'/> |
| 836 | <exports symbol='xmlXPtrNewRangeNodeObject'/> |
| 837 | <exports symbol='xmlXPtrNewCollapsedRange'/> |
| 838 | <exports symbol='xmlXPtrLocationSetAdd'/> |
| 839 | <exports symbol='xmlXPtrWrapLocationSet'/> |
| 840 | <exports symbol='xmlXPtrLocationSetDel'/> |
| 841 | <exports symbol='xmlXPtrLocationSetRemove'/> |
| 842 | <exports symbol='xmlXPtrNewContext'/> |
| 843 | <exports symbol='xmlXPtrEval'/> |
| 844 | <exports symbol='xmlXPtrRangeToFunction'/> |
| 845 | <exports symbol='xmlXPtrBuildNodeList'/> |
| 846 | <exports symbol='xmlXPtrEvalRangePredicate'/> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 847 | </file> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 848 | <file name='xmlunicode'> |
| 849 | <exports symbol='xmlUCSIsAlphabeticPresentationForms'/> |
| 850 | <exports symbol='xmlUCSIsArabic'/> |
| 851 | <exports symbol='xmlUCSIsArabicPresentationFormsA'/> |
| 852 | <exports symbol='xmlUCSIsArabicPresentationFormsB'/> |
| 853 | <exports symbol='xmlUCSIsArmenian'/> |
| 854 | <exports symbol='xmlUCSIsArrows'/> |
| 855 | <exports symbol='xmlUCSIsBasicLatin'/> |
| 856 | <exports symbol='xmlUCSIsBengali'/> |
| 857 | <exports symbol='xmlUCSIsBlockElements'/> |
| 858 | <exports symbol='xmlUCSIsBopomofo'/> |
| 859 | <exports symbol='xmlUCSIsBopomofoExtended'/> |
| 860 | <exports symbol='xmlUCSIsBoxDrawing'/> |
| 861 | <exports symbol='xmlUCSIsBraillePatterns'/> |
| 862 | <exports symbol='xmlUCSIsByzantineMusicalSymbols'/> |
| 863 | <exports symbol='xmlUCSIsCJKCompatibility'/> |
| 864 | <exports symbol='xmlUCSIsCJKCompatibilityForms'/> |
| 865 | <exports symbol='xmlUCSIsCJKCompatibilityIdeographs'/> |
| 866 | <exports symbol='xmlUCSIsCJKCompatibilityIdeographsSupplement'/> |
| 867 | <exports symbol='xmlUCSIsCJKRadicalsSupplement'/> |
| 868 | <exports symbol='xmlUCSIsCJKSymbolsandPunctuation'/> |
| 869 | <exports symbol='xmlUCSIsCJKUnifiedIdeographs'/> |
| 870 | <exports symbol='xmlUCSIsCJKUnifiedIdeographsExtensionA'/> |
| 871 | <exports symbol='xmlUCSIsCJKUnifiedIdeographsExtensionB'/> |
| 872 | <exports symbol='xmlUCSIsCherokee'/> |
| 873 | <exports symbol='xmlUCSIsCombiningDiacriticalMarks'/> |
| 874 | <exports symbol='xmlUCSIsCombiningHalfMarks'/> |
| 875 | <exports symbol='xmlUCSIsCombiningMarksforSymbols'/> |
| 876 | <exports symbol='xmlUCSIsControlPictures'/> |
| 877 | <exports symbol='xmlUCSIsCurrencySymbols'/> |
| 878 | <exports symbol='xmlUCSIsCyrillic'/> |
| 879 | <exports symbol='xmlUCSIsDeseret'/> |
| 880 | <exports symbol='xmlUCSIsDevanagari'/> |
| 881 | <exports symbol='xmlUCSIsDingbats'/> |
| 882 | <exports symbol='xmlUCSIsEnclosedAlphanumerics'/> |
| 883 | <exports symbol='xmlUCSIsEnclosedCJKLettersandMonths'/> |
| 884 | <exports symbol='xmlUCSIsEthiopic'/> |
| 885 | <exports symbol='xmlUCSIsGeneralPunctuation'/> |
| 886 | <exports symbol='xmlUCSIsGeometricShapes'/> |
| 887 | <exports symbol='xmlUCSIsGeorgian'/> |
| 888 | <exports symbol='xmlUCSIsGothic'/> |
| 889 | <exports symbol='xmlUCSIsGreek'/> |
| 890 | <exports symbol='xmlUCSIsGreekExtended'/> |
| 891 | <exports symbol='xmlUCSIsGujarati'/> |
| 892 | <exports symbol='xmlUCSIsGurmukhi'/> |
| 893 | <exports symbol='xmlUCSIsHalfwidthandFullwidthForms'/> |
| 894 | <exports symbol='xmlUCSIsHangulCompatibilityJamo'/> |
| 895 | <exports symbol='xmlUCSIsHangulJamo'/> |
| 896 | <exports symbol='xmlUCSIsHangulSyllables'/> |
| 897 | <exports symbol='xmlUCSIsHebrew'/> |
| 898 | <exports symbol='xmlUCSIsHighPrivateUseSurrogates'/> |
| 899 | <exports symbol='xmlUCSIsHighSurrogates'/> |
| 900 | <exports symbol='xmlUCSIsHiragana'/> |
| 901 | <exports symbol='xmlUCSIsIPAExtensions'/> |
| 902 | <exports symbol='xmlUCSIsIdeographicDescriptionCharacters'/> |
| 903 | <exports symbol='xmlUCSIsKanbun'/> |
| 904 | <exports symbol='xmlUCSIsKangxiRadicals'/> |
| 905 | <exports symbol='xmlUCSIsKannada'/> |
| 906 | <exports symbol='xmlUCSIsKatakana'/> |
| 907 | <exports symbol='xmlUCSIsKhmer'/> |
| 908 | <exports symbol='xmlUCSIsLao'/> |
| 909 | <exports symbol='xmlUCSIsLatin1Supplement'/> |
| 910 | <exports symbol='xmlUCSIsLatinExtendedA'/> |
| 911 | <exports symbol='xmlUCSIsLatinExtendedB'/> |
| 912 | <exports symbol='xmlUCSIsLatinExtendedAdditional'/> |
| 913 | <exports symbol='xmlUCSIsLetterlikeSymbols'/> |
| 914 | <exports symbol='xmlUCSIsLowSurrogates'/> |
| 915 | <exports symbol='xmlUCSIsMalayalam'/> |
| 916 | <exports symbol='xmlUCSIsMathematicalAlphanumericSymbols'/> |
| 917 | <exports symbol='xmlUCSIsMathematicalOperators'/> |
| 918 | <exports symbol='xmlUCSIsMiscellaneousSymbols'/> |
| 919 | <exports symbol='xmlUCSIsMiscellaneousTechnical'/> |
| 920 | <exports symbol='xmlUCSIsMongolian'/> |
| 921 | <exports symbol='xmlUCSIsMusicalSymbols'/> |
| 922 | <exports symbol='xmlUCSIsMyanmar'/> |
| 923 | <exports symbol='xmlUCSIsNumberForms'/> |
| 924 | <exports symbol='xmlUCSIsOgham'/> |
| 925 | <exports symbol='xmlUCSIsOldItalic'/> |
| 926 | <exports symbol='xmlUCSIsOpticalCharacterRecognition'/> |
| 927 | <exports symbol='xmlUCSIsOriya'/> |
| 928 | <exports symbol='xmlUCSIsPrivateUse'/> |
| 929 | <exports symbol='xmlUCSIsRunic'/> |
| 930 | <exports symbol='xmlUCSIsSinhala'/> |
| 931 | <exports symbol='xmlUCSIsSmallFormVariants'/> |
| 932 | <exports symbol='xmlUCSIsSpacingModifierLetters'/> |
| 933 | <exports symbol='xmlUCSIsSpecials'/> |
| 934 | <exports symbol='xmlUCSIsSuperscriptsandSubscripts'/> |
| 935 | <exports symbol='xmlUCSIsSyriac'/> |
| 936 | <exports symbol='xmlUCSIsTags'/> |
| 937 | <exports symbol='xmlUCSIsTamil'/> |
| 938 | <exports symbol='xmlUCSIsTelugu'/> |
| 939 | <exports symbol='xmlUCSIsThaana'/> |
| 940 | <exports symbol='xmlUCSIsThai'/> |
| 941 | <exports symbol='xmlUCSIsTibetan'/> |
| 942 | <exports symbol='xmlUCSIsUnifiedCanadianAboriginalSyllabics'/> |
| 943 | <exports symbol='xmlUCSIsYiRadicals'/> |
| 944 | <exports symbol='xmlUCSIsYiSyllables'/> |
| 945 | <exports symbol='xmlUCSIsBlock'/> |
| 946 | <exports symbol='xmlUCSIsCatC'/> |
| 947 | <exports symbol='xmlUCSIsCatCc'/> |
| 948 | <exports symbol='xmlUCSIsCatCf'/> |
| 949 | <exports symbol='xmlUCSIsCatCo'/> |
| 950 | <exports symbol='xmlUCSIsCatCs'/> |
| 951 | <exports symbol='xmlUCSIsCatL'/> |
| 952 | <exports symbol='xmlUCSIsCatLl'/> |
| 953 | <exports symbol='xmlUCSIsCatLm'/> |
| 954 | <exports symbol='xmlUCSIsCatLo'/> |
| 955 | <exports symbol='xmlUCSIsCatLt'/> |
| 956 | <exports symbol='xmlUCSIsCatLu'/> |
| 957 | <exports symbol='xmlUCSIsCatM'/> |
| 958 | <exports symbol='xmlUCSIsCatMc'/> |
| 959 | <exports symbol='xmlUCSIsCatMe'/> |
| 960 | <exports symbol='xmlUCSIsCatMn'/> |
| 961 | <exports symbol='xmlUCSIsCatN'/> |
| 962 | <exports symbol='xmlUCSIsCatNd'/> |
| 963 | <exports symbol='xmlUCSIsCatNl'/> |
| 964 | <exports symbol='xmlUCSIsCatNo'/> |
| 965 | <exports symbol='xmlUCSIsCatP'/> |
| 966 | <exports symbol='xmlUCSIsCatPc'/> |
| 967 | <exports symbol='xmlUCSIsCatPd'/> |
| 968 | <exports symbol='xmlUCSIsCatPe'/> |
| 969 | <exports symbol='xmlUCSIsCatPf'/> |
| 970 | <exports symbol='xmlUCSIsCatPi'/> |
| 971 | <exports symbol='xmlUCSIsCatPo'/> |
| 972 | <exports symbol='xmlUCSIsCatPs'/> |
| 973 | <exports symbol='xmlUCSIsCatS'/> |
| 974 | <exports symbol='xmlUCSIsCatSc'/> |
| 975 | <exports symbol='xmlUCSIsCatSk'/> |
| 976 | <exports symbol='xmlUCSIsCatSm'/> |
| 977 | <exports symbol='xmlUCSIsCatSo'/> |
| 978 | <exports symbol='xmlUCSIsCatZ'/> |
| 979 | <exports symbol='xmlUCSIsCatZl'/> |
| 980 | <exports symbol='xmlUCSIsCatZp'/> |
| 981 | <exports symbol='xmlUCSIsCatZs'/> |
| 982 | <exports symbol='xmlUCSIsCat'/> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 983 | </file> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 984 | <file name='xmlIO'> |
| 985 | <exports symbol='xmlInputMatchCallback'/> |
| 986 | <exports symbol='xmlInputOpenCallback'/> |
| 987 | <exports symbol='xmlInputReadCallback'/> |
| 988 | <exports symbol='xmlInputCloseCallback'/> |
| 989 | <exports symbol='xmlOutputMatchCallback'/> |
| 990 | <exports symbol='xmlOutputOpenCallback'/> |
| 991 | <exports symbol='xmlOutputWriteCallback'/> |
| 992 | <exports symbol='xmlOutputCloseCallback'/> |
| 993 | <exports symbol='xmlParserInputBuffer'/> |
| 994 | <exports symbol='xmlOutputBuffer'/> |
| 995 | <exports symbol='xmlCleanupInputCallbacks'/> |
| 996 | <exports symbol='xmlCleanupOutputCallbacks'/> |
| 997 | <exports symbol='xmlRegisterDefaultInputCallbacks'/> |
| 998 | <exports symbol='xmlAllocParserInputBuffer'/> |
| 999 | <exports symbol='xmlParserInputBufferCreateFilename'/> |
| 1000 | <exports symbol='xmlParserInputBufferCreateFile'/> |
| 1001 | <exports symbol='xmlParserInputBufferCreateFd'/> |
| 1002 | <exports symbol='xmlParserInputBufferCreateMem'/> |
| 1003 | <exports symbol='xmlParserInputBufferCreateIO'/> |
| 1004 | <exports symbol='xmlParserInputBufferRead'/> |
| 1005 | <exports symbol='xmlParserInputBufferGrow'/> |
| 1006 | <exports symbol='xmlParserInputBufferPush'/> |
| 1007 | <exports symbol='xmlFreeParserInputBuffer'/> |
| 1008 | <exports symbol='xmlParserGetDirectory'/> |
| 1009 | <exports symbol='xmlRegisterInputCallbacks'/> |
| 1010 | <exports symbol='xmlRegisterDefaultOutputCallbacks'/> |
| 1011 | <exports symbol='xmlAllocOutputBuffer'/> |
| 1012 | <exports symbol='xmlOutputBufferCreateFilename'/> |
| 1013 | <exports symbol='xmlOutputBufferCreateFile'/> |
| 1014 | <exports symbol='xmlOutputBufferCreateFd'/> |
| 1015 | <exports symbol='xmlOutputBufferCreateIO'/> |
| 1016 | <exports symbol='xmlOutputBufferWrite'/> |
| 1017 | <exports symbol='xmlOutputBufferWriteString'/> |
| 1018 | <exports symbol='xmlOutputBufferFlush'/> |
| 1019 | <exports symbol='xmlOutputBufferClose'/> |
| 1020 | <exports symbol='xmlRegisterOutputCallbacks'/> |
| 1021 | <exports symbol='xmlIOHTTPOpenW'/> |
| 1022 | <exports symbol='xmlRegisterHTTPPostCallbacks'/> |
| 1023 | <exports symbol='xmlNoNetExternalEntityLoader'/> |
| 1024 | <exports symbol='xmlNormalizeWindowsPath'/> |
| 1025 | <exports symbol='xmlCheckFilename'/> |
| 1026 | <exports symbol='xmlFileMatch'/> |
| 1027 | <exports symbol='xmlFileOpen'/> |
| 1028 | <exports symbol='xmlFileRead'/> |
| 1029 | <exports symbol='xmlFileClose'/> |
| 1030 | <exports symbol='xmlIOHTTPMatch'/> |
| 1031 | <exports symbol='xmlIOHTTPOpen'/> |
| 1032 | <exports symbol='xmlIOHTTPRead'/> |
| 1033 | <exports symbol='xmlIOHTTPClose'/> |
| 1034 | <exports symbol='xmlIOFTPMatch'/> |
| 1035 | <exports symbol='xmlIOFTPOpen'/> |
| 1036 | <exports symbol='xmlIOFTPRead'/> |
| 1037 | <exports symbol='xmlIOFTPClose'/> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1038 | </file> |
| 1039 | <file name='nanoftp'> |
| 1040 | <exports symbol='ftpListCallback'/> |
| 1041 | <exports symbol='ftpDataCallback'/> |
| 1042 | <exports symbol='xmlNanoFTPInit'/> |
| 1043 | <exports symbol='xmlNanoFTPCleanup'/> |
| 1044 | <exports symbol='xmlNanoFTPNewCtxt'/> |
| 1045 | <exports symbol='xmlNanoFTPFreeCtxt'/> |
| 1046 | <exports symbol='xmlNanoFTPConnectTo'/> |
| 1047 | <exports symbol='xmlNanoFTPOpen'/> |
| 1048 | <exports symbol='xmlNanoFTPConnect'/> |
| 1049 | <exports symbol='xmlNanoFTPClose'/> |
| 1050 | <exports symbol='xmlNanoFTPQuit'/> |
| 1051 | <exports symbol='xmlNanoFTPScanProxy'/> |
| 1052 | <exports symbol='xmlNanoFTPProxy'/> |
| 1053 | <exports symbol='xmlNanoFTPUpdateURL'/> |
| 1054 | <exports symbol='xmlNanoFTPGetResponse'/> |
| 1055 | <exports symbol='xmlNanoFTPCheckResponse'/> |
| 1056 | <exports symbol='xmlNanoFTPCwd'/> |
| 1057 | <exports symbol='xmlNanoFTPGetConnection'/> |
| 1058 | <exports symbol='xmlNanoFTPCloseConnection'/> |
| 1059 | <exports symbol='xmlNanoFTPList'/> |
| 1060 | <exports symbol='xmlNanoFTPGetSocket'/> |
| 1061 | <exports symbol='xmlNanoFTPGet'/> |
| 1062 | <exports symbol='xmlNanoFTPRead'/> |
| 1063 | </file> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 1064 | <file name='tree'> |
| 1065 | <exports symbol='xmlParserInputBuffer'/> |
| 1066 | <exports symbol='xmlParserInputBufferPtr'/> |
| 1067 | <exports symbol='xmlOutputBuffer'/> |
| 1068 | <exports symbol='xmlOutputBufferPtr'/> |
| 1069 | <exports symbol='xmlParserInput'/> |
| 1070 | <exports symbol='xmlParserInputPtr'/> |
| 1071 | <exports symbol='xmlParserCtxt'/> |
| 1072 | <exports symbol='xmlParserCtxtPtr'/> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1073 | <exports symbol='xmlSAXLocator'/> |
| 1074 | <exports symbol='xmlSAXLocatorPtr'/> |
| 1075 | <exports symbol='xmlSAXHandler'/> |
| 1076 | <exports symbol='xmlSAXHandlerPtr'/> |
| 1077 | <exports symbol='xmlEntity'/> |
| 1078 | <exports symbol='xmlEntityPtr'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 1079 | <exports symbol='BASE_BUFFER_SIZE'/> |
| 1080 | <exports symbol='XML_XML_NAMESPACE'/> |
| 1081 | <exports symbol='xmlElementType'/> |
| 1082 | <exports symbol='xmlChar'/> |
| 1083 | <exports symbol='BAD_CAST'/> |
| 1084 | <exports symbol='xmlNotation'/> |
| 1085 | <exports symbol='xmlNotationPtr'/> |
| 1086 | <exports symbol='xmlAttributeType'/> |
| 1087 | <exports symbol='xmlAttributeDefault'/> |
| 1088 | <exports symbol='xmlEnumeration'/> |
| 1089 | <exports symbol='xmlEnumerationPtr'/> |
| 1090 | <exports symbol='xmlAttribute'/> |
| 1091 | <exports symbol='xmlAttributePtr'/> |
| 1092 | <exports symbol='xmlElementContentType'/> |
| 1093 | <exports symbol='xmlElementContentOccur'/> |
| 1094 | <exports symbol='xmlElementContent'/> |
| 1095 | <exports symbol='xmlElementContentPtr'/> |
| 1096 | <exports symbol='xmlElementTypeVal'/> |
| 1097 | <exports symbol='xmlElement'/> |
| 1098 | <exports symbol='xmlElementPtr'/> |
| 1099 | <exports symbol='XML_LOCAL_NAMESPACE'/> |
| 1100 | <exports symbol='xmlNsType'/> |
| 1101 | <exports symbol='xmlNs'/> |
| 1102 | <exports symbol='xmlNsPtr'/> |
| 1103 | <exports symbol='xmlDtd'/> |
| 1104 | <exports symbol='xmlDtdPtr'/> |
| 1105 | <exports symbol='xmlAttr'/> |
| 1106 | <exports symbol='xmlAttrPtr'/> |
| 1107 | <exports symbol='xmlID'/> |
| 1108 | <exports symbol='xmlIDPtr'/> |
| 1109 | <exports symbol='xmlRef'/> |
| 1110 | <exports symbol='xmlRefPtr'/> |
| 1111 | <exports symbol='xmlBufferAllocationScheme'/> |
| 1112 | <exports symbol='xmlBuffer'/> |
| 1113 | <exports symbol='xmlBufferPtr'/> |
| 1114 | <exports symbol='xmlNode'/> |
| 1115 | <exports symbol='xmlNodePtr'/> |
| 1116 | <exports symbol='XML_GET_CONTENT'/> |
| 1117 | <exports symbol='XML_GET_LINE'/> |
| 1118 | <exports symbol='xmlDoc'/> |
| 1119 | <exports symbol='xmlDocPtr'/> |
| 1120 | <exports symbol='xmlChildrenNode'/> |
| 1121 | <exports symbol='xmlRootNode'/> |
| 1122 | <exports symbol='xmlSetBufferAllocationScheme'/> |
| 1123 | <exports symbol='xmlGetBufferAllocationScheme'/> |
| 1124 | <exports symbol='xmlBufferCreate'/> |
| 1125 | <exports symbol='xmlBufferCreateSize'/> |
| 1126 | <exports symbol='xmlBufferResize'/> |
| 1127 | <exports symbol='xmlBufferFree'/> |
| 1128 | <exports symbol='xmlBufferDump'/> |
| 1129 | <exports symbol='xmlBufferAdd'/> |
| 1130 | <exports symbol='xmlBufferAddHead'/> |
| 1131 | <exports symbol='xmlBufferCat'/> |
| 1132 | <exports symbol='xmlBufferCCat'/> |
| 1133 | <exports symbol='xmlBufferShrink'/> |
| 1134 | <exports symbol='xmlBufferGrow'/> |
| 1135 | <exports symbol='xmlBufferEmpty'/> |
| 1136 | <exports symbol='xmlBufferContent'/> |
| 1137 | <exports symbol='xmlBufferSetAllocationScheme'/> |
| 1138 | <exports symbol='xmlBufferLength'/> |
| 1139 | <exports symbol='xmlCreateIntSubset'/> |
| 1140 | <exports symbol='xmlNewDtd'/> |
| 1141 | <exports symbol='xmlGetIntSubset'/> |
| 1142 | <exports symbol='xmlFreeDtd'/> |
| 1143 | <exports symbol='xmlNewGlobalNs'/> |
| 1144 | <exports symbol='xmlNewNs'/> |
| 1145 | <exports symbol='xmlFreeNs'/> |
| 1146 | <exports symbol='xmlFreeNsList'/> |
| 1147 | <exports symbol='xmlNewDoc'/> |
| 1148 | <exports symbol='xmlFreeDoc'/> |
| 1149 | <exports symbol='xmlNewDocProp'/> |
| 1150 | <exports symbol='xmlNewProp'/> |
| 1151 | <exports symbol='xmlNewNsProp'/> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 1152 | <exports symbol='xmlNewNsPropEatName'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 1153 | <exports symbol='xmlFreePropList'/> |
| 1154 | <exports symbol='xmlFreeProp'/> |
| 1155 | <exports symbol='xmlCopyProp'/> |
| 1156 | <exports symbol='xmlCopyPropList'/> |
| 1157 | <exports symbol='xmlCopyDtd'/> |
| 1158 | <exports symbol='xmlCopyDoc'/> |
| 1159 | <exports symbol='xmlNewDocNode'/> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 1160 | <exports symbol='xmlNewDocNodeEatName'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 1161 | <exports symbol='xmlNewDocRawNode'/> |
| 1162 | <exports symbol='xmlNewNode'/> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 1163 | <exports symbol='xmlNewNodeEatName'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 1164 | <exports symbol='xmlNewChild'/> |
| 1165 | <exports symbol='xmlNewTextChild'/> |
| 1166 | <exports symbol='xmlNewDocText'/> |
| 1167 | <exports symbol='xmlNewText'/> |
| 1168 | <exports symbol='xmlNewPI'/> |
| 1169 | <exports symbol='xmlNewDocTextLen'/> |
| 1170 | <exports symbol='xmlNewTextLen'/> |
| 1171 | <exports symbol='xmlNewDocComment'/> |
| 1172 | <exports symbol='xmlNewComment'/> |
| 1173 | <exports symbol='xmlNewCDataBlock'/> |
| 1174 | <exports symbol='xmlNewCharRef'/> |
| 1175 | <exports symbol='xmlNewReference'/> |
| 1176 | <exports symbol='xmlCopyNode'/> |
| 1177 | <exports symbol='xmlDocCopyNode'/> |
| 1178 | <exports symbol='xmlCopyNodeList'/> |
| 1179 | <exports symbol='xmlNewDocFragment'/> |
| 1180 | <exports symbol='xmlGetLineNo'/> |
| 1181 | <exports symbol='xmlGetNodePath'/> |
| 1182 | <exports symbol='xmlDocGetRootElement'/> |
| 1183 | <exports symbol='xmlGetLastChild'/> |
| 1184 | <exports symbol='xmlNodeIsText'/> |
| 1185 | <exports symbol='xmlIsBlankNode'/> |
| 1186 | <exports symbol='xmlDocSetRootElement'/> |
| 1187 | <exports symbol='xmlNodeSetName'/> |
| 1188 | <exports symbol='xmlAddChild'/> |
| 1189 | <exports symbol='xmlAddChildList'/> |
| 1190 | <exports symbol='xmlReplaceNode'/> |
| 1191 | <exports symbol='xmlAddSibling'/> |
| 1192 | <exports symbol='xmlAddPrevSibling'/> |
| 1193 | <exports symbol='xmlAddNextSibling'/> |
| 1194 | <exports symbol='xmlUnlinkNode'/> |
| 1195 | <exports symbol='xmlTextMerge'/> |
| 1196 | <exports symbol='xmlTextConcat'/> |
| 1197 | <exports symbol='xmlFreeNodeList'/> |
| 1198 | <exports symbol='xmlFreeNode'/> |
| 1199 | <exports symbol='xmlSetTreeDoc'/> |
| 1200 | <exports symbol='xmlSetListDoc'/> |
| 1201 | <exports symbol='xmlSearchNs'/> |
| 1202 | <exports symbol='xmlSearchNsByHref'/> |
| 1203 | <exports symbol='xmlGetNsList'/> |
| 1204 | <exports symbol='xmlSetNs'/> |
| 1205 | <exports symbol='xmlCopyNamespace'/> |
| 1206 | <exports symbol='xmlCopyNamespaceList'/> |
| 1207 | <exports symbol='xmlSetProp'/> |
| 1208 | <exports symbol='xmlGetProp'/> |
| 1209 | <exports symbol='xmlHasProp'/> |
| 1210 | <exports symbol='xmlHasNsProp'/> |
| 1211 | <exports symbol='xmlSetNsProp'/> |
| 1212 | <exports symbol='xmlGetNsProp'/> |
| 1213 | <exports symbol='xmlStringGetNodeList'/> |
| 1214 | <exports symbol='xmlStringLenGetNodeList'/> |
| 1215 | <exports symbol='xmlNodeListGetString'/> |
| 1216 | <exports symbol='xmlNodeListGetRawString'/> |
| 1217 | <exports symbol='xmlNodeSetContent'/> |
| 1218 | <exports symbol='xmlNodeSetContentLen'/> |
| 1219 | <exports symbol='xmlNodeAddContent'/> |
| 1220 | <exports symbol='xmlNodeAddContentLen'/> |
| 1221 | <exports symbol='xmlNodeGetContent'/> |
| 1222 | <exports symbol='xmlNodeGetLang'/> |
| 1223 | <exports symbol='xmlNodeSetLang'/> |
| 1224 | <exports symbol='xmlNodeGetSpacePreserve'/> |
| 1225 | <exports symbol='xmlNodeSetSpacePreserve'/> |
| 1226 | <exports symbol='xmlNodeGetBase'/> |
| 1227 | <exports symbol='xmlNodeSetBase'/> |
| 1228 | <exports symbol='xmlRemoveProp'/> |
| 1229 | <exports symbol='xmlUnsetProp'/> |
| 1230 | <exports symbol='xmlUnsetNsProp'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 1231 | <exports symbol='xmlBufferWriteCHAR'/> |
| 1232 | <exports symbol='xmlBufferWriteChar'/> |
| 1233 | <exports symbol='xmlBufferWriteQuotedString'/> |
| 1234 | <exports symbol='xmlReconciliateNs'/> |
| 1235 | <exports symbol='xmlDocDumpFormatMemory'/> |
| 1236 | <exports symbol='xmlDocDumpMemory'/> |
| 1237 | <exports symbol='xmlDocDumpMemoryEnc'/> |
| 1238 | <exports symbol='xmlDocDumpFormatMemoryEnc'/> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 1239 | <exports symbol='xmlDocFormatDump'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 1240 | <exports symbol='xmlDocDump'/> |
| 1241 | <exports symbol='xmlElemDump'/> |
| 1242 | <exports symbol='xmlSaveFile'/> |
| 1243 | <exports symbol='xmlSaveFormatFile'/> |
| 1244 | <exports symbol='xmlNodeDump'/> |
| 1245 | <exports symbol='xmlSaveFileTo'/> |
| 1246 | <exports symbol='xmlSaveFormatFileTo'/> |
| 1247 | <exports symbol='xmlNodeDumpOutput'/> |
| 1248 | <exports symbol='xmlSaveFormatFileEnc'/> |
| 1249 | <exports symbol='xmlSaveFileEnc'/> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1250 | <exports symbol='xmlIsXHTML'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 1251 | <exports symbol='xmlGetDocCompressMode'/> |
| 1252 | <exports symbol='xmlSetDocCompressMode'/> |
| 1253 | <exports symbol='xmlGetCompressMode'/> |
| 1254 | <exports symbol='xmlSetCompressMode'/> |
| 1255 | </file> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1256 | <file name='uri'> |
| 1257 | <exports symbol='xmlURI'/> |
| 1258 | <exports symbol='xmlURIPtr'/> |
| 1259 | <exports symbol='xmlCreateURI'/> |
| 1260 | <exports symbol='xmlBuildURI'/> |
| 1261 | <exports symbol='xmlParseURI'/> |
| 1262 | <exports symbol='xmlParseURIReference'/> |
| 1263 | <exports symbol='xmlSaveUri'/> |
| 1264 | <exports symbol='xmlPrintURI'/> |
| 1265 | <exports symbol='xmlURIEscapeStr'/> |
| 1266 | <exports symbol='xmlURIUnescapeString'/> |
| 1267 | <exports symbol='xmlNormalizeURIPath'/> |
| 1268 | <exports symbol='xmlURIEscape'/> |
| 1269 | <exports symbol='xmlFreeURI'/> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 1270 | </file> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1271 | <file name='xmlmemory'> |
| 1272 | <exports symbol='DEBUG_MEMORY'/> |
| 1273 | <exports symbol='xmlFreeFunc'/> |
| 1274 | <exports symbol='xmlMallocFunc'/> |
| 1275 | <exports symbol='xmlReallocFunc'/> |
| 1276 | <exports symbol='xmlStrdupFunc'/> |
| 1277 | <exports symbol='xmlMemSetup'/> |
| 1278 | <exports symbol='xmlMemGet'/> |
| 1279 | <exports symbol='xmlInitMemory'/> |
| 1280 | <exports symbol='xmlMemUsed'/> |
| 1281 | <exports symbol='xmlMemDisplay'/> |
| 1282 | <exports symbol='xmlMemShow'/> |
| 1283 | <exports symbol='xmlMemoryDump'/> |
| 1284 | <exports symbol='xmlMemMalloc'/> |
| 1285 | <exports symbol='xmlMemRealloc'/> |
| 1286 | <exports symbol='xmlMemFree'/> |
| 1287 | <exports symbol='xmlMemoryStrdup'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 1288 | <exports symbol='xmlMalloc'/> |
| 1289 | <exports symbol='xmlRealloc'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 1290 | <exports symbol='xmlMemStrdup'/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1291 | <exports symbol='xmlMallocLoc'/> |
| 1292 | <exports symbol='xmlReallocLoc'/> |
| 1293 | <exports symbol='xmlMemStrdupLoc'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 1294 | </file> |
| 1295 | <file name='catalog'> |
| 1296 | <exports symbol='XML_CATALOGS_NAMESPACE'/> |
| 1297 | <exports symbol='XML_CATALOG_PI'/> |
| 1298 | <exports symbol='xmlCatalogPrefer'/> |
| 1299 | <exports symbol='xmlCatalogAllow'/> |
| 1300 | <exports symbol='xmlCatalog'/> |
| 1301 | <exports symbol='xmlCatalogPtr'/> |
| 1302 | <exports symbol='xmlNewCatalog'/> |
| 1303 | <exports symbol='xmlLoadACatalog'/> |
| 1304 | <exports symbol='xmlLoadSGMLSuperCatalog'/> |
| 1305 | <exports symbol='xmlConvertSGMLCatalog'/> |
| 1306 | <exports symbol='xmlACatalogAdd'/> |
| 1307 | <exports symbol='xmlACatalogRemove'/> |
| 1308 | <exports symbol='xmlACatalogResolve'/> |
| 1309 | <exports symbol='xmlACatalogResolveSystem'/> |
| 1310 | <exports symbol='xmlACatalogResolvePublic'/> |
| 1311 | <exports symbol='xmlACatalogResolveURI'/> |
| 1312 | <exports symbol='xmlACatalogDump'/> |
| 1313 | <exports symbol='xmlFreeCatalog'/> |
| 1314 | <exports symbol='xmlCatalogIsEmpty'/> |
| 1315 | <exports symbol='xmlInitializeCatalog'/> |
| 1316 | <exports symbol='xmlLoadCatalog'/> |
| 1317 | <exports symbol='xmlLoadCatalogs'/> |
| 1318 | <exports symbol='xmlCatalogCleanup'/> |
| 1319 | <exports symbol='xmlCatalogDump'/> |
| 1320 | <exports symbol='xmlCatalogResolve'/> |
| 1321 | <exports symbol='xmlCatalogResolveSystem'/> |
| 1322 | <exports symbol='xmlCatalogResolvePublic'/> |
| 1323 | <exports symbol='xmlCatalogResolveURI'/> |
| 1324 | <exports symbol='xmlCatalogAdd'/> |
| 1325 | <exports symbol='xmlCatalogRemove'/> |
| 1326 | <exports symbol='xmlParseCatalogFile'/> |
| 1327 | <exports symbol='xmlCatalogConvert'/> |
| 1328 | <exports symbol='xmlCatalogFreeLocal'/> |
| 1329 | <exports symbol='xmlCatalogAddLocal'/> |
| 1330 | <exports symbol='xmlCatalogLocalResolve'/> |
| 1331 | <exports symbol='xmlCatalogLocalResolveURI'/> |
| 1332 | <exports symbol='xmlCatalogSetDebug'/> |
| 1333 | <exports symbol='xmlCatalogSetDefaultPrefer'/> |
| 1334 | <exports symbol='xmlCatalogSetDefaults'/> |
| 1335 | <exports symbol='xmlCatalogGetDefaults'/> |
| 1336 | <exports symbol='xmlCatalogGetSystem'/> |
| 1337 | <exports symbol='xmlCatalogGetPublic'/> |
| 1338 | </file> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1339 | <file name='entities'> |
| 1340 | <exports symbol='xmlEntityType'/> |
| 1341 | <exports symbol='xmlEntity'/> |
| 1342 | <exports symbol='xmlEntitiesTablePtr'/> |
| 1343 | <exports symbol='xmlInitializePredefinedEntities'/> |
| 1344 | <exports symbol='xmlAddDocEntity'/> |
| 1345 | <exports symbol='xmlAddDtdEntity'/> |
| 1346 | <exports symbol='xmlGetPredefinedEntity'/> |
| 1347 | <exports symbol='xmlGetDocEntity'/> |
| 1348 | <exports symbol='xmlGetDtdEntity'/> |
| 1349 | <exports symbol='xmlGetParameterEntity'/> |
| 1350 | <exports symbol='xmlEncodeEntities'/> |
| 1351 | <exports symbol='xmlEncodeEntitiesReentrant'/> |
| 1352 | <exports symbol='xmlEncodeSpecialChars'/> |
| 1353 | <exports symbol='xmlCreateEntitiesTable'/> |
| 1354 | <exports symbol='xmlCopyEntitiesTable'/> |
| 1355 | <exports symbol='xmlFreeEntitiesTable'/> |
| 1356 | <exports symbol='xmlDumpEntitiesTable'/> |
| 1357 | <exports symbol='xmlDumpEntityDecl'/> |
| 1358 | <exports symbol='xmlCleanupPredefinedEntities'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 1359 | </file> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1360 | <file name='nanohttp'> |
| 1361 | <exports symbol='xmlNanoHTTPInit'/> |
| 1362 | <exports symbol='xmlNanoHTTPCleanup'/> |
| 1363 | <exports symbol='xmlNanoHTTPScanProxy'/> |
| 1364 | <exports symbol='xmlNanoHTTPFetch'/> |
| 1365 | <exports symbol='xmlNanoHTTPMethod'/> |
| 1366 | <exports symbol='xmlNanoHTTPMethodRedir'/> |
| 1367 | <exports symbol='xmlNanoHTTPOpen'/> |
| 1368 | <exports symbol='xmlNanoHTTPOpenRedir'/> |
| 1369 | <exports symbol='xmlNanoHTTPReturnCode'/> |
| 1370 | <exports symbol='xmlNanoHTTPAuthHeader'/> |
| 1371 | <exports symbol='xmlNanoHTTPRead'/> |
| 1372 | <exports symbol='xmlNanoHTTPSave'/> |
| 1373 | <exports symbol='xmlNanoHTTPClose'/> |
Daniel Veillard | 80ce373 | 2002-10-07 17:39:30 +0000 | [diff] [blame] | 1374 | </file> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1375 | <file name='valid'> |
| 1376 | <exports symbol='xmlValidState'/> |
| 1377 | <exports symbol='xmlValidStatePtr'/> |
| 1378 | <exports symbol='xmlValidityErrorFunc'/> |
| 1379 | <exports symbol='xmlValidityWarningFunc'/> |
| 1380 | <exports symbol='xmlValidCtxt'/> |
| 1381 | <exports symbol='xmlValidCtxtPtr'/> |
| 1382 | <exports symbol='xmlNotationTablePtr'/> |
| 1383 | <exports symbol='xmlElementTablePtr'/> |
| 1384 | <exports symbol='xmlAttributeTablePtr'/> |
| 1385 | <exports symbol='xmlIDTablePtr'/> |
| 1386 | <exports symbol='xmlRefTablePtr'/> |
| 1387 | <exports symbol='xmlSplitQName2'/> |
| 1388 | <exports symbol='xmlAddNotationDecl'/> |
| 1389 | <exports symbol='xmlCopyNotationTable'/> |
| 1390 | <exports symbol='xmlFreeNotationTable'/> |
| 1391 | <exports symbol='xmlDumpNotationDecl'/> |
| 1392 | <exports symbol='xmlDumpNotationTable'/> |
| 1393 | <exports symbol='xmlNewElementContent'/> |
| 1394 | <exports symbol='xmlCopyElementContent'/> |
| 1395 | <exports symbol='xmlFreeElementContent'/> |
| 1396 | <exports symbol='xmlSnprintfElementContent'/> |
| 1397 | <exports symbol='xmlSprintfElementContent'/> |
| 1398 | <exports symbol='xmlAddElementDecl'/> |
| 1399 | <exports symbol='xmlCopyElementTable'/> |
| 1400 | <exports symbol='xmlFreeElementTable'/> |
| 1401 | <exports symbol='xmlDumpElementTable'/> |
| 1402 | <exports symbol='xmlDumpElementDecl'/> |
| 1403 | <exports symbol='xmlCreateEnumeration'/> |
| 1404 | <exports symbol='xmlFreeEnumeration'/> |
| 1405 | <exports symbol='xmlCopyEnumeration'/> |
| 1406 | <exports symbol='xmlAddAttributeDecl'/> |
| 1407 | <exports symbol='xmlCopyAttributeTable'/> |
| 1408 | <exports symbol='xmlFreeAttributeTable'/> |
| 1409 | <exports symbol='xmlDumpAttributeTable'/> |
| 1410 | <exports symbol='xmlDumpAttributeDecl'/> |
| 1411 | <exports symbol='xmlAddID'/> |
| 1412 | <exports symbol='xmlFreeIDTable'/> |
| 1413 | <exports symbol='xmlGetID'/> |
| 1414 | <exports symbol='xmlIsID'/> |
| 1415 | <exports symbol='xmlRemoveID'/> |
| 1416 | <exports symbol='xmlAddRef'/> |
| 1417 | <exports symbol='xmlFreeRefTable'/> |
| 1418 | <exports symbol='xmlIsRef'/> |
| 1419 | <exports symbol='xmlRemoveRef'/> |
| 1420 | <exports symbol='xmlGetRefs'/> |
| 1421 | <exports symbol='xmlValidateRoot'/> |
| 1422 | <exports symbol='xmlValidateElementDecl'/> |
| 1423 | <exports symbol='xmlValidNormalizeAttributeValue'/> |
| 1424 | <exports symbol='xmlValidCtxtNormalizeAttributeValue'/> |
| 1425 | <exports symbol='xmlValidateAttributeDecl'/> |
| 1426 | <exports symbol='xmlValidateAttributeValue'/> |
| 1427 | <exports symbol='xmlValidateNotationDecl'/> |
| 1428 | <exports symbol='xmlValidateDtd'/> |
| 1429 | <exports symbol='xmlValidateDtdFinal'/> |
| 1430 | <exports symbol='xmlValidateDocument'/> |
| 1431 | <exports symbol='xmlValidateElement'/> |
| 1432 | <exports symbol='xmlValidateOneElement'/> |
| 1433 | <exports symbol='xmlValidateOneAttribute'/> |
| 1434 | <exports symbol='xmlValidateOneNamespace'/> |
| 1435 | <exports symbol='xmlValidateDocumentFinal'/> |
| 1436 | <exports symbol='xmlValidateNotationUse'/> |
| 1437 | <exports symbol='xmlIsMixedElement'/> |
| 1438 | <exports symbol='xmlGetDtdAttrDesc'/> |
| 1439 | <exports symbol='xmlGetDtdQAttrDesc'/> |
| 1440 | <exports symbol='xmlGetDtdNotationDesc'/> |
| 1441 | <exports symbol='xmlGetDtdQElementDesc'/> |
| 1442 | <exports symbol='xmlGetDtdElementDesc'/> |
| 1443 | <exports symbol='xmlValidGetValidElements'/> |
| 1444 | <exports symbol='xmlValidGetPotentialChildren'/> |
| 1445 | <exports symbol='xmlValidateNameValue'/> |
| 1446 | <exports symbol='xmlValidateNamesValue'/> |
| 1447 | <exports symbol='xmlValidateNmtokenValue'/> |
| 1448 | <exports symbol='xmlValidateNmtokensValue'/> |
| 1449 | <exports symbol='xmlValidBuildContentModel'/> |
| 1450 | </file> |
| 1451 | <file name='HTMLparser'> |
| 1452 | <exports symbol='htmlParserCtxt'/> |
| 1453 | <exports symbol='htmlParserCtxtPtr'/> |
| 1454 | <exports symbol='htmlParserNodeInfo'/> |
| 1455 | <exports symbol='htmlSAXHandler'/> |
| 1456 | <exports symbol='htmlSAXHandlerPtr'/> |
| 1457 | <exports symbol='htmlParserInput'/> |
| 1458 | <exports symbol='htmlParserInputPtr'/> |
| 1459 | <exports symbol='htmlDocPtr'/> |
| 1460 | <exports symbol='htmlNodePtr'/> |
| 1461 | <exports symbol='htmlElemDesc'/> |
| 1462 | <exports symbol='htmlElemDescPtr'/> |
| 1463 | <exports symbol='htmlEntityDesc'/> |
| 1464 | <exports symbol='htmlEntityDescPtr'/> |
| 1465 | <exports symbol='htmlTagLookup'/> |
| 1466 | <exports symbol='htmlEntityLookup'/> |
| 1467 | <exports symbol='htmlEntityValueLookup'/> |
| 1468 | <exports symbol='htmlIsAutoClosed'/> |
| 1469 | <exports symbol='htmlAutoCloseTag'/> |
| 1470 | <exports symbol='htmlParseEntityRef'/> |
| 1471 | <exports symbol='htmlParseCharRef'/> |
| 1472 | <exports symbol='htmlParseElement'/> |
| 1473 | <exports symbol='htmlParseDocument'/> |
| 1474 | <exports symbol='htmlSAXParseDoc'/> |
| 1475 | <exports symbol='htmlParseDoc'/> |
| 1476 | <exports symbol='htmlSAXParseFile'/> |
| 1477 | <exports symbol='htmlParseFile'/> |
| 1478 | <exports symbol='UTF8ToHtml'/> |
| 1479 | <exports symbol='htmlEncodeEntities'/> |
| 1480 | <exports symbol='htmlIsScriptAttribute'/> |
| 1481 | <exports symbol='htmlHandleOmittedElem'/> |
| 1482 | <exports symbol='htmlFreeParserCtxt'/> |
| 1483 | <exports symbol='htmlCreatePushParserCtxt'/> |
| 1484 | <exports symbol='htmlParseChunk'/> |
| 1485 | </file> |
| 1486 | <file name='xmlregexp'> |
| 1487 | <exports symbol='xmlRegexp'/> |
| 1488 | <exports symbol='xmlRegexpPtr'/> |
| 1489 | <exports symbol='xmlRegExecCtxt'/> |
| 1490 | <exports symbol='xmlRegExecCtxtPtr'/> |
| 1491 | <exports symbol='xmlRegexpCompile'/> |
| 1492 | <exports symbol='xmlRegFreeRegexp'/> |
| 1493 | <exports symbol='xmlRegexpExec'/> |
| 1494 | <exports symbol='xmlRegexpPrint'/> |
| 1495 | <exports symbol='xmlRegexpIsDeterminist'/> |
| 1496 | <exports symbol='xmlRegExecCallbacks'/> |
| 1497 | <exports symbol='xmlRegNewExecCtxt'/> |
| 1498 | <exports symbol='xmlRegFreeExecCtxt'/> |
| 1499 | <exports symbol='xmlRegExecPushString'/> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 1500 | </file> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 1501 | <file name='xmlerror'> |
| 1502 | <exports symbol='xmlParserErrors'/> |
| 1503 | <exports symbol='xmlGenericErrorFunc'/> |
| 1504 | <exports symbol='xmlSetGenericErrorFunc'/> |
| 1505 | <exports symbol='initGenericErrorDefaultFunc'/> |
| 1506 | <exports symbol='xmlParserError'/> |
| 1507 | <exports symbol='xmlParserWarning'/> |
| 1508 | <exports symbol='xmlParserValidityError'/> |
| 1509 | <exports symbol='xmlParserValidityWarning'/> |
| 1510 | <exports symbol='xmlParserPrintFileInfo'/> |
| 1511 | <exports symbol='xmlParserPrintFileContext'/> |
| 1512 | </file> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1513 | <file name='xmlversion'> |
| 1514 | <exports symbol='xmlCheckVersion'/> |
| 1515 | <exports symbol='LIBXML_DOTTED_VERSION'/> |
| 1516 | <exports symbol='LIBXML_VERSION'/> |
| 1517 | <exports symbol='LIBXML_VERSION_STRING'/> |
| 1518 | <exports symbol='LIBXML_TEST_VERSION'/> |
| 1519 | <exports symbol='WITH_TRIO'/> |
| 1520 | <exports symbol='WITHOUT_TRIO'/> |
| 1521 | <exports symbol='LIBXML_THREAD_ENABLED'/> |
| 1522 | <exports symbol='LIBXML_FTP_ENABLED'/> |
| 1523 | <exports symbol='LIBXML_HTTP_ENABLED'/> |
| 1524 | <exports symbol='LIBXML_HTML_ENABLED'/> |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1525 | <exports symbol='LIBXML_C14N_ENABLED'/> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1526 | <exports symbol='LIBXML_CATALOG_ENABLED'/> |
| 1527 | <exports symbol='LIBXML_DOCB_ENABLED'/> |
| 1528 | <exports symbol='LIBXML_XPATH_ENABLED'/> |
| 1529 | <exports symbol='LIBXML_XPTR_ENABLED'/> |
| 1530 | <exports symbol='LIBXML_XINCLUDE_ENABLED'/> |
| 1531 | <exports symbol='LIBXML_ICONV_ENABLED'/> |
| 1532 | <exports symbol='LIBXML_DEBUG_ENABLED'/> |
| 1533 | <exports symbol='DEBUG_MEMORY_LOCATION'/> |
Daniel Veillard | 0bfbb42 | 2002-04-26 09:21:45 +0000 | [diff] [blame] | 1534 | <exports symbol='LIBXML_UNICODE_ENABLED'/> |
| 1535 | <exports symbol='LIBXML_REGEXP_ENABLED'/> |
| 1536 | <exports symbol='LIBXML_AUTOMATA_ENABLED'/> |
| 1537 | <exports symbol='LIBXML_SCHEMAS_ENABLED'/> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 1538 | <exports symbol='LIBXML_DLL_IMPORT'/> |
| 1539 | <exports symbol='ATTRIBUTE_UNUSED'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 1540 | </file> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1541 | <file name='wsockcompat'> |
| 1542 | <exports symbol='SOCKLEN_T'/> |
| 1543 | <exports symbol='EWOULDBLOCK'/> |
| 1544 | <exports symbol='EINPROGRESS'/> |
| 1545 | <exports symbol='EALREADY'/> |
| 1546 | <exports symbol='ENOTSOCK'/> |
| 1547 | <exports symbol='EDESTADDRREQ'/> |
| 1548 | <exports symbol='EMSGSIZE'/> |
| 1549 | <exports symbol='EPROTOTYPE'/> |
| 1550 | <exports symbol='ENOPROTOOPT'/> |
| 1551 | <exports symbol='EPROTONOSUPPORT'/> |
| 1552 | <exports symbol='ESOCKTNOSUPPORT'/> |
| 1553 | <exports symbol='EOPNOTSUPP'/> |
| 1554 | <exports symbol='EPFNOSUPPORT'/> |
| 1555 | <exports symbol='EAFNOSUPPORT'/> |
| 1556 | <exports symbol='EADDRINUSE'/> |
| 1557 | <exports symbol='EADDRNOTAVAIL'/> |
| 1558 | <exports symbol='ENETDOWN'/> |
| 1559 | <exports symbol='ENETUNREACH'/> |
| 1560 | <exports symbol='ENETRESET'/> |
| 1561 | <exports symbol='ECONNABORTED'/> |
| 1562 | <exports symbol='ECONNRESET'/> |
| 1563 | <exports symbol='ENOBUFS'/> |
| 1564 | <exports symbol='EISCONN'/> |
| 1565 | <exports symbol='ENOTCONN'/> |
| 1566 | <exports symbol='ESHUTDOWN'/> |
| 1567 | <exports symbol='ETOOMANYREFS'/> |
| 1568 | <exports symbol='ETIMEDOUT'/> |
| 1569 | <exports symbol='ECONNREFUSED'/> |
| 1570 | <exports symbol='ELOOP'/> |
| 1571 | <exports symbol='EHOSTDOWN'/> |
| 1572 | <exports symbol='EHOSTUNREACH'/> |
| 1573 | <exports symbol='EPROCLIM'/> |
| 1574 | <exports symbol='EUSERS'/> |
| 1575 | <exports symbol='EDQUOT'/> |
| 1576 | <exports symbol='ESTALE'/> |
| 1577 | <exports symbol='EREMOTE'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 1578 | </file> |
| 1579 | </files> |
| 1580 | <symbols> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1581 | <macro name='ATTRIBUTE_UNUSED' file='xmlversion'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1582 | <info>Macro used to signal to GCC unused function parameters</info> |
| 1583 | </macro> |
| 1584 | <macro name='BAD_CAST' file='tree'> |
| 1585 | <info>Macro to cast a string to an xmlChar * when one know its safe.</info> |
| 1586 | </macro> |
| 1587 | <macro name='BASE_BUFFER_SIZE' file='tree'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1588 | <info>default buffer size 4000.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1589 | </macro> |
| 1590 | <macro name='CAST_TO_BOOLEAN' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1591 | <info>Macro to try to cast the value on the top of the XPath stack to a boolean.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1592 | </macro> |
| 1593 | <macro name='CAST_TO_NUMBER' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1594 | <info>Macro to try to cast the value on the top of the XPath stack to a number.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1595 | </macro> |
| 1596 | <macro name='CAST_TO_STRING' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1597 | <info>Macro to try to cast the value on the top of the XPath stack to a string.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1598 | </macro> |
| 1599 | <macro name='CHECK_ARITY' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1600 | <info>Macro to check that the number of args passed to an XPath function matches.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1601 | <arg name='x' info='the number of expected args '/> |
| 1602 | </macro> |
| 1603 | <macro name='CHECK_ERROR' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1604 | <info>Macro to return from the function if an XPath error was detected.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1605 | </macro> |
| 1606 | <macro name='CHECK_ERROR0' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1607 | <info>Macro to return 0 from the function if an XPath error was detected.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1608 | </macro> |
| 1609 | <macro name='CHECK_TYPE' file='xpathInternals'> |
| 1610 | <info>Macro to check that the value on top of the XPath stack is of a given type.</info> |
| 1611 | <arg name='typeval' info='the XPath type '/> |
| 1612 | </macro> |
| 1613 | <macro name='CHECK_TYPE0' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1614 | <info>Macro to check that the value on top of the XPath stack is of a given type. Return(0) in case of failure</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1615 | <arg name='typeval' info='the XPath type '/> |
| 1616 | </macro> |
| 1617 | <macro name='DEBUG_MEMORY' file='xmlmemory'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1618 | <info>DEBUG_MEMORY replaces the allocator with a collect and debug shell to the libc allocator. DEBUG_MEMORY should only be activated when debugging libxml i.e. if libxml has been configured with --with-debug-mem too.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1619 | </macro> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1620 | <macro name='DEBUG_MEMORY_LOCATION' file='xmlversion'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1621 | <info>Whether the memory debugging is configured in</info> |
| 1622 | </macro> |
Daniel Veillard | 80ce373 | 2002-10-07 17:39:30 +0000 | [diff] [blame] | 1623 | <macro name='EADDRINUSE' file='wsockcompat'> |
| 1624 | </macro> |
| 1625 | <macro name='EADDRNOTAVAIL' file='wsockcompat'> |
| 1626 | </macro> |
| 1627 | <macro name='EAFNOSUPPORT' file='wsockcompat'> |
| 1628 | </macro> |
| 1629 | <macro name='EALREADY' file='wsockcompat'> |
| 1630 | </macro> |
| 1631 | <macro name='ECONNABORTED' file='wsockcompat'> |
| 1632 | </macro> |
| 1633 | <macro name='ECONNREFUSED' file='wsockcompat'> |
| 1634 | </macro> |
| 1635 | <macro name='ECONNRESET' file='wsockcompat'> |
| 1636 | </macro> |
| 1637 | <macro name='EDESTADDRREQ' file='wsockcompat'> |
| 1638 | </macro> |
| 1639 | <macro name='EDQUOT' file='wsockcompat'> |
| 1640 | </macro> |
| 1641 | <macro name='EHOSTDOWN' file='wsockcompat'> |
| 1642 | </macro> |
| 1643 | <macro name='EHOSTUNREACH' file='wsockcompat'> |
| 1644 | </macro> |
| 1645 | <macro name='EINPROGRESS' file='wsockcompat'> |
| 1646 | </macro> |
| 1647 | <macro name='EISCONN' file='wsockcompat'> |
| 1648 | </macro> |
| 1649 | <macro name='ELOOP' file='wsockcompat'> |
| 1650 | </macro> |
| 1651 | <macro name='EMSGSIZE' file='wsockcompat'> |
| 1652 | </macro> |
| 1653 | <macro name='ENETDOWN' file='wsockcompat'> |
| 1654 | </macro> |
| 1655 | <macro name='ENETRESET' file='wsockcompat'> |
| 1656 | </macro> |
| 1657 | <macro name='ENETUNREACH' file='wsockcompat'> |
| 1658 | </macro> |
| 1659 | <macro name='ENOBUFS' file='wsockcompat'> |
| 1660 | </macro> |
| 1661 | <macro name='ENOPROTOOPT' file='wsockcompat'> |
| 1662 | </macro> |
| 1663 | <macro name='ENOTCONN' file='wsockcompat'> |
| 1664 | </macro> |
| 1665 | <macro name='ENOTSOCK' file='wsockcompat'> |
| 1666 | </macro> |
| 1667 | <macro name='EOPNOTSUPP' file='wsockcompat'> |
| 1668 | </macro> |
| 1669 | <macro name='EPFNOSUPPORT' file='wsockcompat'> |
| 1670 | </macro> |
| 1671 | <macro name='EPROCLIM' file='wsockcompat'> |
| 1672 | </macro> |
| 1673 | <macro name='EPROTONOSUPPORT' file='wsockcompat'> |
| 1674 | </macro> |
| 1675 | <macro name='EPROTOTYPE' file='wsockcompat'> |
| 1676 | </macro> |
| 1677 | <macro name='EREMOTE' file='wsockcompat'> |
| 1678 | </macro> |
| 1679 | <macro name='ESHUTDOWN' file='wsockcompat'> |
| 1680 | </macro> |
| 1681 | <macro name='ESOCKTNOSUPPORT' file='wsockcompat'> |
| 1682 | </macro> |
| 1683 | <macro name='ESTALE' file='wsockcompat'> |
| 1684 | </macro> |
| 1685 | <macro name='ETIMEDOUT' file='wsockcompat'> |
| 1686 | </macro> |
| 1687 | <macro name='ETOOMANYREFS' file='wsockcompat'> |
| 1688 | </macro> |
| 1689 | <macro name='EUSERS' file='wsockcompat'> |
| 1690 | </macro> |
| 1691 | <macro name='EWOULDBLOCK' file='wsockcompat'> |
| 1692 | </macro> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1693 | <macro name='HTML_COMMENT_NODE' file='HTMLtree'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1694 | <info>Macro. A comment in a HTML document is really implemented the same way as a comment in an XML document.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1695 | </macro> |
| 1696 | <macro name='HTML_ENTITY_REF_NODE' file='HTMLtree'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1697 | <info>Macro. An entity reference in a HTML document is really implemented the same way as an entity reference in an XML document.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1698 | </macro> |
| 1699 | <macro name='HTML_PI_NODE' file='HTMLtree'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1700 | <info>Macro. A processing instruction in a HTML document is really implemented the same way as a processing instruction in an XML document.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1701 | </macro> |
| 1702 | <macro name='HTML_PRESERVE_NODE' file='HTMLtree'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1703 | <info>Macro. A preserved node in a HTML document is really implemented the same way as a CDATA section in an XML document.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1704 | </macro> |
| 1705 | <macro name='HTML_TEXT_NODE' file='HTMLtree'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1706 | <info>Macro. A text node in a HTML document is really implemented the same way as a text node in an XML document.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1707 | </macro> |
| 1708 | <macro name='INPUT_CHUNK' file='parserInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1709 | <info>The parser tries to always have that amount of input ready. One of the point is providing context when reporting errors.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1710 | </macro> |
| 1711 | <macro name='IS_BASECHAR' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1712 | <info>Macro to check the following production in the XML spec: [85] BaseChar ::= ... long list see REC ...</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1713 | <arg name='c' info='an UNICODE value (int) '/> |
| 1714 | </macro> |
| 1715 | <macro name='IS_BLANK' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1716 | <info>Macro to check the following production in the XML spec: [3] S ::= (x20 | x9 | xD | xA)+</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1717 | <arg name='c' info='an UNICODE value (int) '/> |
| 1718 | </macro> |
| 1719 | <macro name='IS_CHAR' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1720 | <info>Macro to check the following production in the XML spec: [2] Char ::= x9 | xA | xD | [x20-xD7FF] | [xE000-xFFFD] | [x10000-x10FFFF] any Unicode character, excluding the surrogate blocks, FFFE, and FFFF.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1721 | <arg name='c' info='an UNICODE value (int) '/> |
| 1722 | </macro> |
| 1723 | <macro name='IS_COMBINING' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1724 | <info>Macro to check the following production in the XML spec: [87] CombiningChar ::= ... long list see REC ...</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1725 | <arg name='c' info='an UNICODE value (int) '/> |
| 1726 | </macro> |
| 1727 | <macro name='IS_DIGIT' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1728 | <info>Macro to check the following production in the XML spec: [88] Digit ::= ... long list see REC ...</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1729 | <arg name='c' info='an UNICODE value (int) '/> |
| 1730 | </macro> |
| 1731 | <macro name='IS_EXTENDER' file='parserInternals'> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1732 | <info>Macro to check the following production in the XML spec: [89] Extender ::= x00B7 | x02D0 | x02D1 | x0387 | x0640 | x0E46 | x0EC6 | x3005 | [x3031-x3035] | [x309D-x309E] | [x30FC-x30FE]</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1733 | <arg name='c' info='an UNICODE value (int) '/> |
| 1734 | </macro> |
| 1735 | <macro name='IS_IDEOGRAPHIC' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1736 | <info>Macro to check the following production in the XML spec: [86] Ideographic ::= [x4E00-x9FA5] | x3007 | [x3021-x3029]</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1737 | <arg name='c' info='an UNICODE value (int) '/> |
| 1738 | </macro> |
| 1739 | <macro name='IS_LETTER' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1740 | <info>Macro to check the following production in the XML spec: [84] Letter ::= BaseChar | Ideographic</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1741 | <arg name='c' info='an UNICODE value (int) '/> |
| 1742 | </macro> |
| 1743 | <macro name='IS_PUBIDCHAR' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1744 | <info>Macro to check the following production in the XML spec: [13] PubidChar ::= x20 | xD | xA | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1745 | <arg name='c' info='an UNICODE value (int) '/> |
| 1746 | </macro> |
Daniel Veillard | 0bfbb42 | 2002-04-26 09:21:45 +0000 | [diff] [blame] | 1747 | <macro name='LIBXML_AUTOMATA_ENABLED' file='xmlversion'> |
Daniel Veillard | fc57b41 | 2002-04-29 15:50:14 +0000 | [diff] [blame] | 1748 | <info>Whether the automata interfaces are compiled in</info> |
Daniel Veillard | 0bfbb42 | 2002-04-26 09:21:45 +0000 | [diff] [blame] | 1749 | </macro> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1750 | <macro name='LIBXML_C14N_ENABLED' file='xmlversion'> |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 1751 | <info>Whether the Canonicalization support is configured in</info> |
| 1752 | </macro> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1753 | <macro name='LIBXML_CATALOG_ENABLED' file='xmlversion'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1754 | <info>Whether the Catalog support is configured in</info> |
| 1755 | </macro> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1756 | <macro name='LIBXML_DEBUG_ENABLED' file='xmlversion'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1757 | <info>Whether Debugging module is configured in</info> |
| 1758 | </macro> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1759 | <macro name='LIBXML_DLL_IMPORT' file='xmlversion'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1760 | <info>Used on Windows (MS C compiler only) to declare a variable as imported from the library. This macro should be empty when compiling libxml itself. It should expand to __declspec(dllimport) when the client code includes this header, and that only if the client links dynamically against libxml. For this to work, we need three macros. One tells us which compiler is being used and luckily the compiler defines such a thing: _MSC_VER. The second macro tells us if we are compiling libxml or the client code and we define the macro IN_LIBXML on the compiler's command line for this purpose. The third macro, LIBXML_STATIC, must be defined by any client code which links against libxml statically.</info> |
| 1761 | </macro> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1762 | <macro name='LIBXML_DOCB_ENABLED' file='xmlversion'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1763 | <info>Whether the SGML Docbook support is configured in</info> |
| 1764 | </macro> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1765 | <macro name='LIBXML_DOTTED_VERSION' file='xmlversion'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1766 | <info>the version string like "1.2.3"</info> |
| 1767 | </macro> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1768 | <macro name='LIBXML_FTP_ENABLED' file='xmlversion'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1769 | <info>Whether the FTP support is configured in</info> |
| 1770 | </macro> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1771 | <macro name='LIBXML_HTML_ENABLED' file='xmlversion'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1772 | <info>Whether the HTML support is configured in</info> |
| 1773 | </macro> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1774 | <macro name='LIBXML_HTTP_ENABLED' file='xmlversion'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1775 | <info>Whether the HTTP support is configured in</info> |
| 1776 | </macro> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1777 | <macro name='LIBXML_ICONV_ENABLED' file='xmlversion'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1778 | <info>Whether iconv support is available</info> |
| 1779 | </macro> |
Daniel Veillard | 0bfbb42 | 2002-04-26 09:21:45 +0000 | [diff] [blame] | 1780 | <macro name='LIBXML_REGEXP_ENABLED' file='xmlversion'> |
Daniel Veillard | fc57b41 | 2002-04-29 15:50:14 +0000 | [diff] [blame] | 1781 | <info>Whether the regular expressions interfaces are compiled in</info> |
Daniel Veillard | 0bfbb42 | 2002-04-26 09:21:45 +0000 | [diff] [blame] | 1782 | </macro> |
| 1783 | <macro name='LIBXML_SCHEMAS_ENABLED' file='xmlversion'> |
Daniel Veillard | fc57b41 | 2002-04-29 15:50:14 +0000 | [diff] [blame] | 1784 | <info>Whether the Schemas validation interfaces are compiled in</info> |
Daniel Veillard | 0bfbb42 | 2002-04-26 09:21:45 +0000 | [diff] [blame] | 1785 | </macro> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1786 | <macro name='LIBXML_TEST_VERSION' file='xmlversion'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1787 | <info>Macro to check that the libxml version in use is compatible with the version the software has been compiled against</info> |
| 1788 | </macro> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1789 | <macro name='LIBXML_THREAD_ENABLED' file='xmlversion'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1790 | <info>Whether the thread support is configured in</info> |
| 1791 | </macro> |
Daniel Veillard | 0bfbb42 | 2002-04-26 09:21:45 +0000 | [diff] [blame] | 1792 | <macro name='LIBXML_UNICODE_ENABLED' file='xmlversion'> |
Daniel Veillard | fc57b41 | 2002-04-29 15:50:14 +0000 | [diff] [blame] | 1793 | <info>Whether the Unicode related interfaces are compiled in</info> |
Daniel Veillard | 0bfbb42 | 2002-04-26 09:21:45 +0000 | [diff] [blame] | 1794 | </macro> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1795 | <macro name='LIBXML_VERSION' file='xmlversion'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1796 | <info>the version number: 1.2.3 value is 1002003</info> |
| 1797 | </macro> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1798 | <macro name='LIBXML_VERSION_STRING' file='xmlversion'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1799 | <info>the version number string, 1.2.3 value is "1002003"</info> |
| 1800 | </macro> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1801 | <macro name='LIBXML_XINCLUDE_ENABLED' file='xmlversion'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1802 | <info>Whether XInclude is configured in</info> |
| 1803 | </macro> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1804 | <macro name='LIBXML_XPATH_ENABLED' file='xmlversion'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1805 | <info>Whether XPath is configured in</info> |
| 1806 | </macro> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1807 | <macro name='LIBXML_XPTR_ENABLED' file='xmlversion'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1808 | <info>Whether XPointer is configured in</info> |
| 1809 | </macro> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1810 | <macro name='MAX_STRERROR' file='wincecompat'> |
| 1811 | </macro> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1812 | <macro name='MOVETO_ENDTAG' file='parserInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1813 | <info>Skips to the next '>' char.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1814 | <arg name='p' info='and UTF8 string pointer '/> |
| 1815 | </macro> |
| 1816 | <macro name='MOVETO_STARTTAG' file='parserInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1817 | <info>Skips to the next '<' char.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1818 | <arg name='p' info='and UTF8 string pointer '/> |
| 1819 | </macro> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1820 | <macro name='O_APPEND' file='wincecompat'> |
| 1821 | </macro> |
| 1822 | <macro name='O_CREAT' file='wincecompat'> |
| 1823 | </macro> |
| 1824 | <macro name='O_EXCL' file='wincecompat'> |
| 1825 | </macro> |
| 1826 | <macro name='O_RDONLY' file='wincecompat'> |
| 1827 | </macro> |
| 1828 | <macro name='O_RDWR' file='wincecompat'> |
| 1829 | </macro> |
| 1830 | <macro name='O_TRUNC' file='wincecompat'> |
| 1831 | </macro> |
| 1832 | <macro name='O_WRONLY' file='wincecompat'> |
| 1833 | </macro> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1834 | <macro name='SKIP_EOL' file='parserInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1835 | <info>Skips the end of line chars.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1836 | <arg name='p' info='and UTF8 string pointer '/> |
| 1837 | </macro> |
Daniel Veillard | 80ce373 | 2002-10-07 17:39:30 +0000 | [diff] [blame] | 1838 | <macro name='SOCKLEN_T' file='wsockcompat'> |
| 1839 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 1840 | <function name='UTF8ToHtml' file='HTMLparser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 1841 | <info>Take a block of UTF-8 chars in and try to convert it to an ASCII plus HTML entities block of chars out.</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1842 | <return type='int' info='0 if success, -2 if the transcoding fails, or -1 otherwise The value of inlen after return is the number of octets consumed as the return value is positive, else unpredictable. The value of outlen after return is the number of octets consumed. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1843 | <arg name='out' type='unsigned char *' info='a pointer to an array of bytes to store the result '/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1844 | <arg name='outlen' type='int *' info='the length of out'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1845 | <arg name='in' type='const unsigned char *' info='a pointer to an array of UTF-8 chars '/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1846 | <arg name='inlen' type='int *' info='the length of in'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 1847 | </function> |
| 1848 | <function name='UTF8Toisolat1' file='encoding'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 1849 | <info>Take a block of UTF-8 chars in and try to convert it to an ISO Latin 1 block of chars out.</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1850 | <return type='int' info='0 if success, -2 if the transcoding fails, or -1 otherwise The value of inlen after return is the number of octets consumed as the return value is positive, else unpredictable. The value of outlen after return is the number of ocetes consumed. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1851 | <arg name='out' type='unsigned char *' info='a pointer to an array of bytes to store the result '/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1852 | <arg name='outlen' type='int *' info='the length of out'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1853 | <arg name='in' type='const unsigned char *' info='a pointer to an array of UTF-8 chars '/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 1854 | <arg name='inlen' type='int *' info='the length of in'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 1855 | </function> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1856 | <macro name='WITHOUT_TRIO' file='xmlversion'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1857 | <info>defined if the trio support should not be configured in</info> |
| 1858 | </macro> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 1859 | <macro name='WITH_TRIO' file='xmlversion'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1860 | <info>defined if the trio support need to be configured in</info> |
| 1861 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 1862 | <const name='XML_ATTRIBUTE_CDATA' file='tree'/> |
| 1863 | <const name='XML_ATTRIBUTE_DECL' file='tree'/> |
| 1864 | <const name='XML_ATTRIBUTE_ENTITIES' file='tree'/> |
| 1865 | <const name='XML_ATTRIBUTE_ENTITY' file='tree'/> |
| 1866 | <const name='XML_ATTRIBUTE_ENUMERATION' file='tree'/> |
| 1867 | <const name='XML_ATTRIBUTE_FIXED' file='tree'/> |
| 1868 | <const name='XML_ATTRIBUTE_ID' file='tree'/> |
| 1869 | <const name='XML_ATTRIBUTE_IDREF' file='tree'/> |
| 1870 | <const name='XML_ATTRIBUTE_IDREFS' file='tree'/> |
| 1871 | <const name='XML_ATTRIBUTE_IMPLIED' file='tree'/> |
| 1872 | <const name='XML_ATTRIBUTE_NMTOKEN' file='tree'/> |
| 1873 | <const name='XML_ATTRIBUTE_NMTOKENS' file='tree'/> |
| 1874 | <const name='XML_ATTRIBUTE_NODE' file='tree'/> |
| 1875 | <const name='XML_ATTRIBUTE_NONE' file='tree'/> |
| 1876 | <const name='XML_ATTRIBUTE_NOTATION' file='tree'/> |
| 1877 | <const name='XML_ATTRIBUTE_REQUIRED' file='tree'/> |
| 1878 | <const name='XML_BUFFER_ALLOC_DOUBLEIT' file='tree'/> |
| 1879 | <const name='XML_BUFFER_ALLOC_EXACT' file='tree'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1880 | <macro name='XML_CATALOGS_NAMESPACE' file='catalog'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1881 | <info>The namespace for the XML Catalogs elements.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1882 | </macro> |
| 1883 | <macro name='XML_CATALOG_PI' file='catalog'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1884 | <info>The specific XML Catalog Processing Instuction name.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1885 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 1886 | <const name='XML_CATA_ALLOW_ALL' file='catalog'/> |
| 1887 | <const name='XML_CATA_ALLOW_DOCUMENT' file='catalog'/> |
| 1888 | <const name='XML_CATA_ALLOW_GLOBAL' file='catalog'/> |
| 1889 | <const name='XML_CATA_ALLOW_NONE' file='catalog'/> |
| 1890 | <const name='XML_CATA_PREFER_NONE' file='catalog'/> |
| 1891 | <const name='XML_CATA_PREFER_PUBLIC' file='catalog'/> |
| 1892 | <const name='XML_CATA_PREFER_SYSTEM' file='catalog'/> |
| 1893 | <const name='XML_CDATA_SECTION_NODE' file='tree'/> |
| 1894 | <const name='XML_CHAR_ENCODING_2022_JP' file='encoding'/> |
| 1895 | <const name='XML_CHAR_ENCODING_8859_1' file='encoding'/> |
| 1896 | <const name='XML_CHAR_ENCODING_8859_2' file='encoding'/> |
| 1897 | <const name='XML_CHAR_ENCODING_8859_3' file='encoding'/> |
| 1898 | <const name='XML_CHAR_ENCODING_8859_4' file='encoding'/> |
| 1899 | <const name='XML_CHAR_ENCODING_8859_5' file='encoding'/> |
| 1900 | <const name='XML_CHAR_ENCODING_8859_6' file='encoding'/> |
| 1901 | <const name='XML_CHAR_ENCODING_8859_7' file='encoding'/> |
| 1902 | <const name='XML_CHAR_ENCODING_8859_8' file='encoding'/> |
| 1903 | <const name='XML_CHAR_ENCODING_8859_9' file='encoding'/> |
| 1904 | <const name='XML_CHAR_ENCODING_ASCII' file='encoding'/> |
| 1905 | <const name='XML_CHAR_ENCODING_EBCDIC' file='encoding'/> |
| 1906 | <const name='XML_CHAR_ENCODING_ERROR' file='encoding'/> |
| 1907 | <const name='XML_CHAR_ENCODING_EUC_JP' file='encoding'/> |
| 1908 | <const name='XML_CHAR_ENCODING_NONE' file='encoding'/> |
| 1909 | <const name='XML_CHAR_ENCODING_SHIFT_JIS' file='encoding'/> |
| 1910 | <const name='XML_CHAR_ENCODING_UCS2' file='encoding'/> |
| 1911 | <const name='XML_CHAR_ENCODING_UCS4BE' file='encoding'/> |
| 1912 | <const name='XML_CHAR_ENCODING_UCS4LE' file='encoding'/> |
| 1913 | <const name='XML_CHAR_ENCODING_UCS4_2143' file='encoding'/> |
| 1914 | <const name='XML_CHAR_ENCODING_UCS4_3412' file='encoding'/> |
| 1915 | <const name='XML_CHAR_ENCODING_UTF16BE' file='encoding'/> |
| 1916 | <const name='XML_CHAR_ENCODING_UTF16LE' file='encoding'/> |
| 1917 | <const name='XML_CHAR_ENCODING_UTF8' file='encoding'/> |
| 1918 | <const name='XML_COMMENT_NODE' file='tree'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1919 | <macro name='XML_COMPLETE_ATTRS' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1920 | <info>Bit in the loadsubset context field to tell to do complete the elements attributes lists with the ones defaulted from the DTDs. Use it to initialize xmlLoadExtDtdDefaultValue.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1921 | </macro> |
| 1922 | <macro name='XML_DEFAULT_VERSION' file='parser'> |
| 1923 | <info>The default version of XML used: 1.0</info> |
| 1924 | </macro> |
| 1925 | <macro name='XML_DETECT_IDS' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 1926 | <info>Bit in the loadsubset context field to tell to do ID/REFs lookups. Use it to initialize xmlLoadExtDtdDefaultValue.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 1927 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 1928 | <const name='XML_DOCB_DOCUMENT_NODE' file='tree'/> |
| 1929 | <const name='XML_DOCUMENT_FRAG_NODE' file='tree'/> |
| 1930 | <const name='XML_DOCUMENT_NODE' file='tree'/> |
| 1931 | <const name='XML_DOCUMENT_TYPE_NODE' file='tree'/> |
| 1932 | <const name='XML_DTD_NODE' file='tree'/> |
| 1933 | <const name='XML_ELEMENT_CONTENT_ELEMENT' file='tree'/> |
| 1934 | <const name='XML_ELEMENT_CONTENT_MULT' file='tree'/> |
| 1935 | <const name='XML_ELEMENT_CONTENT_ONCE' file='tree'/> |
| 1936 | <const name='XML_ELEMENT_CONTENT_OPT' file='tree'/> |
| 1937 | <const name='XML_ELEMENT_CONTENT_OR' file='tree'/> |
| 1938 | <const name='XML_ELEMENT_CONTENT_PCDATA' file='tree'/> |
| 1939 | <const name='XML_ELEMENT_CONTENT_PLUS' file='tree'/> |
| 1940 | <const name='XML_ELEMENT_CONTENT_SEQ' file='tree'/> |
| 1941 | <const name='XML_ELEMENT_DECL' file='tree'/> |
| 1942 | <const name='XML_ELEMENT_NODE' file='tree'/> |
| 1943 | <const name='XML_ELEMENT_TYPE_ANY' file='tree'/> |
| 1944 | <const name='XML_ELEMENT_TYPE_ELEMENT' file='tree'/> |
| 1945 | <const name='XML_ELEMENT_TYPE_EMPTY' file='tree'/> |
| 1946 | <const name='XML_ELEMENT_TYPE_MIXED' file='tree'/> |
| 1947 | <const name='XML_ELEMENT_TYPE_UNDEFINED' file='tree'/> |
| 1948 | <const name='XML_ENTITY_DECL' file='tree'/> |
| 1949 | <const name='XML_ENTITY_NODE' file='tree'/> |
| 1950 | <const name='XML_ENTITY_REF_NODE' file='tree'/> |
| 1951 | <const name='XML_ERR_ATTLIST_NOT_FINISHED' file='xmlerror'/> |
| 1952 | <const name='XML_ERR_ATTLIST_NOT_STARTED' file='xmlerror'/> |
| 1953 | <const name='XML_ERR_ATTRIBUTE_NOT_FINISHED' file='xmlerror'/> |
| 1954 | <const name='XML_ERR_ATTRIBUTE_NOT_STARTED' file='xmlerror'/> |
| 1955 | <const name='XML_ERR_ATTRIBUTE_REDEFINED' file='xmlerror'/> |
| 1956 | <const name='XML_ERR_ATTRIBUTE_WITHOUT_VALUE' file='xmlerror'/> |
| 1957 | <const name='XML_ERR_CDATA_NOT_FINISHED' file='xmlerror'/> |
| 1958 | <const name='XML_ERR_CHARREF_AT_EOF' file='xmlerror'/> |
| 1959 | <const name='XML_ERR_CHARREF_IN_DTD' file='xmlerror'/> |
| 1960 | <const name='XML_ERR_CHARREF_IN_EPILOG' file='xmlerror'/> |
| 1961 | <const name='XML_ERR_CHARREF_IN_PROLOG' file='xmlerror'/> |
| 1962 | <const name='XML_ERR_COMMENT_NOT_FINISHED' file='xmlerror'/> |
| 1963 | <const name='XML_ERR_CONDSEC_INVALID' file='xmlerror'/> |
| 1964 | <const name='XML_ERR_CONDSEC_NOT_FINISHED' file='xmlerror'/> |
| 1965 | <const name='XML_ERR_CONDSEC_NOT_STARTED' file='xmlerror'/> |
| 1966 | <const name='XML_ERR_DOCTYPE_NOT_FINISHED' file='xmlerror'/> |
| 1967 | <const name='XML_ERR_DOCUMENT_EMPTY' file='xmlerror'/> |
| 1968 | <const name='XML_ERR_DOCUMENT_END' file='xmlerror'/> |
| 1969 | <const name='XML_ERR_DOCUMENT_START' file='xmlerror'/> |
| 1970 | <const name='XML_ERR_ELEMCONTENT_NOT_FINISHED' file='xmlerror'/> |
| 1971 | <const name='XML_ERR_ELEMCONTENT_NOT_STARTED' file='xmlerror'/> |
| 1972 | <const name='XML_ERR_ENCODING_NAME' file='xmlerror'/> |
| 1973 | <const name='XML_ERR_ENTITYREF_AT_EOF' file='xmlerror'/> |
| 1974 | <const name='XML_ERR_ENTITYREF_IN_DTD' file='xmlerror'/> |
| 1975 | <const name='XML_ERR_ENTITYREF_IN_EPILOG' file='xmlerror'/> |
| 1976 | <const name='XML_ERR_ENTITYREF_IN_PROLOG' file='xmlerror'/> |
| 1977 | <const name='XML_ERR_ENTITYREF_NO_NAME' file='xmlerror'/> |
| 1978 | <const name='XML_ERR_ENTITYREF_SEMICOL_MISSING' file='xmlerror'/> |
| 1979 | <const name='XML_ERR_ENTITY_BOUNDARY' file='xmlerror'/> |
| 1980 | <const name='XML_ERR_ENTITY_CHAR_ERROR' file='xmlerror'/> |
| 1981 | <const name='XML_ERR_ENTITY_IS_EXTERNAL' file='xmlerror'/> |
| 1982 | <const name='XML_ERR_ENTITY_IS_PARAMETER' file='xmlerror'/> |
| 1983 | <const name='XML_ERR_ENTITY_LOOP' file='xmlerror'/> |
| 1984 | <const name='XML_ERR_ENTITY_NOT_FINISHED' file='xmlerror'/> |
| 1985 | <const name='XML_ERR_ENTITY_NOT_STARTED' file='xmlerror'/> |
| 1986 | <const name='XML_ERR_ENTITY_PE_INTERNAL' file='xmlerror'/> |
| 1987 | <const name='XML_ERR_EQUAL_REQUIRED' file='xmlerror'/> |
| 1988 | <const name='XML_ERR_EXTRA_CONTENT' file='xmlerror'/> |
| 1989 | <const name='XML_ERR_EXT_ENTITY_STANDALONE' file='xmlerror'/> |
| 1990 | <const name='XML_ERR_EXT_SUBSET_NOT_FINISHED' file='xmlerror'/> |
| 1991 | <const name='XML_ERR_GT_REQUIRED' file='xmlerror'/> |
| 1992 | <const name='XML_ERR_HYPHEN_IN_COMMENT' file='xmlerror'/> |
| 1993 | <const name='XML_ERR_INTERNAL_ERROR' file='xmlerror'/> |
| 1994 | <const name='XML_ERR_INVALID_CHAR' file='xmlerror'/> |
| 1995 | <const name='XML_ERR_INVALID_CHARREF' file='xmlerror'/> |
| 1996 | <const name='XML_ERR_INVALID_DEC_CHARREF' file='xmlerror'/> |
| 1997 | <const name='XML_ERR_INVALID_ENCODING' file='xmlerror'/> |
| 1998 | <const name='XML_ERR_INVALID_HEX_CHARREF' file='xmlerror'/> |
| 1999 | <const name='XML_ERR_INVALID_URI' file='xmlerror'/> |
| 2000 | <const name='XML_ERR_LITERAL_NOT_FINISHED' file='xmlerror'/> |
| 2001 | <const name='XML_ERR_LITERAL_NOT_STARTED' file='xmlerror'/> |
| 2002 | <const name='XML_ERR_LTSLASH_REQUIRED' file='xmlerror'/> |
| 2003 | <const name='XML_ERR_LT_IN_ATTRIBUTE' file='xmlerror'/> |
| 2004 | <const name='XML_ERR_LT_REQUIRED' file='xmlerror'/> |
| 2005 | <const name='XML_ERR_MISPLACED_CDATA_END' file='xmlerror'/> |
| 2006 | <const name='XML_ERR_MIXED_NOT_FINISHED' file='xmlerror'/> |
| 2007 | <const name='XML_ERR_MIXED_NOT_STARTED' file='xmlerror'/> |
| 2008 | <const name='XML_ERR_NAME_REQUIRED' file='xmlerror'/> |
| 2009 | <const name='XML_ERR_NMTOKEN_REQUIRED' file='xmlerror'/> |
| 2010 | <const name='XML_ERR_NOTATION_NOT_FINISHED' file='xmlerror'/> |
| 2011 | <const name='XML_ERR_NOTATION_NOT_STARTED' file='xmlerror'/> |
| 2012 | <const name='XML_ERR_NOT_WELL_BALANCED' file='xmlerror'/> |
| 2013 | <const name='XML_ERR_NO_DTD' file='xmlerror'/> |
| 2014 | <const name='XML_ERR_NO_MEMORY' file='xmlerror'/> |
| 2015 | <const name='XML_ERR_NS_DECL_ERROR' file='xmlerror'/> |
| 2016 | <const name='XML_ERR_OK' file='xmlerror'/> |
| 2017 | <const name='XML_ERR_PCDATA_REQUIRED' file='xmlerror'/> |
| 2018 | <const name='XML_ERR_PEREF_AT_EOF' file='xmlerror'/> |
| 2019 | <const name='XML_ERR_PEREF_IN_EPILOG' file='xmlerror'/> |
| 2020 | <const name='XML_ERR_PEREF_IN_INT_SUBSET' file='xmlerror'/> |
| 2021 | <const name='XML_ERR_PEREF_IN_PROLOG' file='xmlerror'/> |
| 2022 | <const name='XML_ERR_PEREF_NO_NAME' file='xmlerror'/> |
| 2023 | <const name='XML_ERR_PEREF_SEMICOL_MISSING' file='xmlerror'/> |
| 2024 | <const name='XML_ERR_PI_NOT_FINISHED' file='xmlerror'/> |
| 2025 | <const name='XML_ERR_PI_NOT_STARTED' file='xmlerror'/> |
| 2026 | <const name='XML_ERR_PUBID_REQUIRED' file='xmlerror'/> |
| 2027 | <const name='XML_ERR_RESERVED_XML_NAME' file='xmlerror'/> |
| 2028 | <const name='XML_ERR_SEPARATOR_REQUIRED' file='xmlerror'/> |
| 2029 | <const name='XML_ERR_SPACE_REQUIRED' file='xmlerror'/> |
| 2030 | <const name='XML_ERR_STANDALONE_VALUE' file='xmlerror'/> |
| 2031 | <const name='XML_ERR_STRING_NOT_CLOSED' file='xmlerror'/> |
| 2032 | <const name='XML_ERR_STRING_NOT_STARTED' file='xmlerror'/> |
| 2033 | <const name='XML_ERR_TAG_NAME_MISMATCH' file='xmlerror'/> |
| 2034 | <const name='XML_ERR_TAG_NOT_FINISHED' file='xmlerror'/> |
| 2035 | <const name='XML_ERR_UNDECLARED_ENTITY' file='xmlerror'/> |
| 2036 | <const name='XML_ERR_UNKNOWN_ENCODING' file='xmlerror'/> |
| 2037 | <const name='XML_ERR_UNPARSED_ENTITY' file='xmlerror'/> |
| 2038 | <const name='XML_ERR_UNSUPPORTED_ENCODING' file='xmlerror'/> |
| 2039 | <const name='XML_ERR_URI_FRAGMENT' file='xmlerror'/> |
| 2040 | <const name='XML_ERR_URI_REQUIRED' file='xmlerror'/> |
| 2041 | <const name='XML_ERR_VALUE_REQUIRED' file='xmlerror'/> |
| 2042 | <const name='XML_ERR_XMLDECL_NOT_FINISHED' file='xmlerror'/> |
| 2043 | <const name='XML_ERR_XMLDECL_NOT_STARTED' file='xmlerror'/> |
| 2044 | <const name='XML_EXTERNAL_GENERAL_PARSED_ENTITY' file='entities'/> |
| 2045 | <const name='XML_EXTERNAL_GENERAL_UNPARSED_ENTITY' file='entities'/> |
| 2046 | <const name='XML_EXTERNAL_PARAMETER_ENTITY' file='entities'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2047 | <macro name='XML_GET_CONTENT' file='tree'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2048 | <info>Macro to extract the content pointer of a node.</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 2049 | <arg name='n'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2050 | </macro> |
| 2051 | <macro name='XML_GET_LINE' file='tree'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2052 | <info>Macro to extract the line number of an element node. This will work only if line numbering is activated by calling xmlLineNumbersDefault(1) before parsing.</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 2053 | <arg name='n'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2054 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2055 | <const name='XML_HTML_DOCUMENT_NODE' file='tree'/> |
| 2056 | <const name='XML_INTERNAL_GENERAL_ENTITY' file='entities'/> |
| 2057 | <const name='XML_INTERNAL_PARAMETER_ENTITY' file='entities'/> |
| 2058 | <const name='XML_INTERNAL_PREDEFINED_ENTITY' file='entities'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2059 | <macro name='XML_LOCAL_NAMESPACE' file='tree'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2060 | <info>A namespace declaration node.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2061 | </macro> |
| 2062 | <macro name='XML_MAX_NAMELEN' file='parserInternals'> |
| 2063 | <info>Identifiers can be longer, but this will be more costly at runtime.</info> |
| 2064 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2065 | <const name='XML_NAMESPACE_DECL' file='tree'/> |
| 2066 | <const name='XML_NOTATION_NODE' file='tree'/> |
| 2067 | <const name='XML_PARSER_ATTRIBUTE_VALUE' file='parser'/> |
| 2068 | <const name='XML_PARSER_CDATA_SECTION' file='parser'/> |
| 2069 | <const name='XML_PARSER_COMMENT' file='parser'/> |
| 2070 | <const name='XML_PARSER_CONTENT' file='parser'/> |
| 2071 | <const name='XML_PARSER_DTD' file='parser'/> |
| 2072 | <const name='XML_PARSER_END_TAG' file='parser'/> |
| 2073 | <const name='XML_PARSER_ENTITY_DECL' file='parser'/> |
| 2074 | <const name='XML_PARSER_ENTITY_VALUE' file='parser'/> |
| 2075 | <const name='XML_PARSER_EOF' file='parser'/> |
| 2076 | <const name='XML_PARSER_EPILOG' file='parser'/> |
| 2077 | <const name='XML_PARSER_IGNORE' file='parser'/> |
| 2078 | <const name='XML_PARSER_MISC' file='parser'/> |
| 2079 | <const name='XML_PARSER_PI' file='parser'/> |
| 2080 | <const name='XML_PARSER_PROLOG' file='parser'/> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 2081 | <const name='XML_PARSER_PUBLIC_LITERAL' file='parser'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2082 | <const name='XML_PARSER_START' file='parser'/> |
| 2083 | <const name='XML_PARSER_START_TAG' file='parser'/> |
| 2084 | <const name='XML_PARSER_SYSTEM_LITERAL' file='parser'/> |
| 2085 | <const name='XML_PI_NODE' file='tree'/> |
Daniel Veillard | 0bfbb42 | 2002-04-26 09:21:45 +0000 | [diff] [blame] | 2086 | <macro name='XML_SCHEMAS_ANYATTR_LAX' file='schemasInternals'> |
| 2087 | </macro> |
| 2088 | <macro name='XML_SCHEMAS_ANYATTR_SKIP' file='schemasInternals'> |
| 2089 | </macro> |
| 2090 | <macro name='XML_SCHEMAS_ANYATTR_STRICT' file='schemasInternals'> |
| 2091 | </macro> |
| 2092 | <macro name='XML_SCHEMAS_ELEM_ABSTRACT' file='schemasInternals'> |
| 2093 | </macro> |
| 2094 | <macro name='XML_SCHEMAS_ELEM_DEFAULT' file='schemasInternals'> |
| 2095 | </macro> |
| 2096 | <macro name='XML_SCHEMAS_ELEM_FIXED' file='schemasInternals'> |
| 2097 | </macro> |
| 2098 | <macro name='XML_SCHEMAS_ELEM_GLOBAL' file='schemasInternals'> |
| 2099 | </macro> |
| 2100 | <macro name='XML_SCHEMAS_ELEM_NILLABLE' file='schemasInternals'> |
| 2101 | </macro> |
| 2102 | <macro name='XML_SCHEMAS_ELEM_REF' file='schemasInternals'> |
| 2103 | </macro> |
| 2104 | <macro name='XML_SCHEMAS_ELEM_TOPLEVEL' file='schemasInternals'> |
| 2105 | </macro> |
Daniel Veillard | 0bfbb42 | 2002-04-26 09:21:45 +0000 | [diff] [blame] | 2106 | <macro name='XML_SCHEMAS_FACET_COLLAPSE' file='schemasInternals'> |
| 2107 | </macro> |
| 2108 | <macro name='XML_SCHEMAS_FACET_PRESERVE' file='schemasInternals'> |
| 2109 | </macro> |
| 2110 | <macro name='XML_SCHEMAS_FACET_REPLACE' file='schemasInternals'> |
| 2111 | </macro> |
| 2112 | <macro name='XML_SCHEMAS_FACET_UNKNOWN' file='schemasInternals'> |
| 2113 | </macro> |
| 2114 | <macro name='XML_SCHEMAS_QUALIF_ATTR' file='schemasInternals'> |
| 2115 | </macro> |
| 2116 | <macro name='XML_SCHEMAS_QUALIF_ELEM' file='schemasInternals'> |
| 2117 | </macro> |
| 2118 | <macro name='XML_SCHEMAS_TYPE_MIXED' file='schemasInternals'> |
| 2119 | </macro> |
| 2120 | <const name='XML_SCHEMA_CONTENT_ANY' file='schemasInternals'/> |
| 2121 | <const name='XML_SCHEMA_CONTENT_BASIC' file='schemasInternals'/> |
| 2122 | <const name='XML_SCHEMA_CONTENT_ELEMENTS' file='schemasInternals'/> |
| 2123 | <const name='XML_SCHEMA_CONTENT_EMPTY' file='schemasInternals'/> |
| 2124 | <const name='XML_SCHEMA_CONTENT_MIXED' file='schemasInternals'/> |
| 2125 | <const name='XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS' file='schemasInternals'/> |
| 2126 | <const name='XML_SCHEMA_CONTENT_SIMPLE' file='schemasInternals'/> |
| 2127 | <const name='XML_SCHEMA_CONTENT_UNKNOWN' file='schemasInternals'/> |
| 2128 | <const name='XML_SCHEMA_FACET_ENUMERATION' file='schemasInternals'/> |
| 2129 | <const name='XML_SCHEMA_FACET_FRACTIONDIGITS' file='schemasInternals'/> |
| 2130 | <const name='XML_SCHEMA_FACET_LENGTH' file='schemasInternals'/> |
| 2131 | <const name='XML_SCHEMA_FACET_MAXEXCLUSIVE' file='schemasInternals'/> |
| 2132 | <const name='XML_SCHEMA_FACET_MAXINCLUSIVE' file='schemasInternals'/> |
| 2133 | <const name='XML_SCHEMA_FACET_MAXLENGTH' file='schemasInternals'/> |
| 2134 | <const name='XML_SCHEMA_FACET_MINEXCLUSIVE' file='schemasInternals'/> |
| 2135 | <const name='XML_SCHEMA_FACET_MININCLUSIVE' file='schemasInternals'/> |
| 2136 | <const name='XML_SCHEMA_FACET_MINLENGTH' file='schemasInternals'/> |
| 2137 | <const name='XML_SCHEMA_FACET_PATTERN' file='schemasInternals'/> |
| 2138 | <const name='XML_SCHEMA_FACET_TOTALDIGITS' file='schemasInternals'/> |
| 2139 | <const name='XML_SCHEMA_FACET_WHITESPACE' file='schemasInternals'/> |
| 2140 | <const name='XML_SCHEMA_TYPE_ALL' file='schemasInternals'/> |
| 2141 | <const name='XML_SCHEMA_TYPE_ANY' file='schemasInternals'/> |
| 2142 | <const name='XML_SCHEMA_TYPE_ATTRIBUTE' file='schemasInternals'/> |
| 2143 | <const name='XML_SCHEMA_TYPE_ATTRIBUTEGROUP' file='schemasInternals'/> |
| 2144 | <const name='XML_SCHEMA_TYPE_BASIC' file='schemasInternals'/> |
| 2145 | <const name='XML_SCHEMA_TYPE_CHOICE' file='schemasInternals'/> |
| 2146 | <const name='XML_SCHEMA_TYPE_COMPLEX' file='schemasInternals'/> |
| 2147 | <const name='XML_SCHEMA_TYPE_COMPLEX_CONTENT' file='schemasInternals'/> |
| 2148 | <const name='XML_SCHEMA_TYPE_ELEMENT' file='schemasInternals'/> |
| 2149 | <const name='XML_SCHEMA_TYPE_EXTENSION' file='schemasInternals'/> |
| 2150 | <const name='XML_SCHEMA_TYPE_FACET' file='schemasInternals'/> |
| 2151 | <const name='XML_SCHEMA_TYPE_GROUP' file='schemasInternals'/> |
| 2152 | <const name='XML_SCHEMA_TYPE_LIST' file='schemasInternals'/> |
| 2153 | <const name='XML_SCHEMA_TYPE_NOTATION' file='schemasInternals'/> |
| 2154 | <const name='XML_SCHEMA_TYPE_RESTRICTION' file='schemasInternals'/> |
| 2155 | <const name='XML_SCHEMA_TYPE_SEQUENCE' file='schemasInternals'/> |
| 2156 | <const name='XML_SCHEMA_TYPE_SIMPLE' file='schemasInternals'/> |
| 2157 | <const name='XML_SCHEMA_TYPE_SIMPLE_CONTENT' file='schemasInternals'/> |
| 2158 | <const name='XML_SCHEMA_TYPE_UNION' file='schemasInternals'/> |
| 2159 | <const name='XML_SCHEMA_TYPE_UR' file='schemasInternals'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2160 | <macro name='XML_SUBSTITUTE_BOTH' file='parserInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2161 | <info>Both general and parameter entities need to be substituted.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2162 | </macro> |
| 2163 | <macro name='XML_SUBSTITUTE_NONE' file='parserInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2164 | <info>If no entities need to be substituted.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2165 | </macro> |
| 2166 | <macro name='XML_SUBSTITUTE_PEREF' file='parserInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2167 | <info>Whether parameter entities need to be substituted.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2168 | </macro> |
| 2169 | <macro name='XML_SUBSTITUTE_REF' file='parserInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2170 | <info>Whether general entities need to be substituted.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2171 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2172 | <const name='XML_TEXT_NODE' file='tree'/> |
| 2173 | <const name='XML_WAR_CATALOG_PI' file='xmlerror'/> |
| 2174 | <const name='XML_WAR_UNDECLARED_ENTITY' file='xmlerror'/> |
| 2175 | <const name='XML_XINCLUDE_END' file='tree'/> |
| 2176 | <const name='XML_XINCLUDE_START' file='tree'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2177 | <macro name='XML_XML_NAMESPACE' file='tree'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2178 | <info>This is the namespace for the special xml: prefix predefined in the XML Namespace specification.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2179 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2180 | <const name='XPATH_BOOLEAN' file='xpath'/> |
| 2181 | <const name='XPATH_ENCODING_ERROR' file='xpath'/> |
| 2182 | <const name='XPATH_EXPRESSION_OK' file='xpath'/> |
| 2183 | <const name='XPATH_EXPR_ERROR' file='xpath'/> |
| 2184 | <const name='XPATH_INVALID_ARITY' file='xpath'/> |
| 2185 | <const name='XPATH_INVALID_CHAR_ERROR' file='xpath'/> |
| 2186 | <const name='XPATH_INVALID_CTXT_POSITION' file='xpath'/> |
| 2187 | <const name='XPATH_INVALID_CTXT_SIZE' file='xpath'/> |
| 2188 | <const name='XPATH_INVALID_OPERAND' file='xpath'/> |
| 2189 | <const name='XPATH_INVALID_PREDICATE_ERROR' file='xpath'/> |
| 2190 | <const name='XPATH_INVALID_TYPE' file='xpath'/> |
| 2191 | <const name='XPATH_LOCATIONSET' file='xpath'/> |
| 2192 | <const name='XPATH_MEMORY_ERROR' file='xpath'/> |
| 2193 | <const name='XPATH_NODESET' file='xpath'/> |
| 2194 | <const name='XPATH_NUMBER' file='xpath'/> |
| 2195 | <const name='XPATH_NUMBER_ERROR' file='xpath'/> |
| 2196 | <const name='XPATH_POINT' file='xpath'/> |
| 2197 | <const name='XPATH_RANGE' file='xpath'/> |
| 2198 | <const name='XPATH_START_LITERAL_ERROR' file='xpath'/> |
| 2199 | <const name='XPATH_STRING' file='xpath'/> |
| 2200 | <const name='XPATH_UNCLOSED_ERROR' file='xpath'/> |
| 2201 | <const name='XPATH_UNDEFINED' file='xpath'/> |
| 2202 | <const name='XPATH_UNDEF_PREFIX_ERROR' file='xpath'/> |
| 2203 | <const name='XPATH_UNDEF_VARIABLE_ERROR' file='xpath'/> |
| 2204 | <const name='XPATH_UNFINISHED_LITERAL_ERROR' file='xpath'/> |
| 2205 | <const name='XPATH_UNKNOWN_FUNC_ERROR' file='xpath'/> |
| 2206 | <const name='XPATH_USERS' file='xpath'/> |
| 2207 | <const name='XPATH_VARIABLE_REF_ERROR' file='xpath'/> |
| 2208 | <const name='XPATH_XSLT_TREE' file='xpath'/> |
| 2209 | <const name='XPTR_RESOURCE_ERROR' file='xpath'/> |
| 2210 | <const name='XPTR_SUB_RESOURCE_ERROR' file='xpath'/> |
| 2211 | <const name='XPTR_SYNTAX_ERROR' file='xpath'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2212 | <macro name='XP_ERROR' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2213 | <info>Macro to raise an XPath error and return.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2214 | <arg name='X' info='the error code '/> |
| 2215 | </macro> |
| 2216 | <macro name='XP_ERROR0' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2217 | <info>Macro to raise an XPath error and return 0.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2218 | <arg name='X' info='the error code '/> |
| 2219 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2220 | <function name='attribute' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2221 | <info>Handle an attribute that has been read by the parser. The default handling is to convert the attribute into an DOM subtree and past it in a new xmlAttr element added to the element.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2222 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2223 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2224 | <arg name='fullname' type='const xmlChar *' info='The attribute name, including namespace prefix '/> |
| 2225 | <arg name='value' type='const xmlChar *' info='The attribute value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2226 | </function> |
| 2227 | <function name='attributeDecl' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2228 | <info>An attribute definition has been parsed</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2229 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2230 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2231 | <arg name='elem' type='const xmlChar *' info='the name of the element '/> |
| 2232 | <arg name='fullname' type='const xmlChar *' info='the attribute name '/> |
| 2233 | <arg name='type' type='int' info='the attribute type '/> |
| 2234 | <arg name='def' type='int' info='the type of default value '/> |
| 2235 | <arg name='defaultValue' type='const xmlChar *' info='the attribute default value '/> |
| 2236 | <arg name='tree' type='xmlEnumerationPtr' info='the tree of enumerated value set '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2237 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2238 | <functype name='attributeDeclSAXFunc' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2239 | <info>An attribute definition has been parsed.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2240 | <return type='void'/> |
| 2241 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2242 | <arg name='elem' type='const xmlChar *' info='the name of the element '/> |
| 2243 | <arg name='fullname' type='const xmlChar *' info='the attribute name '/> |
| 2244 | <arg name='type' type='int' info='the attribute type '/> |
| 2245 | <arg name='def' type='int' info='the type of default value '/> |
| 2246 | <arg name='defaultValue' type='const xmlChar *' info='the attribute default value '/> |
| 2247 | <arg name='tree' type='xmlEnumerationPtr' info='the tree of enumerated value set '/> |
| 2248 | </functype> |
| 2249 | <functype name='attributeSAXFunc' file='parser'> |
| 2250 | <info>Handle an attribute that has been read by the parser. The default handling is to convert the attribute into an DOM subtree and past it in a new xmlAttr element added to the element.</info> |
| 2251 | <return type='void'/> |
| 2252 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2253 | <arg name='name' type='const xmlChar *' info='The attribute name, including namespace prefix '/> |
| 2254 | <arg name='value' type='const xmlChar *' info='The attribute value '/> |
| 2255 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2256 | <function name='cdataBlock' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2257 | <info>called when a pcdata block has been parsed</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2258 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2259 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2260 | <arg name='value' type='const xmlChar *' info='The pcdata content '/> |
| 2261 | <arg name='len' type='int' info='the block length '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2262 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2263 | <functype name='cdataBlockSAXFunc' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2264 | <info>Called when a pcdata block has been parsed.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2265 | <return type='void'/> |
| 2266 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2267 | <arg name='value' type='const xmlChar *' info='The pcdata content '/> |
| 2268 | <arg name='len' type='int' info='the block length '/> |
| 2269 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2270 | <function name='characters' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2271 | <info>receiving some chars from the parser.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2272 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2273 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2274 | <arg name='ch' type='const xmlChar *' info='a xmlChar string '/> |
| 2275 | <arg name='len' type='int' info='the number of xmlChar '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2276 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2277 | <functype name='charactersSAXFunc' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2278 | <info>Receiving some chars from the parser.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2279 | <return type='void'/> |
| 2280 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2281 | <arg name='ch' type='const xmlChar *' info='a xmlChar string '/> |
| 2282 | <arg name='len' type='int' info='the number of xmlChar '/> |
| 2283 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2284 | <function name='checkNamespace' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2285 | <info>Check that the current element namespace is the same as the one read upon parsing.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2286 | <return type='int' info='1 if true 0 otherwise '/> |
| 2287 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2288 | <arg name='nameSpace' type='xmlChar *' info='the namespace to check against '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2289 | </function> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 2290 | <function name='close' file='wincecompat'> |
| 2291 | <return type='int'/> |
| 2292 | <arg name='handle' type='int'/> |
| 2293 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2294 | <function name='comment' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2295 | <info>A comment has been parsed.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2296 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2297 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2298 | <arg name='value' type='const xmlChar *' info='the comment content '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2299 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2300 | <functype name='commentSAXFunc' file='parser'> |
| 2301 | <info>A comment has been parsed.</info> |
| 2302 | <return type='void'/> |
| 2303 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2304 | <arg name='value' type='const xmlChar *' info='the comment content '/> |
| 2305 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2306 | <function name='docbCreateFileParserCtxt' file='DOCBparser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2307 | <info>Create a parser context for a file content. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2308 | <return type='docbParserCtxtPtr' info='the new parser context or NULL '/> |
| 2309 | <arg name='filename' type='const char *' info='the filename '/> |
| 2310 | <arg name='encoding' type='const char *' info='the SGML document encoding, or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2311 | </function> |
| 2312 | <function name='docbCreatePushParserCtxt' file='DOCBparser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2313 | <info>Create a parser context for using the DocBook SGML parser in push mode To allow content encoding detection, size should be >= 4 The value of filename is used for fetching external entities and error/warning reports.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2314 | <return type='docbParserCtxtPtr' info='the new parser context or NULL '/> |
| 2315 | <arg name='sax' type='docbSAXHandlerPtr' info='a SAX handler '/> |
| 2316 | <arg name='user_data' type='void *' info='The user data returned on SAX callbacks '/> |
| 2317 | <arg name='chunk' type='const char *' info='a pointer to an array of chars '/> |
| 2318 | <arg name='size' type='int' info='number of chars in the array '/> |
| 2319 | <arg name='filename' type='const char *' info='an optional file name or URI '/> |
| 2320 | <arg name='enc' type='xmlCharEncoding' info='an optional encoding '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2321 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2322 | <macro name='docbDefaultSAXHandler' file='globals'> |
| 2323 | <info>Default handler for SGML DocBook, builds the DOM tree</info> |
| 2324 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2325 | <function name='docbDefaultSAXHandlerInit' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2326 | <info>Initialize the default SAX handler</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2327 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2328 | </function> |
| 2329 | <typedef name='docbDocPtr' file='DOCBparser'/> |
| 2330 | <function name='docbEncodeEntities' file='DOCBparser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2331 | <info>Take a block of UTF-8 chars in and try to convert it to an ASCII plus SGML entities block of chars out.</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 2332 | <return type='int' info='0 if success, -2 if the transcoding fails, or -1 otherwise The value of inlen after return is the number of octets consumed as the return value is positive, else unpredictable. The value of outlen after return is the number of octets consumed. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2333 | <arg name='out' type='unsigned char *' info='a pointer to an array of bytes to store the result '/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 2334 | <arg name='outlen' type='int *' info='the length of out'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2335 | <arg name='in' type='const unsigned char *' info='a pointer to an array of UTF-8 chars '/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 2336 | <arg name='inlen' type='int *' info='the length of in'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2337 | <arg name='quoteChar' type='int' info='the quote character to escape (' or ") or zero. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2338 | </function> |
| 2339 | <function name='docbFreeParserCtxt' file='DOCBparser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2340 | <info>Free all the memory used by a parser context. However the parsed document in ctxt->myDoc is not freed.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2341 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2342 | <arg name='ctxt' type='docbParserCtxtPtr' info='an SGML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2343 | </function> |
| 2344 | <typedef name='docbNodePtr' file='DOCBparser'/> |
| 2345 | <function name='docbParseChunk' file='DOCBparser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2346 | <info>Parse a Chunk of memory</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2347 | <return type='int' info='zero if no error, the xmlParserErrors otherwise. '/> |
| 2348 | <arg name='ctxt' type='docbParserCtxtPtr' info='an XML parser context '/> |
| 2349 | <arg name='chunk' type='const char *' info='an char array '/> |
| 2350 | <arg name='size' type='int' info='the size in byte of the chunk '/> |
| 2351 | <arg name='terminate' type='int' info='last chunk indicator '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2352 | </function> |
| 2353 | <function name='docbParseDoc' file='DOCBparser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2354 | <info>parse an SGML in-memory document and build a tree.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2355 | <return type='docbDocPtr' info='the resulting document tree '/> |
| 2356 | <arg name='cur' type='xmlChar *' info='a pointer to an array of xmlChar '/> |
| 2357 | <arg name='encoding' type='const char *' info='a free form C string describing the SGML document encoding, or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2358 | </function> |
| 2359 | <function name='docbParseDocument' file='DOCBparser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2360 | <info>parse an SGML document (and build a tree if using the standard SAX interface).</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2361 | <return type='int' info='0, -1 in case of error. the parser context is augmented as a result of the parsing. '/> |
| 2362 | <arg name='ctxt' type='docbParserCtxtPtr' info='an SGML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2363 | </function> |
| 2364 | <function name='docbParseFile' file='DOCBparser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2365 | <info>parse a Docbook SGML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2366 | <return type='docbDocPtr' info='the resulting document tree '/> |
| 2367 | <arg name='filename' type='const char *' info='the filename '/> |
| 2368 | <arg name='encoding' type='const char *' info='a free form C string describing document encoding, or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2369 | </function> |
| 2370 | <typedef name='docbParserCtxt' file='DOCBparser'/> |
| 2371 | <typedef name='docbParserCtxtPtr' file='DOCBparser'/> |
| 2372 | <typedef name='docbParserInput' file='DOCBparser'/> |
| 2373 | <typedef name='docbParserInputPtr' file='DOCBparser'/> |
| 2374 | <typedef name='docbParserNodeInfo' file='DOCBparser'/> |
| 2375 | <typedef name='docbSAXHandler' file='DOCBparser'/> |
| 2376 | <typedef name='docbSAXHandlerPtr' file='DOCBparser'/> |
| 2377 | <function name='docbSAXParseDoc' file='DOCBparser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2378 | <info>parse an SGML in-memory document and build a tree. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2379 | <return type='docbDocPtr' info='the resulting document tree '/> |
| 2380 | <arg name='cur' type='xmlChar *' info='a pointer to an array of xmlChar '/> |
| 2381 | <arg name='encoding' type='const char *' info='a free form C string describing the SGML document encoding, or NULL '/> |
| 2382 | <arg name='sax' type='docbSAXHandlerPtr' info='the SAX handler block '/> |
| 2383 | <arg name='userData' type='void *' info='if using SAX, this pointer will be provided on callbacks. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2384 | </function> |
| 2385 | <function name='docbSAXParseFile' file='DOCBparser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2386 | <info>parse an SGML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2387 | <return type='docbDocPtr' info='the resulting document tree '/> |
| 2388 | <arg name='filename' type='const char *' info='the filename '/> |
| 2389 | <arg name='encoding' type='const char *' info='a free form C string describing the SGML document encoding, or NULL '/> |
| 2390 | <arg name='sax' type='docbSAXHandlerPtr' info='the SAX handler block '/> |
| 2391 | <arg name='userData' type='void *' info='if using SAX, this pointer will be provided on callbacks. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2392 | </function> |
| 2393 | <function name='elementDecl' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2394 | <info>An element definition has been parsed</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2395 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2396 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2397 | <arg name='name' type='const xmlChar *' info='the element name '/> |
| 2398 | <arg name='type' type='int' info='the element type '/> |
| 2399 | <arg name='content' type='xmlElementContentPtr' info='the element value tree '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2400 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2401 | <functype name='elementDeclSAXFunc' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2402 | <info>An element definition has been parsed.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2403 | <return type='void'/> |
| 2404 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2405 | <arg name='name' type='const xmlChar *' info='the element name '/> |
| 2406 | <arg name='type' type='int' info='the element type '/> |
| 2407 | <arg name='content' type='xmlElementContentPtr' info='the element value tree '/> |
| 2408 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2409 | <function name='endDocument' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2410 | <info>called when the document end has been detected.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2411 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2412 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2413 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2414 | <functype name='endDocumentSAXFunc' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2415 | <info>Called when the document end has been detected.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2416 | <return type='void'/> |
| 2417 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2418 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2419 | <function name='endElement' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2420 | <info>called when the end of an element has been detected.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2421 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2422 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2423 | <arg name='name' type='const xmlChar *' info='The element name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2424 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2425 | <functype name='endElementSAXFunc' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2426 | <info>Called when the end of an element has been detected.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2427 | <return type='void'/> |
| 2428 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2429 | <arg name='name' type='const xmlChar *' info='The element name '/> |
| 2430 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2431 | <function name='entityDecl' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2432 | <info>An entity definition has been parsed</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2433 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2434 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2435 | <arg name='name' type='const xmlChar *' info='the entity name '/> |
| 2436 | <arg name='type' type='int' info='the entity type '/> |
| 2437 | <arg name='publicId' type='const xmlChar *' info='The public ID of the entity '/> |
| 2438 | <arg name='systemId' type='const xmlChar *' info='The system ID of the entity '/> |
| 2439 | <arg name='content' type='xmlChar *' info='the entity value (without processing). '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2440 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2441 | <functype name='entityDeclSAXFunc' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2442 | <info>An entity definition has been parsed.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2443 | <return type='void'/> |
| 2444 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2445 | <arg name='name' type='const xmlChar *' info='the entity name '/> |
| 2446 | <arg name='type' type='int' info='the entity type '/> |
| 2447 | <arg name='publicId' type='const xmlChar *' info='The public ID of the entity '/> |
| 2448 | <arg name='systemId' type='const xmlChar *' info='The system ID of the entity '/> |
| 2449 | <arg name='content' type='xmlChar *' info='the entity value (without processing). '/> |
| 2450 | </functype> |
| 2451 | <functype name='errorSAXFunc' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2452 | <info>Display and format an error messages, callback.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2453 | <return type='void'/> |
| 2454 | <arg name='ctx' type='void *' info='an XML parser context '/> |
| 2455 | <arg name='msg' type='const char *' info='the message to display/transmit '/> |
| 2456 | <arg name='' type='...'/> |
| 2457 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2458 | <function name='externalSubset' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2459 | <info>Callback on external subset declaration.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2460 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2461 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2462 | <arg name='name' type='const xmlChar *' info='the root element name '/> |
| 2463 | <arg name='ExternalID' type='const xmlChar *' info='the external ID '/> |
| 2464 | <arg name='SystemID' type='const xmlChar *' info='the SYSTEM ID (e.g. filename or URL) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2465 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2466 | <functype name='externalSubsetSAXFunc' file='parser'> |
| 2467 | <info>Callback on external subset declaration.</info> |
| 2468 | <return type='void'/> |
| 2469 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2470 | <arg name='name' type='const xmlChar *' info='the root element name '/> |
| 2471 | <arg name='ExternalID' type='const xmlChar *' info='the external ID '/> |
| 2472 | <arg name='SystemID' type='const xmlChar *' info='the SYSTEM ID (e.g. filename or URL) '/> |
| 2473 | </functype> |
| 2474 | <functype name='fatalErrorSAXFunc' file='parser'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 2475 | <info>Display and format fatal error messages, callback. Note: so far fatalError() SAX callbacks are not used, error() get all the callbacks for errors.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2476 | <return type='void'/> |
| 2477 | <arg name='ctx' type='void *' info='an XML parser context '/> |
| 2478 | <arg name='msg' type='const char *' info='the message to display/transmit '/> |
| 2479 | <arg name='' type='...'/> |
| 2480 | </functype> |
| 2481 | <functype name='ftpDataCallback' file='nanoftp'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2482 | <info>A callback for the xmlNanoFTPGet command.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2483 | <return type='void'/> |
| 2484 | <arg name='userData' type='void *' info='the user provided context '/> |
| 2485 | <arg name='data' type='const char *' info='the data received '/> |
| 2486 | <arg name='len' type='int' info='its size in bytes '/> |
| 2487 | </functype> |
| 2488 | <functype name='ftpListCallback' file='nanoftp'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2489 | <info>A callback for the xmlNanoFTPList command. Note that only one of year and day:minute are specified.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2490 | <return type='void'/> |
| 2491 | <arg name='userData' type='void *' info='user provided data for the callback '/> |
| 2492 | <arg name='filename' type='const char *' info='the file name (including "->" when links are shown) '/> |
| 2493 | <arg name='attrib' type='const char *' info='the attribute string '/> |
| 2494 | <arg name='owner' type='const char *' info='the owner string '/> |
| 2495 | <arg name='group' type='const char *' info='the group string '/> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 2496 | <arg name='size' type='unsigned long'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2497 | <arg name='links' type='int' info='the link count '/> |
| 2498 | <arg name='year' type='int' info='the year '/> |
| 2499 | <arg name='month' type='const char *' info='the month '/> |
| 2500 | <arg name='day' type='int' info='the day '/> |
| 2501 | <arg name='hour' type='int' info='the hour '/> |
| 2502 | <arg name='minute' type='int' info='the minute '/> |
| 2503 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2504 | <function name='getColumnNumber' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2505 | <info>Return the column number of the current parsing point.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2506 | <return type='int' info='an int '/> |
| 2507 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2508 | </function> |
| 2509 | <function name='getEntity' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2510 | <info>Get an entity by name</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2511 | <return type='xmlEntityPtr' info='the xmlEntityPtr if found. '/> |
| 2512 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2513 | <arg name='name' type='const xmlChar *' info='The entity name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2514 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2515 | <functype name='getEntitySAXFunc' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2516 | <info>Get an entity by name.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2517 | <return type='xmlEntityPtr' info='the xmlEntityPtr if found. '/> |
| 2518 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2519 | <arg name='name' type='const xmlChar *' info='The entity name '/> |
| 2520 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2521 | <function name='getLineNumber' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2522 | <info>Return the line number of the current parsing point.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2523 | <return type='int' info='an int '/> |
| 2524 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2525 | </function> |
| 2526 | <function name='getNamespace' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2527 | <info>Get the current element namespace.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2528 | <return type='xmlNsPtr' info='the xmlNsPtr or NULL if none '/> |
| 2529 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2530 | </function> |
| 2531 | <function name='getParameterEntity' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2532 | <info>Get a parameter entity by name</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2533 | <return type='xmlEntityPtr' info='the xmlEntityPtr if found. '/> |
| 2534 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2535 | <arg name='name' type='const xmlChar *' info='The entity name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2536 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2537 | <functype name='getParameterEntitySAXFunc' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2538 | <info>Get a parameter entity by name.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2539 | <return type='xmlEntityPtr' info='the xmlEntityPtr if found. '/> |
| 2540 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2541 | <arg name='name' type='const xmlChar *' info='The entity name '/> |
| 2542 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2543 | <function name='getPublicId' file='SAX'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2544 | <info>Return the public ID e.g. "-//SGMLSOURCE//DTD DEMO//EN"</info> |
| 2545 | <return type='const xmlChar *' info='a xmlChar * '/> |
| 2546 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2547 | </function> |
| 2548 | <function name='getSystemId' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2549 | <info>Return the system ID, basically URL or filename e.g. http://www.sgmlsource.com/dtds/memo.dtd</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2550 | <return type='const xmlChar *' info='a xmlChar * '/> |
| 2551 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2552 | </function> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 2553 | <function name='getenv' file='wincecompat'> |
| 2554 | <return type='char *'/> |
| 2555 | <arg name='varname' type='const char *'/> |
| 2556 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2557 | <function name='globalNamespace' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2558 | <info>An old global namespace has been parsed.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2559 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2560 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2561 | <arg name='href' type='const xmlChar *' info='the namespace associated URN '/> |
| 2562 | <arg name='prefix' type='const xmlChar *' info='the namespace prefix '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2563 | </function> |
| 2564 | <function name='hasExternalSubset' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2565 | <info>Does this document has an external subset</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2566 | <return type='int' info='1 if true '/> |
| 2567 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2568 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2569 | <functype name='hasExternalSubsetSAXFunc' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2570 | <info>Does this document has an external subset?</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2571 | <return type='int' info='1 if true '/> |
| 2572 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2573 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2574 | <function name='hasInternalSubset' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2575 | <info>Does this document has an internal subset</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2576 | <return type='int' info='1 if true '/> |
| 2577 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2578 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2579 | <functype name='hasInternalSubsetSAXFunc' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2580 | <info>Does this document has an internal subset.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2581 | <return type='int' info='1 if true '/> |
| 2582 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2583 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2584 | <function name='htmlAutoCloseTag' file='HTMLparser'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2585 | <info>The HTML DTD allows a tag to implicitly close other tags. The list is kept in htmlStartClose array. This function checks if the element or one of it's children would autoclose the given tag.</info> |
| 2586 | <return type='int' info='1 if autoclose, 0 otherwise '/> |
| 2587 | <arg name='doc' type='htmlDocPtr' info='the HTML document '/> |
| 2588 | <arg name='name' type='const xmlChar *' info='The tag name '/> |
| 2589 | <arg name='elem' type='htmlNodePtr' info='the HTML element '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2590 | </function> |
| 2591 | <function name='htmlCreateFileParserCtxt' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2592 | <info>Create a parser context for a file content. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2593 | <return type='htmlParserCtxtPtr' info='the new parser context or NULL '/> |
| 2594 | <arg name='filename' type='const char *' info='the filename '/> |
| 2595 | <arg name='encoding' type='const char *' info='a free form C string describing the HTML document encoding, or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2596 | </function> |
| 2597 | <function name='htmlCreatePushParserCtxt' file='HTMLparser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2598 | <info>Create a parser context for using the HTML parser in push mode To allow content encoding detection, size should be >= 4 The value of filename is used for fetching external entities and error/warning reports.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2599 | <return type='htmlParserCtxtPtr' info='the new parser context or NULL '/> |
| 2600 | <arg name='sax' type='htmlSAXHandlerPtr' info='a SAX handler '/> |
| 2601 | <arg name='user_data' type='void *' info='The user data returned on SAX callbacks '/> |
| 2602 | <arg name='chunk' type='const char *' info='a pointer to an array of chars '/> |
| 2603 | <arg name='size' type='int' info='number of chars in the array '/> |
| 2604 | <arg name='filename' type='const char *' info='an optional file name or URI '/> |
| 2605 | <arg name='enc' type='xmlCharEncoding' info='an optional encoding '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2606 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2607 | <macro name='htmlDefaultSAXHandler' file='globals'> |
| 2608 | <info>Default handler for HTML, builds the DOM tree</info> |
| 2609 | </macro> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 2610 | <function name='htmlDefaultSAXHandlerInit' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2611 | <info>Initialize the default SAX handler</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2612 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2613 | </function> |
| 2614 | <function name='htmlDocContentDumpFormatOutput' file='HTMLtree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2615 | <info>Dump an HTML document.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2616 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2617 | <arg name='buf' type='xmlOutputBufferPtr' info='the HTML buffer output '/> |
| 2618 | <arg name='cur' type='xmlDocPtr' info='the document '/> |
| 2619 | <arg name='encoding' type='const char *' info='the encoding string '/> |
| 2620 | <arg name='format' type='int' info='should formatting spaces been added '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2621 | </function> |
| 2622 | <function name='htmlDocContentDumpOutput' file='HTMLtree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2623 | <info>Dump an HTML document. Formating return/spaces are added.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2624 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2625 | <arg name='buf' type='xmlOutputBufferPtr' info='the HTML buffer output '/> |
| 2626 | <arg name='cur' type='xmlDocPtr' info='the document '/> |
| 2627 | <arg name='encoding' type='const char *' info='the encoding string '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2628 | </function> |
| 2629 | <function name='htmlDocDump' file='HTMLtree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2630 | <info>Dump an HTML document to an open FILE.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2631 | <return type='int' info='the number of byte written or -1 in case of failure. '/> |
| 2632 | <arg name='f' type='FILE *' info='the FILE* '/> |
| 2633 | <arg name='cur' type='xmlDocPtr' info='the document '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2634 | </function> |
| 2635 | <function name='htmlDocDumpMemory' file='HTMLtree'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2636 | <info>Dump an HTML document in memory and return the xmlChar * and it's size. It's up to the caller to free the memory.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2637 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2638 | <arg name='cur' type='xmlDocPtr' info='the document '/> |
| 2639 | <arg name='mem' type='xmlChar **' info='OUT: the memory pointer '/> |
| 2640 | <arg name='size' type='int *' info='OUT: the memory length '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2641 | </function> |
| 2642 | <typedef name='htmlDocPtr' file='HTMLparser'/> |
| 2643 | <struct name='htmlElemDesc' file='HTMLparser'/> |
| 2644 | <typedef name='htmlElemDescPtr' file='HTMLparser'/> |
| 2645 | <function name='htmlEncodeEntities' file='HTMLparser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2646 | <info>Take a block of UTF-8 chars in and try to convert it to an ASCII plus HTML entities block of chars out.</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 2647 | <return type='int' info='0 if success, -2 if the transcoding fails, or -1 otherwise The value of inlen after return is the number of octets consumed as the return value is positive, else unpredictable. The value of outlen after return is the number of octets consumed. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2648 | <arg name='out' type='unsigned char *' info='a pointer to an array of bytes to store the result '/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 2649 | <arg name='outlen' type='int *' info='the length of out'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2650 | <arg name='in' type='const unsigned char *' info='a pointer to an array of UTF-8 chars '/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 2651 | <arg name='inlen' type='int *' info='the length of in'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2652 | <arg name='quoteChar' type='int' info='the quote character to escape (' or ") or zero. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2653 | </function> |
| 2654 | <struct name='htmlEntityDesc' file='HTMLparser'/> |
| 2655 | <typedef name='htmlEntityDescPtr' file='HTMLparser'/> |
| 2656 | <function name='htmlEntityLookup' file='HTMLparser'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 2657 | <info>Lookup the given entity in EntitiesTable TODO: the linear scan is really ugly, an hash table is really needed.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2658 | <return type='const htmlEntityDesc *' info='the associated htmlEntityDescPtr if found, NULL otherwise. '/> |
| 2659 | <arg name='name' type='const xmlChar *' info='the entity name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2660 | </function> |
| 2661 | <function name='htmlEntityValueLookup' file='HTMLparser'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 2662 | <info>Lookup the given entity in EntitiesTable TODO: the linear scan is really ugly, an hash table is really needed.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2663 | <return type='const htmlEntityDesc *' info='the associated htmlEntityDescPtr if found, NULL otherwise. '/> |
| 2664 | <arg name='value' type='unsigned int' info='the entity's unicode value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2665 | </function> |
| 2666 | <function name='htmlFreeParserCtxt' file='HTMLparser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2667 | <info>Free all the memory used by a parser context. However the parsed document in ctxt->myDoc is not freed.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2668 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2669 | <arg name='ctxt' type='htmlParserCtxtPtr' info='an HTML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2670 | </function> |
| 2671 | <function name='htmlGetMetaEncoding' file='HTMLtree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2672 | <info>Encoding definition lookup in the Meta tags</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2673 | <return type='const xmlChar *' info='the current encoding as flagged in the HTML source '/> |
| 2674 | <arg name='doc' type='htmlDocPtr' info='the document '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2675 | </function> |
| 2676 | <function name='htmlHandleOmittedElem' file='HTMLparser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2677 | <info>Set and return the previous value for handling HTML omitted tags.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2678 | <return type='int' info='the last value for 0 for no handling, 1 for auto insertion. '/> |
| 2679 | <arg name='val' type='int' info='int 0 or 1 '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2680 | </function> |
| 2681 | <function name='htmlInitAutoClose' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2682 | <info>Initialize the htmlStartCloseIndex for fast lookup of closing tags names. This is not reentrant. Call xmlInitParser() once before processing in case of use in multithreaded programs.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2683 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2684 | </function> |
| 2685 | <function name='htmlIsAutoClosed' file='HTMLparser'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2686 | <info>The HTML DTD allows a tag to implicitly close other tags. The list is kept in htmlStartClose array. This function checks if a tag is autoclosed by one of it's child</info> |
| 2687 | <return type='int' info='1 if autoclosed, 0 otherwise '/> |
| 2688 | <arg name='doc' type='htmlDocPtr' info='the HTML document '/> |
| 2689 | <arg name='elem' type='htmlNodePtr' info='the HTML element '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2690 | </function> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 2691 | <function name='htmlIsBooleanAttr' file='HTMLtree'> |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame] | 2692 | <info>Determine if a given attribute is a boolean attribute.</info> |
| 2693 | <return type='int' info='false if the attribute is not boolean, true otherwise. '/> |
| 2694 | <arg name='name' type='const xmlChar *' info='the name of the attribute to check '/> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 2695 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2696 | <function name='htmlIsScriptAttribute' file='HTMLparser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2697 | <info>Check if an attribute is of content type Script</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2698 | <return type='int' info='1 is the attribute is a script 0 otherwise '/> |
| 2699 | <arg name='name' type='const xmlChar *' info='an attribute name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2700 | </function> |
| 2701 | <function name='htmlNewDoc' file='HTMLtree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2702 | <info>Creates a new HTML document</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2703 | <return type='htmlDocPtr' info='a new document '/> |
| 2704 | <arg name='URI' type='const xmlChar *' info='URI for the dtd, or NULL '/> |
| 2705 | <arg name='ExternalID' type='const xmlChar *' info='the external ID of the DTD, or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2706 | </function> |
| 2707 | <function name='htmlNewDocNoDtD' file='HTMLtree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2708 | <info>Creates a new HTML document without a DTD node if URI and ExternalID are NULL</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2709 | <return type='htmlDocPtr' info='a new document, do not initialize the DTD if not provided '/> |
| 2710 | <arg name='URI' type='const xmlChar *' info='URI for the dtd, or NULL '/> |
| 2711 | <arg name='ExternalID' type='const xmlChar *' info='the external ID of the DTD, or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2712 | </function> |
| 2713 | <function name='htmlNodeDump' file='HTMLtree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2714 | <info>Dump an HTML node, recursive behaviour,children are printed too, and formatting returns are added.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2715 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2716 | <arg name='buf' type='xmlBufferPtr' info='the HTML buffer output '/> |
| 2717 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 2718 | <arg name='cur' type='xmlNodePtr' info='the current node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2719 | </function> |
| 2720 | <function name='htmlNodeDumpFile' file='HTMLtree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2721 | <info>Dump an HTML node, recursive behaviour,children are printed too, and formatting returns are added.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2722 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2723 | <arg name='out' type='FILE *' info='the FILE pointer '/> |
| 2724 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 2725 | <arg name='cur' type='xmlNodePtr' info='the current node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2726 | </function> |
| 2727 | <function name='htmlNodeDumpFileFormat' file='HTMLtree'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 2728 | <info>Dump an HTML node, recursive behaviour,children are printed too. TODO: if encoding == NULL try to save in the doc encoding</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2729 | <return type='int' info='the number of byte written or -1 in case of failure. '/> |
| 2730 | <arg name='out' type='FILE *' info='the FILE pointer '/> |
| 2731 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 2732 | <arg name='cur' type='xmlNodePtr' info='the current node '/> |
| 2733 | <arg name='encoding' type='const char *' info='the document encoding '/> |
| 2734 | <arg name='format' type='int' info='should formatting spaces been added '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2735 | </function> |
| 2736 | <function name='htmlNodeDumpFormatOutput' file='HTMLtree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2737 | <info>Dump an HTML node, recursive behaviour,children are printed too.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2738 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2739 | <arg name='buf' type='xmlOutputBufferPtr' info='the HTML buffer output '/> |
| 2740 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 2741 | <arg name='cur' type='xmlNodePtr' info='the current node '/> |
| 2742 | <arg name='encoding' type='const char *' info='the encoding string '/> |
| 2743 | <arg name='format' type='int' info='should formatting spaces been added '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2744 | </function> |
| 2745 | <typedef name='htmlNodePtr' file='HTMLparser'/> |
| 2746 | <function name='htmlParseCharRef' file='HTMLparser'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 2747 | <info>parse Reference declarations [66] CharRef ::= '&#' [0-9]+ ';' | '&x' [0-9a-fA-F]+ ';'</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2748 | <return type='int' info='the value parsed (as an int) '/> |
| 2749 | <arg name='ctxt' type='htmlParserCtxtPtr' info='an HTML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2750 | </function> |
| 2751 | <function name='htmlParseChunk' file='HTMLparser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2752 | <info>Parse a Chunk of memory</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2753 | <return type='int' info='zero if no error, the xmlParserErrors otherwise. '/> |
| 2754 | <arg name='ctxt' type='htmlParserCtxtPtr' info='an XML parser context '/> |
| 2755 | <arg name='chunk' type='const char *' info='an char array '/> |
| 2756 | <arg name='size' type='int' info='the size in byte of the chunk '/> |
| 2757 | <arg name='terminate' type='int' info='last chunk indicator '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2758 | </function> |
| 2759 | <function name='htmlParseDoc' file='HTMLparser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2760 | <info>parse an HTML in-memory document and build a tree.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2761 | <return type='htmlDocPtr' info='the resulting document tree '/> |
| 2762 | <arg name='cur' type='xmlChar *' info='a pointer to an array of xmlChar '/> |
| 2763 | <arg name='encoding' type='const char *' info='a free form C string describing the HTML document encoding, or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2764 | </function> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 2765 | <function name='htmlParseDocument' file='HTMLparser'> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 2766 | <info>parse an HTML document (and build a tree if using the standard SAX interface).</info> |
| 2767 | <return type='int' info='0, -1 in case of error. the parser context is augmented as a result of the parsing. '/> |
| 2768 | <arg name='ctxt' type='htmlParserCtxtPtr' info='an HTML parser context '/> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 2769 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2770 | <function name='htmlParseElement' file='HTMLparser'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 2771 | <info>parse an HTML element, this is highly recursive [39] element ::= EmptyElemTag | STag content ETag [41] Attribute ::= Name Eq AttValue</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2772 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2773 | <arg name='ctxt' type='htmlParserCtxtPtr' info='an HTML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2774 | </function> |
| 2775 | <function name='htmlParseEntityRef' file='HTMLparser'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 2776 | <info>parse an HTML ENTITY references [68] EntityRef ::= '&' Name ';'</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2777 | <return type='const htmlEntityDesc *' info='the associated htmlEntityDescPtr if found, or NULL otherwise, if non-NULL *str will have to be freed by the caller. '/> |
| 2778 | <arg name='ctxt' type='htmlParserCtxtPtr' info='an HTML parser context '/> |
| 2779 | <arg name='str' type='xmlChar **' info='location to store the entity name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2780 | </function> |
| 2781 | <function name='htmlParseFile' file='HTMLparser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2782 | <info>parse an HTML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2783 | <return type='htmlDocPtr' info='the resulting document tree '/> |
| 2784 | <arg name='filename' type='const char *' info='the filename '/> |
| 2785 | <arg name='encoding' type='const char *' info='a free form C string describing the HTML document encoding, or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2786 | </function> |
| 2787 | <typedef name='htmlParserCtxt' file='HTMLparser'/> |
| 2788 | <typedef name='htmlParserCtxtPtr' file='HTMLparser'/> |
| 2789 | <typedef name='htmlParserInput' file='HTMLparser'/> |
| 2790 | <typedef name='htmlParserInputPtr' file='HTMLparser'/> |
| 2791 | <typedef name='htmlParserNodeInfo' file='HTMLparser'/> |
| 2792 | <typedef name='htmlSAXHandler' file='HTMLparser'/> |
| 2793 | <typedef name='htmlSAXHandlerPtr' file='HTMLparser'/> |
| 2794 | <function name='htmlSAXParseDoc' file='HTMLparser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2795 | <info>Parse an HTML in-memory document. If sax is not NULL, use the SAX callbacks to handle parse events. If sax is NULL, fallback to the default DOM behavior and return a tree.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2796 | <return type='htmlDocPtr' info='the resulting document tree unless SAX is NULL or the document is not well formed. '/> |
| 2797 | <arg name='cur' type='xmlChar *' info='a pointer to an array of xmlChar '/> |
| 2798 | <arg name='encoding' type='const char *' info='a free form C string describing the HTML document encoding, or NULL '/> |
| 2799 | <arg name='sax' type='htmlSAXHandlerPtr' info='the SAX handler block '/> |
| 2800 | <arg name='userData' type='void *' info='if using SAX, this pointer will be provided on callbacks. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2801 | </function> |
| 2802 | <function name='htmlSAXParseFile' file='HTMLparser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2803 | <info>parse an HTML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2804 | <return type='htmlDocPtr' info='the resulting document tree unless SAX is NULL or the document is not well formed. '/> |
| 2805 | <arg name='filename' type='const char *' info='the filename '/> |
| 2806 | <arg name='encoding' type='const char *' info='a free form C string describing the HTML document encoding, or NULL '/> |
| 2807 | <arg name='sax' type='htmlSAXHandlerPtr' info='the SAX handler block '/> |
| 2808 | <arg name='userData' type='void *' info='if using SAX, this pointer will be provided on callbacks. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2809 | </function> |
| 2810 | <function name='htmlSaveFile' file='HTMLtree'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2811 | <info>Dump an HTML document to a file. If filename is "-" the stdout file is used.</info> |
| 2812 | <return type='int' info='the number of byte written or -1 in case of failure. '/> |
| 2813 | <arg name='filename' type='const char *' info='the filename (or URL) '/> |
| 2814 | <arg name='cur' type='xmlDocPtr' info='the document '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2815 | </function> |
| 2816 | <function name='htmlSaveFileEnc' file='HTMLtree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2817 | <info>Dump an HTML document to a file using a given encoding and formatting returns/spaces are added.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2818 | <return type='int' info='the number of byte written or -1 in case of failure. '/> |
| 2819 | <arg name='filename' type='const char *' info='the filename '/> |
| 2820 | <arg name='cur' type='xmlDocPtr' info='the document '/> |
| 2821 | <arg name='encoding' type='const char *' info='the document encoding '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2822 | </function> |
| 2823 | <function name='htmlSaveFileFormat' file='HTMLtree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2824 | <info>Dump an HTML document to a file using a given encoding.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2825 | <return type='int' info='the number of byte written or -1 in case of failure. '/> |
| 2826 | <arg name='filename' type='const char *' info='the filename '/> |
| 2827 | <arg name='cur' type='xmlDocPtr' info='the document '/> |
| 2828 | <arg name='encoding' type='const char *' info='the document encoding '/> |
| 2829 | <arg name='format' type='int' info='should formatting spaces been added '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2830 | </function> |
| 2831 | <function name='htmlSetMetaEncoding' file='HTMLtree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2832 | <info>Sets the current encoding in the Meta tags NOTE: this will not change the document content encoding, just the META flag associated.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2833 | <return type='int' info='0 in case of success and -1 in case of error '/> |
| 2834 | <arg name='doc' type='htmlDocPtr' info='the document '/> |
| 2835 | <arg name='encoding' type='const xmlChar *' info='the encoding string '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2836 | </function> |
| 2837 | <function name='htmlTagLookup' file='HTMLparser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2838 | <info>Lookup the HTML tag in the ElementTable</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2839 | <return type='const htmlElemDesc *' info='the related htmlElemDescPtr or NULL if not found. '/> |
| 2840 | <arg name='tag' type='const xmlChar *' info='The tag name in lowercase '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2841 | </function> |
| 2842 | <function name='ignorableWhitespace' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2843 | <info>receiving some ignorable whitespaces from the parser. UNUSED: by default the DOM building will use characters</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2844 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2845 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2846 | <arg name='ch' type='const xmlChar *' info='a xmlChar string '/> |
| 2847 | <arg name='len' type='int' info='the number of xmlChar '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2848 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2849 | <functype name='ignorableWhitespaceSAXFunc' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2850 | <info>Receiving some ignorable whitespaces from the parser. UNUSED: by default the DOM building will use characters.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2851 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2852 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2853 | <arg name='ch' type='const xmlChar *' info='a xmlChar string '/> |
| 2854 | <arg name='len' type='int' info='the number of xmlChar '/> |
| 2855 | </functype> |
| 2856 | <function name='initGenericErrorDefaultFunc' file='xmlerror'> |
| 2857 | <info>Set or reset (if NULL) the default handler for generic errors</info> |
| 2858 | <return type='void'/> |
| 2859 | <arg name='handler' type='xmlGenericErrorFunc *' info='the handler '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2860 | </function> |
| 2861 | <function name='initdocbDefaultSAXHandler' file='SAX'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2862 | <info>Initialize the default DocBook SAX handler</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2863 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2864 | <arg name='hdlr' type='xmlSAXHandler *' info='the SAX handler '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2865 | </function> |
| 2866 | <function name='inithtmlDefaultSAXHandler' file='SAX'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2867 | <info>Initialize the default HTML SAX handler</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2868 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2869 | <arg name='hdlr' type='xmlSAXHandler *' info='the SAX handler '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2870 | </function> |
| 2871 | <function name='initxmlDefaultSAXHandler' file='SAX'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2872 | <info>Initialize the default XML SAX handler</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2873 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2874 | <arg name='hdlr' type='xmlSAXHandler *' info='the SAX handler '/> |
| 2875 | <arg name='warning' type='int' info='flag if non-zero sets the handler warning procedure '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2876 | </function> |
| 2877 | <function name='inputPop' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2878 | <info>Pops the top parser input from the input stack</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2879 | <return type='xmlParserInputPtr' info='the input just removed '/> |
| 2880 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2881 | </function> |
| 2882 | <function name='inputPush' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2883 | <info>Pushes a new parser input on top of the input stack</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2884 | <return type='int' info='0 in case of error, the index in the stack otherwise '/> |
| 2885 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 2886 | <arg name='value' type='xmlParserInputPtr' info='the parser input '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2887 | </function> |
| 2888 | <function name='internalSubset' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2889 | <info>Callback on internal subset declaration.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2890 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2891 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2892 | <arg name='name' type='const xmlChar *' info='the root element name '/> |
| 2893 | <arg name='ExternalID' type='const xmlChar *' info='the external ID '/> |
| 2894 | <arg name='SystemID' type='const xmlChar *' info='the SYSTEM ID (e.g. filename or URL) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2895 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2896 | <functype name='internalSubsetSAXFunc' file='parser'> |
| 2897 | <info>Callback on internal subset declaration.</info> |
| 2898 | <return type='void'/> |
| 2899 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2900 | <arg name='name' type='const xmlChar *' info='the root element name '/> |
| 2901 | <arg name='ExternalID' type='const xmlChar *' info='the external ID '/> |
| 2902 | <arg name='SystemID' type='const xmlChar *' info='the SYSTEM ID (e.g. filename or URL) '/> |
| 2903 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2904 | <function name='isStandalone' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2905 | <info>Is this document tagged standalone ?</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2906 | <return type='int' info='1 if true '/> |
| 2907 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2908 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2909 | <functype name='isStandaloneSAXFunc' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 2910 | <info>Is this document tagged standalone?</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2911 | <return type='int' info='1 if true '/> |
| 2912 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2913 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2914 | <function name='isolat1ToUTF8' file='encoding'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2915 | <info>Take a block of ISO Latin 1 chars in and try to convert it to an UTF-8 block of chars out.</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 2916 | <return type='int' info='0 if success, or -1 otherwise The value of inlen after return is the number of octets consumed as the return value is positive, else unpredictable. The value of outlen after return is the number of ocetes consumed. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2917 | <arg name='out' type='unsigned char *' info='a pointer to an array of bytes to store the result '/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 2918 | <arg name='outlen' type='int *' info='the length of out'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2919 | <arg name='in' type='const unsigned char *' info='a pointer to an array of ISO Latin 1 chars '/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 2920 | <arg name='inlen' type='int *' info='the length of in'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2921 | </function> |
| 2922 | <function name='namePop' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2923 | <info>Pops the top element name from the name stack</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2924 | <return type='xmlChar *' info='the name just removed '/> |
| 2925 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2926 | </function> |
| 2927 | <function name='namePush' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2928 | <info>Pushes a new element name on top of the name stack</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2929 | <return type='int' info='0 in case of error, the index in the stack otherwise '/> |
| 2930 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 2931 | <arg name='value' type='xmlChar *' info='the element name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2932 | </function> |
| 2933 | <function name='namespaceDecl' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2934 | <info>A namespace has been parsed.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2935 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2936 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2937 | <arg name='href' type='const xmlChar *' info='the namespace associated URN '/> |
| 2938 | <arg name='prefix' type='const xmlChar *' info='the namespace prefix '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2939 | </function> |
| 2940 | <function name='nodePop' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2941 | <info>Pops the top element node from the node stack</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2942 | <return type='xmlNodePtr' info='the node just removed '/> |
| 2943 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2944 | </function> |
| 2945 | <function name='nodePush' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2946 | <info>Pushes a new element node on top of the node stack</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2947 | <return type='int' info='0 in case of error, the index in the stack otherwise '/> |
| 2948 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 2949 | <arg name='value' type='xmlNodePtr' info='the element node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2950 | </function> |
| 2951 | <function name='notationDecl' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2952 | <info>What to do when a notation declaration has been parsed.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2953 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2954 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2955 | <arg name='name' type='const xmlChar *' info='The name of the notation '/> |
| 2956 | <arg name='publicId' type='const xmlChar *' info='The public ID of the entity '/> |
| 2957 | <arg name='systemId' type='const xmlChar *' info='The system ID of the entity '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2958 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2959 | <functype name='notationDeclSAXFunc' file='parser'> |
| 2960 | <info>What to do when a notation declaration has been parsed.</info> |
| 2961 | <return type='void'/> |
| 2962 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2963 | <arg name='name' type='const xmlChar *' info='The name of the notation '/> |
| 2964 | <arg name='publicId' type='const xmlChar *' info='The public ID of the entity '/> |
| 2965 | <arg name='systemId' type='const xmlChar *' info='The system ID of the entity '/> |
| 2966 | </functype> |
| 2967 | <macro name='oldXMLWDcompatibility' file='globals'> |
| 2968 | <info>Global setting, DEPRECATED.</info> |
| 2969 | </macro> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 2970 | <function name='open' file='wincecompat'> |
| 2971 | <return type='int'/> |
| 2972 | <arg name='filename' type='const char *'/> |
| 2973 | <arg name='oflag' type='int'/> |
| 2974 | <arg name='' type='...'/> |
| 2975 | </function> |
| 2976 | <macro name='perror' file='wincecompat'> |
| 2977 | <arg name='_t'/> |
| 2978 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2979 | <function name='processingInstruction' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 2980 | <info>A processing instruction has been parsed.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2981 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2982 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2983 | <arg name='target' type='const xmlChar *' info='the target name '/> |
| 2984 | <arg name='data' type='const xmlChar *' info='the PI data's '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2985 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 2986 | <functype name='processingInstructionSAXFunc' file='parser'> |
| 2987 | <info>A processing instruction has been parsed.</info> |
| 2988 | <return type='void'/> |
| 2989 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 2990 | <arg name='target' type='const xmlChar *' info='the target name '/> |
| 2991 | <arg name='data' type='const xmlChar *' info='the PI data's '/> |
| 2992 | </functype> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 2993 | <function name='read' file='wincecompat'> |
| 2994 | <return type='int'/> |
| 2995 | <arg name='handle' type='int'/> |
| 2996 | <arg name='buffer' type='char *'/> |
| 2997 | <arg name='len' type='unsigned int'/> |
| 2998 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 2999 | <function name='reference' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3000 | <info>called when an entity reference is detected.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3001 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3002 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 3003 | <arg name='name' type='const xmlChar *' info='The entity name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3004 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3005 | <functype name='referenceSAXFunc' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 3006 | <info>Called when an entity reference is detected.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3007 | <return type='void'/> |
| 3008 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 3009 | <arg name='name' type='const xmlChar *' info='The entity name '/> |
| 3010 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3011 | <function name='resolveEntity' file='SAX'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3012 | <info>The entity loader, to control the loading of external entities, the application can either: - override this resolveEntity() callback in the SAX block - or better use the xmlSetExternalEntityLoader() function to set up it's own entity resolution routine</info> |
| 3013 | <return type='xmlParserInputPtr' info='the xmlParserInputPtr if inlined or NULL for DOM behaviour. '/> |
| 3014 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 3015 | <arg name='publicId' type='const xmlChar *' info='The public ID of the entity '/> |
| 3016 | <arg name='systemId' type='const xmlChar *' info='The system ID of the entity '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3017 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3018 | <functype name='resolveEntitySAXFunc' file='parser'> |
| 3019 | <info>Callback: The entity loader, to control the loading of external entities, the application can either: - override this resolveEntity() callback in the SAX block - or better use the xmlSetExternalEntityLoader() function to set up it's own entity resolution routine</info> |
| 3020 | <return type='xmlParserInputPtr' info='the xmlParserInputPtr if inlined or NULL for DOM behaviour. '/> |
| 3021 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 3022 | <arg name='publicId' type='const xmlChar *' info='The public ID of the entity '/> |
| 3023 | <arg name='systemId' type='const xmlChar *' info='The system ID of the entity '/> |
| 3024 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3025 | <function name='setDocumentLocator' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3026 | <info>Receive the document locator at startup, actually xmlDefaultSAXLocator Everything is available on the context, so this is useless in our case.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3027 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3028 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 3029 | <arg name='loc' type='xmlSAXLocatorPtr' info='A SAX Locator '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3030 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3031 | <functype name='setDocumentLocatorSAXFunc' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 3032 | <info>Receive the document locator at startup, actually xmlDefaultSAXLocator. Everything is available on the context, so this is useless in our case.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3033 | <return type='void'/> |
| 3034 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 3035 | <arg name='loc' type='xmlSAXLocatorPtr' info='A SAX Locator '/> |
| 3036 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3037 | <function name='setNamespace' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3038 | <info>Set the current element namespace.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3039 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3040 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 3041 | <arg name='name' type='const xmlChar *' info='the namespace prefix '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3042 | </function> |
| 3043 | <function name='startDocument' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3044 | <info>called when the document start being processed.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3045 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3046 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3047 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3048 | <functype name='startDocumentSAXFunc' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 3049 | <info>Called when the document start being processed.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3050 | <return type='void'/> |
| 3051 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 3052 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3053 | <function name='startElement' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3054 | <info>called when an opening tag has been processed.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3055 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3056 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 3057 | <arg name='fullname' type='const xmlChar *' info='The element name, including namespace prefix '/> |
| 3058 | <arg name='atts' type='const xmlChar **' info='An array of name/value attributes pairs, NULL terminated '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3059 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3060 | <functype name='startElementSAXFunc' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 3061 | <info>Called when an opening tag has been processed.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3062 | <return type='void'/> |
| 3063 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 3064 | <arg name='name' type='const xmlChar *' info='The element name, including namespace prefix '/> |
| 3065 | <arg name='atts' type='const xmlChar **' info='An array of name/value attributes pairs, NULL terminated '/> |
| 3066 | </functype> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 3067 | <function name='strerror' file='wincecompat'> |
| 3068 | <return type='char *'/> |
| 3069 | <arg name='errnum' type='int'/> |
| 3070 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3071 | <function name='unparsedEntityDecl' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3072 | <info>What to do when an unparsed entity declaration is parsed</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3073 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3074 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 3075 | <arg name='name' type='const xmlChar *' info='The name of the entity '/> |
| 3076 | <arg name='publicId' type='const xmlChar *' info='The public ID of the entity '/> |
| 3077 | <arg name='systemId' type='const xmlChar *' info='The system ID of the entity '/> |
| 3078 | <arg name='notationName' type='const xmlChar *' info='the name of the notation '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3079 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3080 | <functype name='unparsedEntityDeclSAXFunc' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 3081 | <info>What to do when an unparsed entity declaration is parsed.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3082 | <return type='void'/> |
| 3083 | <arg name='ctx' type='void *' info='the user data (XML parser context) '/> |
| 3084 | <arg name='name' type='const xmlChar *' info='The name of the entity '/> |
| 3085 | <arg name='publicId' type='const xmlChar *' info='The public ID of the entity '/> |
| 3086 | <arg name='systemId' type='const xmlChar *' info='The system ID of the entity '/> |
| 3087 | <arg name='notationName' type='const xmlChar *' info='the name of the notation '/> |
| 3088 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3089 | <function name='valuePop' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3090 | <info>Pops the top XPath object from the value stack</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3091 | <return type='xmlXPathObjectPtr' info='the XPath object just removed '/> |
| 3092 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='an XPath evaluation context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3093 | </function> |
| 3094 | <function name='valuePush' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3095 | <info>Pushes a new XPath object on top of the value stack</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3096 | <return type='int' info='the number of items on the value stack '/> |
| 3097 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='an XPath evaluation context '/> |
| 3098 | <arg name='value' type='xmlXPathObjectPtr' info='the XPath object '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3099 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3100 | <functype name='warningSAXFunc' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 3101 | <info>Display and format a warning messages, callback.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3102 | <return type='void'/> |
| 3103 | <arg name='ctx' type='void *' info='an XML parser context '/> |
| 3104 | <arg name='msg' type='const char *' info='the message to display/transmit '/> |
| 3105 | <arg name='' type='...'/> |
| 3106 | </functype> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 3107 | <function name='write' file='wincecompat'> |
| 3108 | <return type='int'/> |
| 3109 | <arg name='handle' type='int'/> |
| 3110 | <arg name='buffer' type='const char *'/> |
| 3111 | <arg name='len' type='unsigned int'/> |
| 3112 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3113 | <function name='xmlACatalogAdd' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3114 | <info>Add an entry in the catalog, it may overwrite existing but different entries.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3115 | <return type='int' info='0 if successful, -1 otherwise '/> |
| 3116 | <arg name='catal' type='xmlCatalogPtr' info='a Catalog '/> |
| 3117 | <arg name='type' type='const xmlChar *' info='the type of record to add to the catalog '/> |
| 3118 | <arg name='orig' type='const xmlChar *' info='the system, public or prefix to match '/> |
| 3119 | <arg name='replace' type='const xmlChar *' info='the replacement value for the match '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3120 | </function> |
| 3121 | <function name='xmlACatalogDump' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3122 | <info>Free up all the memory associated with catalogs</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3123 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3124 | <arg name='catal' type='xmlCatalogPtr' info='a Catalog '/> |
| 3125 | <arg name='out' type='FILE *' info='the file. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3126 | </function> |
| 3127 | <function name='xmlACatalogRemove' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3128 | <info>Remove an entry from the catalog</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3129 | <return type='int' info='the number of entries removed if successful, -1 otherwise '/> |
| 3130 | <arg name='catal' type='xmlCatalogPtr' info='a Catalog '/> |
| 3131 | <arg name='value' type='const xmlChar *' info='the value to remove '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3132 | </function> |
| 3133 | <function name='xmlACatalogResolve' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3134 | <info>Do a complete resolution lookup of an External Identifier</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3135 | <return type='xmlChar *' info='the URI of the resource or NULL if not found, it must be freed by the caller. '/> |
| 3136 | <arg name='catal' type='xmlCatalogPtr' info='a Catalog '/> |
| 3137 | <arg name='pubID' type='const xmlChar *' info='the public ID string '/> |
| 3138 | <arg name='sysID' type='const xmlChar *' info='the system ID string '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3139 | </function> |
| 3140 | <function name='xmlACatalogResolvePublic' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3141 | <info>Try to lookup the system ID associated to a public ID in that catalog</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3142 | <return type='xmlChar *' info='the system ID if found or NULL otherwise, the value returned must be freed by the caller. '/> |
| 3143 | <arg name='catal' type='xmlCatalogPtr' info='a Catalog '/> |
| 3144 | <arg name='pubID' type='const xmlChar *' info='the public ID string '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3145 | </function> |
| 3146 | <function name='xmlACatalogResolveSystem' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3147 | <info>Try to lookup the catalog resource for a system ID</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3148 | <return type='xmlChar *' info='the system ID if found or NULL otherwise, the value returned must be freed by the caller. '/> |
| 3149 | <arg name='catal' type='xmlCatalogPtr' info='a Catalog '/> |
| 3150 | <arg name='sysID' type='const xmlChar *' info='the public ID string '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3151 | </function> |
| 3152 | <function name='xmlACatalogResolveURI' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3153 | <info>Do a complete resolution lookup of an URI</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3154 | <return type='xmlChar *' info='the URI of the resource or NULL if not found, it must be freed by the caller. '/> |
| 3155 | <arg name='catal' type='xmlCatalogPtr' info='a Catalog '/> |
| 3156 | <arg name='URI' type='const xmlChar *' info='the URI '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3157 | </function> |
| 3158 | <function name='xmlAddAttributeDecl' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3159 | <info>Register a new attribute declaration Note that tree becomes the ownership of the DTD</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3160 | <return type='xmlAttributePtr' info='NULL if not new, otherwise the attribute decl '/> |
| 3161 | <arg name='ctxt' type='xmlValidCtxtPtr' info='the validation context '/> |
| 3162 | <arg name='dtd' type='xmlDtdPtr' info='pointer to the DTD '/> |
| 3163 | <arg name='elem' type='const xmlChar *' info='the element name '/> |
| 3164 | <arg name='name' type='const xmlChar *' info='the attribute name '/> |
| 3165 | <arg name='ns' type='const xmlChar *' info='the attribute namespace prefix '/> |
| 3166 | <arg name='type' type='xmlAttributeType' info='the attribute type '/> |
| 3167 | <arg name='def' type='xmlAttributeDefault' info='the attribute default type '/> |
| 3168 | <arg name='defaultValue' type='const xmlChar *' info='the attribute default value '/> |
| 3169 | <arg name='tree' type='xmlEnumerationPtr' info='if it's an enumeration, the associated list '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3170 | </function> |
| 3171 | <function name='xmlAddChild' file='tree'> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 3172 | <info>Add a new node to parent, at the end of the child (or property) list merging adjacent TEXT nodes (in which case cur is freed) If the new node was already inserted in a document it is first unlinked from its existing context. If the new node is ATTRIBUTE, it is added into properties instead of children. If there is an attribute with equal name, it is first destroyed.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3173 | <return type='xmlNodePtr' info='the child or NULL in case of error. '/> |
| 3174 | <arg name='parent' type='xmlNodePtr' info='the parent node '/> |
| 3175 | <arg name='cur' type='xmlNodePtr' info='the child node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3176 | </function> |
| 3177 | <function name='xmlAddChildList' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3178 | <info>Add a list of node at the end of the child list of the parent merging adjacent TEXT nodes (cur may be freed)</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3179 | <return type='xmlNodePtr' info='the last child or NULL in case of error. '/> |
| 3180 | <arg name='parent' type='xmlNodePtr' info='the parent node '/> |
| 3181 | <arg name='cur' type='xmlNodePtr' info='the first node in the list '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3182 | </function> |
| 3183 | <function name='xmlAddDocEntity' file='entities'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3184 | <info>Register a new entity for this document.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3185 | <return type='xmlEntityPtr' info='a pointer to the entity or NULL in case of error '/> |
| 3186 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 3187 | <arg name='name' type='const xmlChar *' info='the entity name '/> |
| 3188 | <arg name='type' type='int' info='the entity type XML_xxx_yyy_ENTITY '/> |
| 3189 | <arg name='ExternalID' type='const xmlChar *' info='the entity external ID if available '/> |
| 3190 | <arg name='SystemID' type='const xmlChar *' info='the entity system ID if available '/> |
| 3191 | <arg name='content' type='const xmlChar *' info='the entity content '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3192 | </function> |
| 3193 | <function name='xmlAddDtdEntity' file='entities'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3194 | <info>Register a new entity for this document DTD external subset.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3195 | <return type='xmlEntityPtr' info='a pointer to the entity or NULL in case of error '/> |
| 3196 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 3197 | <arg name='name' type='const xmlChar *' info='the entity name '/> |
| 3198 | <arg name='type' type='int' info='the entity type XML_xxx_yyy_ENTITY '/> |
| 3199 | <arg name='ExternalID' type='const xmlChar *' info='the entity external ID if available '/> |
| 3200 | <arg name='SystemID' type='const xmlChar *' info='the entity system ID if available '/> |
| 3201 | <arg name='content' type='const xmlChar *' info='the entity content '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3202 | </function> |
| 3203 | <function name='xmlAddElementDecl' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3204 | <info>Register a new element declaration</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3205 | <return type='xmlElementPtr' info='NULL if not, otherwise the entity '/> |
| 3206 | <arg name='ctxt' type='xmlValidCtxtPtr' info='the validation context '/> |
| 3207 | <arg name='dtd' type='xmlDtdPtr' info='pointer to the DTD '/> |
| 3208 | <arg name='name' type='const xmlChar *' info='the entity name '/> |
| 3209 | <arg name='type' type='xmlElementTypeVal' info='the element type '/> |
| 3210 | <arg name='content' type='xmlElementContentPtr' info='the element content tree or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3211 | </function> |
| 3212 | <function name='xmlAddEncodingAlias' file='encoding'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3213 | <info>Registers and alias alias for an encoding named name. Existing alias will be overwritten.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3214 | <return type='int' info='0 in case of success, -1 in case of error '/> |
| 3215 | <arg name='name' type='const char *' info='the encoding name as parsed, in UTF-8 format (ASCII actually) '/> |
| 3216 | <arg name='alias' type='const char *' info='the alias name as parsed, in UTF-8 format (ASCII actually) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3217 | </function> |
| 3218 | <function name='xmlAddID' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3219 | <info>Register a new id declaration</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3220 | <return type='xmlIDPtr' info='NULL if not, otherwise the new xmlIDPtr '/> |
| 3221 | <arg name='ctxt' type='xmlValidCtxtPtr' info='the validation context '/> |
| 3222 | <arg name='doc' type='xmlDocPtr' info='pointer to the document '/> |
| 3223 | <arg name='value' type='const xmlChar *' info='the value name '/> |
| 3224 | <arg name='attr' type='xmlAttrPtr' info='the attribute holding the ID '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3225 | </function> |
| 3226 | <function name='xmlAddNextSibling' file='tree'> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 3227 | <info>Add a new node elem as the next sibling of cur If the new node was already inserted in a document it is first unlinked from its existing context. As a result of text merging elem may be freed. If the new node is ATTRIBUTE, it is added into properties instead of children. If there is an attribute with equal name, it is first destroyed.</info> |
| 3228 | <return type='xmlNodePtr' info='the new node or NULL in case of error. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3229 | <arg name='cur' type='xmlNodePtr' info='the child node '/> |
| 3230 | <arg name='elem' type='xmlNodePtr' info='the new node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3231 | </function> |
| 3232 | <function name='xmlAddNotationDecl' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3233 | <info>Register a new notation declaration</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3234 | <return type='xmlNotationPtr' info='NULL if not, otherwise the entity '/> |
| 3235 | <arg name='ctxt' type='xmlValidCtxtPtr' info='the validation context '/> |
| 3236 | <arg name='dtd' type='xmlDtdPtr' info='pointer to the DTD '/> |
| 3237 | <arg name='name' type='const xmlChar *' info='the entity name '/> |
| 3238 | <arg name='PublicID' type='const xmlChar *' info='the public identifier or NULL '/> |
| 3239 | <arg name='SystemID' type='const xmlChar *' info='the system identifier or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3240 | </function> |
| 3241 | <function name='xmlAddPrevSibling' file='tree'> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 3242 | <info>Add a new node elem as the previous sibling of cur merging adjacent TEXT nodes (elem may be freed) If the new node was already inserted in a document it is first unlinked from its existing context. If the new node is ATTRIBUTE, it is added into properties instead of children. If there is an attribute with equal name, it is first destroyed.</info> |
| 3243 | <return type='xmlNodePtr' info='the new node or NULL in case of error. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3244 | <arg name='cur' type='xmlNodePtr' info='the child node '/> |
| 3245 | <arg name='elem' type='xmlNodePtr' info='the new node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3246 | </function> |
| 3247 | <function name='xmlAddRef' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3248 | <info>Register a new ref declaration</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3249 | <return type='xmlRefPtr' info='NULL if not, otherwise the new xmlRefPtr '/> |
| 3250 | <arg name='ctxt' type='xmlValidCtxtPtr' info='the validation context '/> |
| 3251 | <arg name='doc' type='xmlDocPtr' info='pointer to the document '/> |
| 3252 | <arg name='value' type='const xmlChar *' info='the value name '/> |
| 3253 | <arg name='attr' type='xmlAttrPtr' info='the attribute holding the Ref '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3254 | </function> |
| 3255 | <function name='xmlAddSibling' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3256 | <info>Add a new element elem to the list of siblings of cur merging adjacent TEXT nodes (elem may be freed) If the new element was already inserted in a document it is first unlinked from its existing context.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3257 | <return type='xmlNodePtr' info='the new element or NULL in case of error. '/> |
| 3258 | <arg name='cur' type='xmlNodePtr' info='the child node '/> |
| 3259 | <arg name='elem' type='xmlNodePtr' info='the new node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3260 | </function> |
| 3261 | <function name='xmlAllocOutputBuffer' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3262 | <info>Create a buffered parser output</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3263 | <return type='xmlOutputBufferPtr' info='the new parser output or NULL '/> |
| 3264 | <arg name='encoder' type='xmlCharEncodingHandlerPtr' info='the encoding converter or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3265 | </function> |
| 3266 | <function name='xmlAllocParserInputBuffer' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3267 | <info>Create a buffered parser input for progressive parsing</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3268 | <return type='xmlParserInputBufferPtr' info='the new parser input or NULL '/> |
| 3269 | <arg name='enc' type='xmlCharEncoding' info='the charset encoding if known '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3270 | </function> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 3271 | <struct name='xmlAttr' file='tree'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3272 | <typedef name='xmlAttrPtr' file='tree'/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 3273 | <struct name='xmlAttribute' file='tree'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3274 | <enum name='xmlAttributeDefault' file='tree'/> |
| 3275 | <typedef name='xmlAttributePtr' file='tree'/> |
| 3276 | <typedef name='xmlAttributeTablePtr' file='valid'/> |
| 3277 | <enum name='xmlAttributeType' file='tree'/> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 3278 | <struct name='xmlAutomata' file='xmlautomata'/> |
| 3279 | <function name='xmlAutomataCompile' file='xmlautomata'> |
| 3280 | <info>Compile the automata into a Reg Exp ready for being executed. The automata should be free after this point.</info> |
| 3281 | <return type='xmlRegexpPtr' info='the compiled regexp or NULL in case of error '/> |
| 3282 | <arg name='am' type='xmlAutomataPtr' info='an automata '/> |
| 3283 | </function> |
| 3284 | <function name='xmlAutomataGetInitState' file='xmlautomata'> |
| 3285 | <return type='xmlAutomataStatePtr' info='the initial state of the automata '/> |
| 3286 | <arg name='am' type='xmlAutomataPtr' info='an automata '/> |
| 3287 | </function> |
| 3288 | <function name='xmlAutomataIsDeterminist' file='xmlautomata'> |
| 3289 | <info>Checks if an automata is determinist.</info> |
| 3290 | <return type='int' info='1 if true, 0 if not, and -1 in case of error '/> |
| 3291 | <arg name='am' type='xmlAutomataPtr' info='an automata '/> |
| 3292 | </function> |
| 3293 | <function name='xmlAutomataNewAllTrans' file='xmlautomata'> |
| 3294 | <info>If to is NULL, this create first a new target state in the automata and then adds a an ALL transition from the from state to the target state. That transition is an epsilon transition allowed only when all transitions from the from node have been activated.</info> |
| 3295 | <return type='xmlAutomataStatePtr' info='the target state or NULL in case of error '/> |
| 3296 | <arg name='am' type='xmlAutomataPtr' info='an automata '/> |
| 3297 | <arg name='from' type='xmlAutomataStatePtr' info='the starting point of the transition '/> |
| 3298 | <arg name='to' type='xmlAutomataStatePtr' info='the target point of the transition or NULL '/> |
| 3299 | <arg name='lax' type='int'/> |
| 3300 | </function> |
| 3301 | <function name='xmlAutomataNewCountTrans' file='xmlautomata'> |
| 3302 | <info>If to is NULL, this create first a new target state in the automata and then adds a transition from the from state to the target state activated by a succession of input of value token and whose number is between min and max</info> |
| 3303 | <return type='xmlAutomataStatePtr' info='the target state or NULL in case of error '/> |
| 3304 | <arg name='am' type='xmlAutomataPtr' info='an automata '/> |
| 3305 | <arg name='from' type='xmlAutomataStatePtr' info='the starting point of the transition '/> |
| 3306 | <arg name='to' type='xmlAutomataStatePtr' info='the target point of the transition or NULL '/> |
| 3307 | <arg name='token' type='const xmlChar *' info='the input string associated to that transition '/> |
| 3308 | <arg name='min' type='int' info='the minimum successive occurences of token '/> |
| 3309 | <arg name='max' type='int'/> |
| 3310 | <arg name='data' type='void *'/> |
| 3311 | </function> |
| 3312 | <function name='xmlAutomataNewCountedTrans' file='xmlautomata'> |
| 3313 | <info>If to is NULL, this create first a new target state in the automata and then adds an epsilon transition from the from state to the target state which will increment the counter provided</info> |
| 3314 | <return type='xmlAutomataStatePtr' info='the target state or NULL in case of error '/> |
| 3315 | <arg name='am' type='xmlAutomataPtr' info='an automata '/> |
| 3316 | <arg name='from' type='xmlAutomataStatePtr' info='the starting point of the transition '/> |
| 3317 | <arg name='to' type='xmlAutomataStatePtr' info='the target point of the transition or NULL '/> |
| 3318 | <arg name='counter' type='int' info='the counter associated to that transition '/> |
| 3319 | </function> |
| 3320 | <function name='xmlAutomataNewCounter' file='xmlautomata'> |
| 3321 | <info>Create a new counter</info> |
| 3322 | <return type='int' info='the counter number or -1 in case of error '/> |
| 3323 | <arg name='am' type='xmlAutomataPtr' info='an automata '/> |
| 3324 | <arg name='min' type='int' info='the minimal value on the counter '/> |
| 3325 | <arg name='max' type='int' info='the maximal value on the counter '/> |
| 3326 | </function> |
| 3327 | <function name='xmlAutomataNewCounterTrans' file='xmlautomata'> |
| 3328 | <info>If to is NULL, this create first a new target state in the automata and then adds an epsilon transition from the from state to the target state which will be allowed only if the counter is within the right range.</info> |
| 3329 | <return type='xmlAutomataStatePtr' info='the target state or NULL in case of error '/> |
| 3330 | <arg name='am' type='xmlAutomataPtr' info='an automata '/> |
| 3331 | <arg name='from' type='xmlAutomataStatePtr' info='the starting point of the transition '/> |
| 3332 | <arg name='to' type='xmlAutomataStatePtr' info='the target point of the transition or NULL '/> |
| 3333 | <arg name='counter' type='int' info='the counter associated to that transition '/> |
| 3334 | </function> |
| 3335 | <function name='xmlAutomataNewEpsilon' file='xmlautomata'> |
| 3336 | <return type='xmlAutomataStatePtr'/> |
| 3337 | <arg name='am' type='xmlAutomataPtr'/> |
| 3338 | <arg name='from' type='xmlAutomataStatePtr'/> |
| 3339 | <arg name='to' type='xmlAutomataStatePtr'/> |
| 3340 | </function> |
| 3341 | <function name='xmlAutomataNewOnceTrans' file='xmlautomata'> |
| 3342 | <info>If to is NULL, this create first a new target state in the automata and then adds a transition from the from state to the target state activated by a succession of input of value token and whose number is between min and max, moreover that transistion can only be crossed once.</info> |
| 3343 | <return type='xmlAutomataStatePtr' info='the target state or NULL in case of error '/> |
| 3344 | <arg name='am' type='xmlAutomataPtr' info='an automata '/> |
| 3345 | <arg name='from' type='xmlAutomataStatePtr' info='the starting point of the transition '/> |
| 3346 | <arg name='to' type='xmlAutomataStatePtr' info='the target point of the transition or NULL '/> |
| 3347 | <arg name='token' type='const xmlChar *' info='the input string associated to that transition '/> |
| 3348 | <arg name='min' type='int' info='the minimum successive occurences of token '/> |
| 3349 | <arg name='max' type='int'/> |
| 3350 | <arg name='data' type='void *'/> |
| 3351 | </function> |
| 3352 | <function name='xmlAutomataNewState' file='xmlautomata'> |
| 3353 | <info>Create a new disconnected state in the automata</info> |
| 3354 | <return type='xmlAutomataStatePtr' info='the new state or NULL in case of error '/> |
| 3355 | <arg name='am' type='xmlAutomataPtr' info='an automata '/> |
| 3356 | </function> |
| 3357 | <function name='xmlAutomataNewTransition' file='xmlautomata'> |
| 3358 | <info>If to is NULL, this create first a new target state in the automata and then adds a an epsilon transition from the from state to the target state</info> |
| 3359 | <return type='xmlAutomataStatePtr' info='the target state or NULL in case of error '/> |
| 3360 | <arg name='am' type='xmlAutomataPtr' info='an automata '/> |
| 3361 | <arg name='from' type='xmlAutomataStatePtr' info='the starting point of the transition '/> |
| 3362 | <arg name='to' type='xmlAutomataStatePtr' info='the target point of the transition or NULL '/> |
| 3363 | <arg name='token' type='const xmlChar *'/> |
| 3364 | <arg name='data' type='void *'/> |
| 3365 | </function> |
| 3366 | <typedef name='xmlAutomataPtr' file='xmlautomata' info='A libxml automata description, It can be compiled into a regexp'/> |
| 3367 | <function name='xmlAutomataSetFinalState' file='xmlautomata'> |
| 3368 | <info>Makes that state a final state</info> |
| 3369 | <return type='int' info='0 or -1 in case of error '/> |
| 3370 | <arg name='am' type='xmlAutomataPtr' info='an automata '/> |
| 3371 | <arg name='state' type='xmlAutomataStatePtr' info='a state in this automata '/> |
| 3372 | </function> |
| 3373 | <struct name='xmlAutomataState' file='xmlautomata'/> |
| 3374 | <typedef name='xmlAutomataStatePtr' file='xmlautomata' info='A state int the automata description,'/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 3375 | <struct name='xmlBuffer' file='tree'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3376 | <function name='xmlBufferAdd' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3377 | <info>Add a string range to an XML buffer. if len == -1, the length of str is recomputed.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3378 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3379 | <arg name='buf' type='xmlBufferPtr' info='the buffer to dump '/> |
| 3380 | <arg name='str' type='const xmlChar *' info='the xmlChar string '/> |
| 3381 | <arg name='len' type='int' info='the number of xmlChar to add '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3382 | </function> |
| 3383 | <function name='xmlBufferAddHead' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3384 | <info>Add a string range to the beginning of an XML buffer. if len == -1, the length of str is recomputed.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3385 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3386 | <arg name='buf' type='xmlBufferPtr' info='the buffer '/> |
| 3387 | <arg name='str' type='const xmlChar *' info='the xmlChar string '/> |
| 3388 | <arg name='len' type='int' info='the number of xmlChar to add '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3389 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3390 | <macro name='xmlBufferAllocScheme' file='globals'> |
| 3391 | <info>Global setting, default allocation policy for buffers, default is XML_BUFFER_ALLOC_EXACT</info> |
| 3392 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3393 | <enum name='xmlBufferAllocationScheme' file='tree'/> |
| 3394 | <function name='xmlBufferCCat' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3395 | <info>Append a zero terminated C string to an XML buffer.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3396 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3397 | <arg name='buf' type='xmlBufferPtr' info='the buffer to dump '/> |
| 3398 | <arg name='str' type='const char *' info='the C char string '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3399 | </function> |
| 3400 | <function name='xmlBufferCat' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3401 | <info>Append a zero terminated string to an XML buffer.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3402 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3403 | <arg name='buf' type='xmlBufferPtr' info='the buffer to dump '/> |
| 3404 | <arg name='str' type='const xmlChar *' info='the xmlChar string '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3405 | </function> |
| 3406 | <function name='xmlBufferContent' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3407 | <info>Function to extract the content of a buffer</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3408 | <return type='const xmlChar *' info='the internal content '/> |
| 3409 | <arg name='buf' type='const xmlBufferPtr' info='the buffer '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3410 | </function> |
| 3411 | <function name='xmlBufferCreate' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3412 | <info>routine to create an XML buffer.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3413 | <return type='xmlBufferPtr' info='the new structure. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3414 | </function> |
| 3415 | <function name='xmlBufferCreateSize' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3416 | <info>routine to create an XML buffer.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3417 | <return type='xmlBufferPtr' info='the new structure. '/> |
| 3418 | <arg name='size' type='size_t' info='initial size of buffer '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3419 | </function> |
| 3420 | <function name='xmlBufferDump' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3421 | <info>Dumps an XML buffer to a FILE *.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3422 | <return type='int' info='the number of xmlChar written '/> |
| 3423 | <arg name='file' type='FILE *' info='the file output '/> |
| 3424 | <arg name='buf' type='xmlBufferPtr' info='the buffer to dump '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3425 | </function> |
| 3426 | <function name='xmlBufferEmpty' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3427 | <info>empty a buffer.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3428 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3429 | <arg name='buf' type='xmlBufferPtr' info='the buffer '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3430 | </function> |
| 3431 | <function name='xmlBufferFree' file='tree'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3432 | <info>Frees an XML buffer. It frees both the content and the structure which encapsulate it.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3433 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3434 | <arg name='buf' type='xmlBufferPtr' info='the buffer to free '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3435 | </function> |
| 3436 | <function name='xmlBufferGrow' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3437 | <info>Grow the available space of an XML buffer.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3438 | <return type='int' info='the new available space or -1 in case of error '/> |
| 3439 | <arg name='buf' type='xmlBufferPtr' info='the buffer '/> |
| 3440 | <arg name='len' type='unsigned int' info='the minimum free size to allocate '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3441 | </function> |
| 3442 | <function name='xmlBufferLength' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3443 | <info>Function to get the length of a buffer</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3444 | <return type='int' info='the length of data in the internal content '/> |
| 3445 | <arg name='buf' type='const xmlBufferPtr' info='the buffer '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3446 | </function> |
| 3447 | <typedef name='xmlBufferPtr' file='tree'/> |
| 3448 | <function name='xmlBufferResize' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3449 | <info>Resize a buffer to accommodate minimum size of size.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3450 | <return type='int' info='0 in case of problems, 1 otherwise '/> |
| 3451 | <arg name='buf' type='xmlBufferPtr' info='the buffer to resize '/> |
| 3452 | <arg name='size' type='unsigned int' info='the desired size '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3453 | </function> |
| 3454 | <function name='xmlBufferSetAllocationScheme' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3455 | <info>Sets the allocation scheme for this buffer</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3456 | <return type='void'/> |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame] | 3457 | <arg name='buf' type='xmlBufferPtr' info='the buffer to tune '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3458 | <arg name='scheme' type='xmlBufferAllocationScheme' info='allocation scheme to use '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3459 | </function> |
| 3460 | <function name='xmlBufferShrink' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3461 | <info>Remove the beginning of an XML buffer.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3462 | <return type='int' info='the number of xmlChar removed, or -1 in case of failure. '/> |
| 3463 | <arg name='buf' type='xmlBufferPtr' info='the buffer to dump '/> |
| 3464 | <arg name='len' type='unsigned int' info='the number of xmlChar to remove '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3465 | </function> |
| 3466 | <function name='xmlBufferWriteCHAR' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3467 | <info>routine which manages and grows an output buffer. This one adds xmlChars at the end of the buffer.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3468 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3469 | <arg name='buf' type='xmlBufferPtr' info='the XML buffer '/> |
| 3470 | <arg name='string' type='const xmlChar *' info='the string to add '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3471 | </function> |
| 3472 | <function name='xmlBufferWriteChar' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3473 | <info>routine which manage and grows an output buffer. This one add C chars at the end of the array.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3474 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3475 | <arg name='buf' type='xmlBufferPtr' info='the XML buffer output '/> |
| 3476 | <arg name='string' type='const char *' info='the string to add '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3477 | </function> |
| 3478 | <function name='xmlBufferWriteQuotedString' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3479 | <info>routine which manage and grows an output buffer. This one writes a quoted or double quoted xmlChar string, checking first if it holds quote or double-quotes internally</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3480 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3481 | <arg name='buf' type='xmlBufferPtr' info='the XML buffer output '/> |
| 3482 | <arg name='string' type='const xmlChar *' info='the string to add '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3483 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3484 | <function name='xmlBuildURI' file='uri'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 3485 | <info>Computes he final URI of the reference done by checking that the given URI is valid, and building the final URI using the base URI. This is processed according to section 5.2 of the RFC 2396 5.2. Resolving Relative References to Absolute Form</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3486 | <return type='xmlChar *' info='a new URI string (to be freed by the caller) or NULL in case of error. '/> |
| 3487 | <arg name='URI' type='const xmlChar *' info='the URI instance found in the document '/> |
| 3488 | <arg name='base' type='const xmlChar *' info='the base value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3489 | </function> |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3490 | <function name='xmlC14NDocDumpMemory' file='c14n'> |
| 3491 | <info>Dumps the canonized image of given XML document into memory. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)</info> |
| 3492 | <return type='int' info='the number of bytes written on success or a negative value on fail '/> |
| 3493 | <arg name='doc' type='xmlDocPtr' info=' the XML document for canonization '/> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 3494 | <arg name='nodes' type='xmlNodeSetPtr' info=' the nodes set to be included in the canonized image or NULL if all document nodes should be included '/> |
| 3495 | <arg name='exclusive' type='int' info=' the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization) '/> |
| 3496 | <arg name='inclusive_ns_prefixes' type='xmlChar **' info='the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise) '/> |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3497 | <arg name='with_comments' type='int' info=' include comments in the result (!=0) or not (==0) '/> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 3498 | <arg name='doc_txt_ptr' type='xmlChar **' info=' the memory pointer for allocated canonical XML text; the caller of this functions is responsible for calling xmlFree() to free allocated memory '/> |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3499 | </function> |
| 3500 | <function name='xmlC14NDocSave' file='c14n'> |
| 3501 | <info>Dumps the canonized image of given XML document into the file. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)</info> |
| 3502 | <return type='int' info='the number of bytes written success or a negative value on fail '/> |
| 3503 | <arg name='doc' type='xmlDocPtr' info=' the XML document for canonization '/> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 3504 | <arg name='nodes' type='xmlNodeSetPtr' info=' the nodes set to be included in the canonized image or NULL if all document nodes should be included '/> |
| 3505 | <arg name='exclusive' type='int' info=' the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization) '/> |
| 3506 | <arg name='inclusive_ns_prefixes' type='xmlChar **' info='the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise) '/> |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3507 | <arg name='with_comments' type='int' info=' include comments in the result (!=0) or not (==0) '/> |
| 3508 | <arg name='filename' type='const char*' info=' the filename to store canonical XML image '/> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 3509 | <arg name='compression' type='int' info=' the compression level (zlib requred): -1 - libxml default, 0 - uncompressed, >0 - compression level '/> |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3510 | </function> |
| 3511 | <function name='xmlC14NDocSaveTo' file='c14n'> |
| 3512 | <info>Dumps the canonized image of given XML document into the provided buffer. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)</info> |
| 3513 | <return type='int' info='non-negative value on success or a negative value on fail '/> |
| 3514 | <arg name='doc' type='xmlDocPtr' info=' the XML document for canonization '/> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 3515 | <arg name='nodes' type='xmlNodeSetPtr' info=' the nodes set to be included in the canonized image or NULL if all document nodes should be included '/> |
| 3516 | <arg name='exclusive' type='int' info=' the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization) '/> |
| 3517 | <arg name='inclusive_ns_prefixes' type='xmlChar **' info='the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise) '/> |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3518 | <arg name='with_comments' type='int' info=' include comments in the result (!=0) or not (==0) '/> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 3519 | <arg name='buf' type='xmlOutputBufferPtr' info=' the output buffer to store canonical XML; this buffer MUST have encoder==NULL because C14N requires UTF-8 output '/> |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 3520 | </function> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 3521 | <function name='xmlC14NExecute' file='c14n'> |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame] | 3522 | <info>Dumps the canonized image of given XML document into the provided buffer. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)</info> |
| 3523 | <return type='int' info='non-negative value on success or a negative value on fail '/> |
| 3524 | <arg name='doc' type='xmlDocPtr' info=' the XML document for canonization '/> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 3525 | <arg name='is_visible_callback' type='xmlC14NIsVisibleCallback' info='the function to use to determine is node visible or not '/> |
| 3526 | <arg name='user_data' type='void*' info=' the first parameter for is_visible_callback function (in most cases, it is nodes set) '/> |
| 3527 | <arg name='exclusive' type='int' info=' the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization) '/> |
| 3528 | <arg name='inclusive_ns_prefixes' type='xmlChar **' info='the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise) '/> |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame] | 3529 | <arg name='with_comments' type='int' info=' include comments in the result (!=0) or not (==0) '/> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 3530 | <arg name='buf' type='xmlOutputBufferPtr' info=' the output buffer to store canonical XML; this buffer MUST have encoder==NULL because C14N requires UTF-8 output '/> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 3531 | </function> |
| 3532 | <functype name='xmlC14NIsVisibleCallback' file='c14n'> |
| 3533 | <return type='int'/> |
| 3534 | <arg name='user_data' type='void*'/> |
| 3535 | <arg name='node' type='xmlNodePtr'/> |
| 3536 | <arg name='parent' type='xmlNodePtr'/> |
| 3537 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3538 | <struct name='xmlCatalog' file='catalog'/> |
| 3539 | <function name='xmlCatalogAdd' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3540 | <info>Add an entry in the catalog, it may overwrite existing but different entries. If called before any other catalog routine, allows to override the default shared catalog put in place by xmlInitializeCatalog();</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3541 | <return type='int' info='0 if successful, -1 otherwise '/> |
| 3542 | <arg name='type' type='const xmlChar *' info='the type of record to add to the catalog '/> |
| 3543 | <arg name='orig' type='const xmlChar *' info='the system, public or prefix to match '/> |
| 3544 | <arg name='replace' type='const xmlChar *' info='the replacement value for the match '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3545 | </function> |
| 3546 | <function name='xmlCatalogAddLocal' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3547 | <info>Add the new entry to the catalog list</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3548 | <return type='void *'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3549 | <arg name='catalogs' type='void *' info='a document's list of catalogs '/> |
| 3550 | <arg name='URL' type='const xmlChar *' info='the URL to a new local catalog '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3551 | </function> |
| 3552 | <enum name='xmlCatalogAllow' file='catalog'/> |
| 3553 | <function name='xmlCatalogCleanup' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3554 | <info>Free up all the memory associated with catalogs</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3555 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3556 | </function> |
| 3557 | <function name='xmlCatalogConvert' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3558 | <info>Convert all the SGML catalog entries as XML ones</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3559 | <return type='int' info='the number of entries converted if successful, -1 otherwise '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3560 | </function> |
| 3561 | <function name='xmlCatalogDump' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3562 | <info>Free up all the memory associated with catalogs</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3563 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3564 | <arg name='out' type='FILE *' info='the file. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3565 | </function> |
| 3566 | <function name='xmlCatalogFreeLocal' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3567 | <info>Free up the memory associated to the catalog list</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3568 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3569 | <arg name='catalogs' type='void *' info='a document's list of catalogs '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3570 | </function> |
| 3571 | <function name='xmlCatalogGetDefaults' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3572 | <info>Used to get the user preference w.r.t. to what catalogs should be accepted</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3573 | <return type='xmlCatalogAllow' info='the current xmlCatalogAllow value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3574 | </function> |
| 3575 | <function name='xmlCatalogGetPublic' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3576 | <info>Try to lookup the system ID associated to a public ID DEPRECATED, use xmlCatalogResolvePublic()</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3577 | <return type='const xmlChar *' info='the system ID if found or NULL otherwise. '/> |
| 3578 | <arg name='pubID' type='const xmlChar *' info='the public ID string '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3579 | </function> |
| 3580 | <function name='xmlCatalogGetSystem' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3581 | <info>Try to lookup the system ID associated to a public ID DEPRECATED, use xmlCatalogResolveSystem()</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3582 | <return type='const xmlChar *' info='the system ID if found or NULL otherwise. '/> |
| 3583 | <arg name='sysID' type='const xmlChar *' info='the system ID string '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3584 | </function> |
| 3585 | <function name='xmlCatalogIsEmpty' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3586 | <info>Check is a catalog is empty</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3587 | <return type='int' info='1 if the catalog is empty, 0 if not, amd -1 in case of error. '/> |
| 3588 | <arg name='catal' type='xmlCatalogPtr' info='should this create an SGML catalog '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3589 | </function> |
| 3590 | <function name='xmlCatalogLocalResolve' file='catalog'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3591 | <info>Do a complete resolution lookup of an External Identifier using a document's private catalog list</info> |
| 3592 | <return type='xmlChar *' info='the URI of the resource or NULL if not found, it must be freed by the caller. '/> |
| 3593 | <arg name='catalogs' type='void *' info='a document's list of catalogs '/> |
| 3594 | <arg name='pubID' type='const xmlChar *' info='the public ID string '/> |
| 3595 | <arg name='sysID' type='const xmlChar *' info='the system ID string '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3596 | </function> |
| 3597 | <function name='xmlCatalogLocalResolveURI' file='catalog'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3598 | <info>Do a complete resolution lookup of an URI using a document's private catalog list</info> |
| 3599 | <return type='xmlChar *' info='the URI of the resource or NULL if not found, it must be freed by the caller. '/> |
| 3600 | <arg name='catalogs' type='void *' info='a document's list of catalogs '/> |
| 3601 | <arg name='URI' type='const xmlChar *' info='the URI '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3602 | </function> |
| 3603 | <enum name='xmlCatalogPrefer' file='catalog'/> |
| 3604 | <typedef name='xmlCatalogPtr' file='catalog'/> |
| 3605 | <function name='xmlCatalogRemove' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3606 | <info>Remove an entry from the catalog</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3607 | <return type='int' info='the number of entries removed if successful, -1 otherwise '/> |
| 3608 | <arg name='value' type='const xmlChar *' info='the value to remove '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3609 | </function> |
| 3610 | <function name='xmlCatalogResolve' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3611 | <info>Do a complete resolution lookup of an External Identifier</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3612 | <return type='xmlChar *' info='the URI of the resource or NULL if not found, it must be freed by the caller. '/> |
| 3613 | <arg name='pubID' type='const xmlChar *' info='the public ID string '/> |
| 3614 | <arg name='sysID' type='const xmlChar *' info='the system ID string '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3615 | </function> |
| 3616 | <function name='xmlCatalogResolvePublic' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3617 | <info>Try to lookup the system ID associated to a public ID</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3618 | <return type='xmlChar *' info='the system ID if found or NULL otherwise, the value returned must be freed by the caller. '/> |
| 3619 | <arg name='pubID' type='const xmlChar *' info='the public ID string '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3620 | </function> |
| 3621 | <function name='xmlCatalogResolveSystem' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3622 | <info>Try to lookup the catalog resource for a system ID</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3623 | <return type='xmlChar *' info='the system ID if found or NULL otherwise, the value returned must be freed by the caller. '/> |
| 3624 | <arg name='sysID' type='const xmlChar *' info='the public ID string '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3625 | </function> |
| 3626 | <function name='xmlCatalogResolveURI' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3627 | <info>Do a complete resolution lookup of an URI</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3628 | <return type='xmlChar *' info='the URI of the resource or NULL if not found, it must be freed by the caller. '/> |
| 3629 | <arg name='URI' type='const xmlChar *' info='the URI '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3630 | </function> |
| 3631 | <function name='xmlCatalogSetDebug' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3632 | <info>Used to set the debug level for catalog operation, 0 disable debugging, 1 enable it</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3633 | <return type='int' info='the previous value of the catalog debugging level '/> |
| 3634 | <arg name='level' type='int' info='the debug level of catalogs required '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3635 | </function> |
| 3636 | <function name='xmlCatalogSetDefaultPrefer' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3637 | <info>Allows to set the preference between public and system for deletion in XML Catalog resolution. C.f. section 4.1.1 of the spec Values accepted are XML_CATA_PREFER_PUBLIC or XML_CATA_PREFER_SYSTEM</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3638 | <return type='xmlCatalogPrefer' info='the previous value of the default preference for delegation '/> |
| 3639 | <arg name='prefer' type='xmlCatalogPrefer' info='the default preference for delegation '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3640 | </function> |
| 3641 | <function name='xmlCatalogSetDefaults' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3642 | <info>Used to set the user preference w.r.t. to what catalogs should be accepted</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3643 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3644 | <arg name='allow' type='xmlCatalogAllow' info='what catalogs should be accepted '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3645 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3646 | <typedef name='xmlChar' file='tree' info='This is a basic byte in an UTF-8 encoded string. It's unsigned allowing to pinpoint case where char * are assigned to xmlChar * (possibly making serialization back impossible).'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3647 | <function name='xmlCharEncCloseFunc' file='encoding'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3648 | <info>Generic front-end for encoding handler close function</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3649 | <return type='int' info='0 if success, or -1 in case of error '/> |
| 3650 | <arg name='handler' type='xmlCharEncodingHandler *' info=' char enconding transformation data structure '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3651 | </function> |
| 3652 | <function name='xmlCharEncFirstLine' file='encoding'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3653 | <info>Front-end for the encoding handler input function, but handle only the very first line, i.e. limit itself to 45 chars.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3654 | <return type='int' info='the number of byte written if success, or -1 general error -2 if the transcoding fails (for *in is not valid utf8 string or the result of transformation can't fit into the encoding we want), or '/> |
| 3655 | <arg name='handler' type='xmlCharEncodingHandler *' info=' char enconding transformation data structure '/> |
| 3656 | <arg name='out' type='xmlBufferPtr' info='an xmlBuffer for the output. '/> |
| 3657 | <arg name='in' type='xmlBufferPtr' info='an xmlBuffer for the input '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3658 | </function> |
| 3659 | <function name='xmlCharEncInFunc' file='encoding'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3660 | <info>Generic front-end for the encoding handler input function</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3661 | <return type='int' info='the number of byte written if success, or -1 general error -2 if the transcoding fails (for *in is not valid utf8 string or the result of transformation can't fit into the encoding we want), or '/> |
| 3662 | <arg name='handler' type='xmlCharEncodingHandler *' info=' char encoding transformation data structure '/> |
| 3663 | <arg name='out' type='xmlBufferPtr' info='an xmlBuffer for the output. '/> |
| 3664 | <arg name='in' type='xmlBufferPtr' info='an xmlBuffer for the input '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3665 | </function> |
| 3666 | <function name='xmlCharEncOutFunc' file='encoding'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3667 | <info>Generic front-end for the encoding handler output function a first call with in == NULL has to be made firs to initiate the output in case of non-stateless encoding needing to initiate their state or the output (like the BOM in UTF16). In case of UTF8 sequence conversion errors for the given encoder, the content will be automatically remapped to a CharRef sequence.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3668 | <return type='int' info='the number of byte written if success, or -1 general error -2 if the transcoding fails (for *in is not valid utf8 string or the result of transformation can't fit into the encoding we want), or '/> |
| 3669 | <arg name='handler' type='xmlCharEncodingHandler *' info=' char enconding transformation data structure '/> |
| 3670 | <arg name='out' type='xmlBufferPtr' info='an xmlBuffer for the output. '/> |
| 3671 | <arg name='in' type='xmlBufferPtr' info='an xmlBuffer for the input '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3672 | </function> |
| 3673 | <enum name='xmlCharEncoding' file='encoding'/> |
| 3674 | <struct name='xmlCharEncodingHandler' file='encoding'/> |
| 3675 | <typedef name='xmlCharEncodingHandlerPtr' file='encoding'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3676 | <functype name='xmlCharEncodingInputFunc' file='encoding'> |
| 3677 | <info>Take a block of chars in the original encoding and try to convert it to an UTF-8 block of chars out.</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 3678 | <return type='int' info='the number of byte written, or -1 by lack of space, or -2 if the transcoding failed. The value of inlen after return is the number of octets consumed as the return value is positive, else unpredictiable. The value of outlen after return is the number of octets consumed. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3679 | <arg name='out' type='unsigned char *' info='a pointer to an array of bytes to store the UTF-8 result '/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 3680 | <arg name='outlen' type='int *' info='the length of out'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3681 | <arg name='in' type='const unsigned char *' info='a pointer to an array of chars in the original encoding '/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 3682 | <arg name='inlen' type='int *' info='the length of in'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3683 | </functype> |
| 3684 | <functype name='xmlCharEncodingOutputFunc' file='encoding'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 3685 | <info>Take a block of UTF-8 chars in and try to convert it to an other encoding. Note: a first call designed to produce heading info is called with in = NULL. If stateful this should also initialize the encoder state.</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 3686 | <return type='int' info='the number of byte written, or -1 by lack of space, or -2 if the transcoding failed. The value of inlen after return is the number of octets consumed as the return value is positive, else unpredictiable. The value of outlen after return is the number of ocetes consumed. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3687 | <arg name='out' type='unsigned char *' info='a pointer to an array of bytes to store the result '/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 3688 | <arg name='outlen' type='int *' info='the length of out'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3689 | <arg name='in' type='const unsigned char *' info='a pointer to an array of UTF-8 chars '/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 3690 | <arg name='inlen' type='int *' info='the length of in'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3691 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3692 | <function name='xmlCharStrdup' file='parser'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3693 | <info>a strdup for char's to xmlChar's</info> |
| 3694 | <return type='xmlChar *' info='a new xmlChar * or NULL '/> |
| 3695 | <arg name='cur' type='const char *' info='the input char * '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3696 | </function> |
| 3697 | <function name='xmlCharStrndup' file='parser'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3698 | <info>a strndup for char's to xmlChar's</info> |
| 3699 | <return type='xmlChar *' info='a new xmlChar * or NULL '/> |
| 3700 | <arg name='cur' type='const char *' info='the input char * '/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 3701 | <arg name='len' type='int' info='the len of cur'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3702 | </function> |
Daniel Veillard | 4826743 | 2002-10-18 11:21:38 +0000 | [diff] [blame] | 3703 | <function name='xmlCheckFilename' file='xmlIO'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 3704 | <info>function checks to see if path is a valid source (file, socket...) for XML. if stat is not available on the target machine, returns 1. if stat fails, returns 0 (if calling stat on the filename fails, it can't be right). if stat succeeds and the file is a directory,</info> |
Daniel Veillard | 4826743 | 2002-10-18 11:21:38 +0000 | [diff] [blame] | 3705 | <return type='int' info='2. otherwise returns 1. '/> |
| 3706 | <arg name='path' type='const char *' info='the path to check '/> |
| 3707 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3708 | <function name='xmlCheckLanguageID' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 3709 | <info>Checks that the value conforms to the LanguageID production: NOTE: this is somewhat deprecated, those productions were removed from the XML Second edition. [33] LanguageID ::= Langcode ('-' Subcode)* [34] Langcode ::= ISO639Code | IanaCode | UserCode [35] ISO639Code ::= ([a-z] | [A-Z]) ([a-z] | [A-Z]) [36] IanaCode ::= ('i' | 'I') '-' ([a-z] | [A-Z])+ [37] UserCode ::= ('x' | 'X') '-' ([a-z] | [A-Z])+ [38] Subcode ::= ([a-z] | [A-Z])+</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3710 | <return type='int' info='1 if correct 0 otherwise '/> |
| 3711 | <arg name='lang' type='const xmlChar *' info='pointer to the string value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3712 | </function> |
| 3713 | <function name='xmlCheckUTF8' file='encoding'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3714 | <info>Checks utf for being valid utf-8. utf is assumed to be null-terminated. This function is not super-strict, as it will allow longer utf-8 sequences than necessary. Note that Java is capable of producing these sequences if provoked. Also note, this routine checks for the 4-byte maximum size, but does not check for 0x10ffff maximum value.</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 3715 | <return type='int' info='true if utf is valid. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3716 | <arg name='utf' type='const unsigned char *' info='Pointer to putative utf-8 encoded string. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3717 | </function> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 3718 | <function name='xmlCheckVersion' file='xmlversion'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3719 | <info>check the compiled lib version against the include one. This can warn or immediately kill the application</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3720 | <return type='void'/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 3721 | <arg name='version' type='int'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3722 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3723 | <macro name='xmlChildrenNode' file='tree'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 3724 | <info>Macro for compatibility naming layer with libxml1.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3725 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3726 | <function name='xmlCleanupCharEncodingHandlers' file='encoding'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3727 | <info>Cleanup the memory allocated for the char encoding support, it unregisters all the encoding handlers and the aliases.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3728 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3729 | </function> |
| 3730 | <function name='xmlCleanupEncodingAliases' file='encoding'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3731 | <info>Unregisters all aliases</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3732 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3733 | </function> |
| 3734 | <function name='xmlCleanupInputCallbacks' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3735 | <info>clears the entire input callback table. this includes the compiled-in I/O.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3736 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3737 | </function> |
| 3738 | <function name='xmlCleanupOutputCallbacks' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3739 | <info>clears the entire output callback table. this includes the compiled-in I/O callbacks.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3740 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3741 | </function> |
| 3742 | <function name='xmlCleanupParser' file='parser'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3743 | <info>Cleanup function for the XML parser. It tries to reclaim all parsing related global memory allocated for the parser processing. It doesn't deallocate any document related memory. Calling this function should not prevent reusing the parser.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3744 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3745 | </function> |
| 3746 | <function name='xmlCleanupPredefinedEntities' file='entities'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3747 | <info>Cleanup up the predefined entities table.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3748 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3749 | </function> |
| 3750 | <function name='xmlCleanupThreads' file='threads'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3751 | <info>xmlCleanupThreads() is used to to cleanup all the thread related data of the libxml2 library once processing has ended.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3752 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3753 | </function> |
| 3754 | <function name='xmlClearNodeInfoSeq' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3755 | <info>-- Clear (release memory and reinitialize) node info sequence</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3756 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3757 | <arg name='seq' type='xmlParserNodeInfoSeqPtr' info='a node info sequence pointer '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3758 | </function> |
| 3759 | <function name='xmlClearParserCtxt' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3760 | <info>Clear (release owned resources) and reinitialize a parser context</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3761 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3762 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3763 | </function> |
| 3764 | <function name='xmlConvertSGMLCatalog' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3765 | <info>Convert all the SGML catalog entries as XML ones</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3766 | <return type='int' info='the number of entries converted if successful, -1 otherwise '/> |
| 3767 | <arg name='catal' type='xmlCatalogPtr' info='the catalog '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3768 | </function> |
| 3769 | <function name='xmlCopyAttributeTable' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3770 | <info>Build a copy of an attribute table.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3771 | <return type='xmlAttributeTablePtr' info='the new xmlAttributeTablePtr or NULL in case of error. '/> |
| 3772 | <arg name='table' type='xmlAttributeTablePtr' info='An attribute table '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3773 | </function> |
| 3774 | <function name='xmlCopyChar' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3775 | <info>append the char value in the array</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3776 | <return type='int' info='the number of xmlChar written '/> |
| 3777 | <arg name='len' type='int' info='Ignored, compatibility '/> |
| 3778 | <arg name='out' type='xmlChar *' info='pointer to an array of xmlChar '/> |
| 3779 | <arg name='val' type='int' info='the char value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3780 | </function> |
| 3781 | <function name='xmlCopyCharMultiByte' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3782 | <info>append the char value in the array</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3783 | <return type='int' info='the number of xmlChar written '/> |
| 3784 | <arg name='out' type='xmlChar *' info='pointer to an array of xmlChar '/> |
| 3785 | <arg name='val' type='int' info='the char value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3786 | </function> |
| 3787 | <function name='xmlCopyDoc' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3788 | <info>Do a copy of the document info. If recursive, the content tree will be copied too as well as DTD, namespaces and entities.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3789 | <return type='xmlDocPtr' info='a new xmlDocPtr, or NULL in case of error. '/> |
| 3790 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 3791 | <arg name='recursive' type='int' info='if 1 do a recursive copy. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3792 | </function> |
| 3793 | <function name='xmlCopyDtd' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3794 | <info>Do a copy of the dtd.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3795 | <return type='xmlDtdPtr' info='a new xmlDtdPtr, or NULL in case of error. '/> |
| 3796 | <arg name='dtd' type='xmlDtdPtr' info='the dtd '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3797 | </function> |
| 3798 | <function name='xmlCopyElementContent' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3799 | <info>Build a copy of an element content description.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3800 | <return type='xmlElementContentPtr' info='the new xmlElementContentPtr or NULL in case of error. '/> |
| 3801 | <arg name='content' type='xmlElementContentPtr' info='An element content pointer. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3802 | </function> |
| 3803 | <function name='xmlCopyElementTable' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3804 | <info>Build a copy of an element table.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3805 | <return type='xmlElementTablePtr' info='the new xmlElementTablePtr or NULL in case of error. '/> |
| 3806 | <arg name='table' type='xmlElementTablePtr' info='An element table '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3807 | </function> |
| 3808 | <function name='xmlCopyEntitiesTable' file='entities'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3809 | <info>Build a copy of an entity table.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3810 | <return type='xmlEntitiesTablePtr' info='the new xmlEntitiesTablePtr or NULL in case of error. '/> |
| 3811 | <arg name='table' type='xmlEntitiesTablePtr' info='An entity table '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3812 | </function> |
| 3813 | <function name='xmlCopyEnumeration' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3814 | <info>Copy an enumeration attribute node (recursive).</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3815 | <return type='xmlEnumerationPtr' info='the xmlEnumerationPtr just created or NULL in case of error. '/> |
| 3816 | <arg name='cur' type='xmlEnumerationPtr' info='the tree to copy. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3817 | </function> |
| 3818 | <function name='xmlCopyNamespace' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3819 | <info>Do a copy of the namespace.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3820 | <return type='xmlNsPtr' info='a new xmlNsPtr, or NULL in case of error. '/> |
| 3821 | <arg name='cur' type='xmlNsPtr' info='the namespace '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3822 | </function> |
| 3823 | <function name='xmlCopyNamespaceList' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3824 | <info>Do a copy of an namespace list.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3825 | <return type='xmlNsPtr' info='a new xmlNsPtr, or NULL in case of error. '/> |
| 3826 | <arg name='cur' type='xmlNsPtr' info='the first namespace '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3827 | </function> |
| 3828 | <function name='xmlCopyNode' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3829 | <info>Do a copy of the node.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3830 | <return type='xmlNodePtr' info='a new xmlNodePtr, or NULL in case of error. '/> |
| 3831 | <arg name='node' type='const xmlNodePtr' info='the node '/> |
| 3832 | <arg name='recursive' type='int' info='if 1 do a recursive copy. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3833 | </function> |
| 3834 | <function name='xmlCopyNodeList' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3835 | <info>Do a recursive copy of the node list.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3836 | <return type='xmlNodePtr' info='a new xmlNodePtr, or NULL in case of error. '/> |
Daniel Veillard | 0bfbb42 | 2002-04-26 09:21:45 +0000 | [diff] [blame] | 3837 | <arg name='node' type='const xmlNodePtr' info='the first node in the list. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3838 | </function> |
| 3839 | <function name='xmlCopyNotationTable' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3840 | <info>Build a copy of a notation table.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3841 | <return type='xmlNotationTablePtr' info='the new xmlNotationTablePtr or NULL in case of error. '/> |
| 3842 | <arg name='table' type='xmlNotationTablePtr' info='A notation table '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3843 | </function> |
| 3844 | <function name='xmlCopyProp' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3845 | <info>Do a copy of the attribute.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3846 | <return type='xmlAttrPtr' info='a new xmlAttrPtr, or NULL in case of error. '/> |
| 3847 | <arg name='target' type='xmlNodePtr' info='the element where the attribute will be grafted '/> |
| 3848 | <arg name='cur' type='xmlAttrPtr' info='the attribute '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3849 | </function> |
| 3850 | <function name='xmlCopyPropList' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3851 | <info>Do a copy of an attribute list.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3852 | <return type='xmlAttrPtr' info='a new xmlAttrPtr, or NULL in case of error. '/> |
| 3853 | <arg name='target' type='xmlNodePtr' info='the element where the attributes will be grafted '/> |
| 3854 | <arg name='cur' type='xmlAttrPtr' info='the first attribute '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3855 | </function> |
| 3856 | <function name='xmlCreateDocParserCtxt' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3857 | <info>Creates a parser context for an XML in-memory document.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3858 | <return type='xmlParserCtxtPtr' info='the new parser context or NULL '/> |
| 3859 | <arg name='cur' type='xmlChar *' info='a pointer to an array of xmlChar '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3860 | </function> |
| 3861 | <function name='xmlCreateEntitiesTable' file='entities'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3862 | <info>create and initialize an empty entities hash table.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3863 | <return type='xmlEntitiesTablePtr' info='the xmlEntitiesTablePtr just created or NULL in case of error. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3864 | </function> |
| 3865 | <function name='xmlCreateEntityParserCtxt' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3866 | <info>Create a parser context for an external entity Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3867 | <return type='xmlParserCtxtPtr' info='the new parser context or NULL '/> |
| 3868 | <arg name='URL' type='const xmlChar *' info='the entity URL '/> |
| 3869 | <arg name='ID' type='const xmlChar *' info='the entity PUBLIC ID '/> |
| 3870 | <arg name='base' type='const xmlChar *' info='a possible base for the target URI '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3871 | </function> |
| 3872 | <function name='xmlCreateEnumeration' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3873 | <info>create and initialize an enumeration attribute node.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3874 | <return type='xmlEnumerationPtr' info='the xmlEnumerationPtr just created or NULL in case of error. '/> |
| 3875 | <arg name='name' type='xmlChar *' info='the enumeration name or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3876 | </function> |
| 3877 | <function name='xmlCreateFileParserCtxt' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3878 | <info>Create a parser context for a file content. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3879 | <return type='xmlParserCtxtPtr' info='the new parser context or NULL '/> |
| 3880 | <arg name='filename' type='const char *' info='the filename '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3881 | </function> |
| 3882 | <function name='xmlCreateIOParserCtxt' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3883 | <info>Create a parser context for using the XML parser with an existing I/O stream</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3884 | <return type='xmlParserCtxtPtr' info='the new parser context or NULL '/> |
| 3885 | <arg name='sax' type='xmlSAXHandlerPtr' info='a SAX handler '/> |
| 3886 | <arg name='user_data' type='void *' info='The user data returned on SAX callbacks '/> |
| 3887 | <arg name='ioread' type='xmlInputReadCallback' info='an I/O read function '/> |
| 3888 | <arg name='ioclose' type='xmlInputCloseCallback' info='an I/O close function '/> |
| 3889 | <arg name='ioctx' type='void *' info='an I/O handler '/> |
| 3890 | <arg name='enc' type='xmlCharEncoding' info='the charset encoding if known '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3891 | </function> |
| 3892 | <function name='xmlCreateIntSubset' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3893 | <info>Create the internal subset of a document</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3894 | <return type='xmlDtdPtr' info='a pointer to the new DTD structure '/> |
| 3895 | <arg name='doc' type='xmlDocPtr' info='the document pointer '/> |
| 3896 | <arg name='name' type='const xmlChar *' info='the DTD name '/> |
| 3897 | <arg name='ExternalID' type='const xmlChar *' info='the external (PUBLIC) ID '/> |
| 3898 | <arg name='SystemID' type='const xmlChar *' info='the system ID '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3899 | </function> |
| 3900 | <function name='xmlCreateMemoryParserCtxt' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3901 | <info>Create a parser context for an XML in-memory document.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3902 | <return type='xmlParserCtxtPtr' info='the new parser context or NULL '/> |
| 3903 | <arg name='buffer' type='const char *' info='a pointer to a char array '/> |
| 3904 | <arg name='size' type='int' info='the size of the array '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3905 | </function> |
| 3906 | <function name='xmlCreatePushParserCtxt' file='parser'> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 3907 | <info>Create a parser context for using the XML parser in push mode. If buffer and size are non-NULL, the data is used to detect the encoding. The remaining characters will be parsed so they don't need to be fed in again through xmlParseChunk. To allow content encoding detection, size should be >= 4 The value of filename is used for fetching external entities and error/warning reports.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3908 | <return type='xmlParserCtxtPtr' info='the new parser context or NULL '/> |
| 3909 | <arg name='sax' type='xmlSAXHandlerPtr' info='a SAX handler '/> |
| 3910 | <arg name='user_data' type='void *' info='The user data returned on SAX callbacks '/> |
| 3911 | <arg name='chunk' type='const char *' info='a pointer to an array of chars '/> |
| 3912 | <arg name='size' type='int' info='number of chars in the array '/> |
| 3913 | <arg name='filename' type='const char *' info='an optional file name or URI '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3914 | </function> |
| 3915 | <function name='xmlCreateURI' file='uri'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3916 | <info>Simply creates an empty xmlURI</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3917 | <return type='xmlURIPtr' info='the new structure or NULL in case of error '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3918 | </function> |
| 3919 | <function name='xmlCurrentChar' file='parserInternals'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3920 | <info>The current char value, if using UTF-8 this may actually span multiple bytes in the input buffer. Implement the end of line normalization: 2.11 End-of-Line Handling Wherever an external parsed entity or the literal entity value of an internal parsed entity contains either the literal two-character sequence "xDxA" or a standalone literal xD, an XML processor must pass to the application the single character xA. This behavior can conveniently be produced by normalizing all line breaks to xA on input, before parsing.)</info> |
| 3921 | <return type='int' info='the current char value and its length '/> |
| 3922 | <arg name='ctxt' type='xmlParserCtxtPtr' info='the XML parser context '/> |
| 3923 | <arg name='len' type='int *' info='pointer to the length of the char read '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3924 | </function> |
| 3925 | <function name='xmlDebugDumpAttr' file='debugXML'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3926 | <info>Dumps debug information for the attribute</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3927 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3928 | <arg name='output' type='FILE *' info='the FILE * for the output '/> |
| 3929 | <arg name='attr' type='xmlAttrPtr' info='the attribute '/> |
| 3930 | <arg name='depth' type='int' info='the indentation level. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3931 | </function> |
| 3932 | <function name='xmlDebugDumpAttrList' file='debugXML'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3933 | <info>Dumps debug information for the attribute list</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3934 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3935 | <arg name='output' type='FILE *' info='the FILE * for the output '/> |
| 3936 | <arg name='attr' type='xmlAttrPtr' info='the attribute list '/> |
| 3937 | <arg name='depth' type='int' info='the indentation level. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3938 | </function> |
| 3939 | <function name='xmlDebugDumpDTD' file='debugXML'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3940 | <info>Dumps debug information for the DTD</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3941 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3942 | <arg name='output' type='FILE *' info='the FILE * for the output '/> |
| 3943 | <arg name='dtd' type='xmlDtdPtr' info='the DTD '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3944 | </function> |
| 3945 | <function name='xmlDebugDumpDocument' file='debugXML'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3946 | <info>Dumps debug information for the document, it's recursive</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3947 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3948 | <arg name='output' type='FILE *' info='the FILE * for the output '/> |
| 3949 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3950 | </function> |
| 3951 | <function name='xmlDebugDumpDocumentHead' file='debugXML'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3952 | <info>Dumps debug information cncerning the document, not recursive</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3953 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3954 | <arg name='output' type='FILE *' info='the FILE * for the output '/> |
| 3955 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3956 | </function> |
| 3957 | <function name='xmlDebugDumpEntities' file='debugXML'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3958 | <info>Dumps debug information for all the entities in use by the document</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3959 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3960 | <arg name='output' type='FILE *' info='the FILE * for the output '/> |
| 3961 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3962 | </function> |
| 3963 | <function name='xmlDebugDumpNode' file='debugXML'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3964 | <info>Dumps debug information for the element node, it is recursive</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3965 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3966 | <arg name='output' type='FILE *' info='the FILE * for the output '/> |
| 3967 | <arg name='node' type='xmlNodePtr' info='the node '/> |
| 3968 | <arg name='depth' type='int' info='the indentation level. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3969 | </function> |
| 3970 | <function name='xmlDebugDumpNodeList' file='debugXML'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3971 | <info>Dumps debug information for the list of element node, it is recursive</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3972 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3973 | <arg name='output' type='FILE *' info='the FILE * for the output '/> |
| 3974 | <arg name='node' type='xmlNodePtr' info='the node list '/> |
| 3975 | <arg name='depth' type='int' info='the indentation level. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3976 | </function> |
| 3977 | <function name='xmlDebugDumpOneNode' file='debugXML'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3978 | <info>Dumps debug information for the element node, it is not recursive</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3979 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3980 | <arg name='output' type='FILE *' info='the FILE * for the output '/> |
| 3981 | <arg name='node' type='xmlNodePtr' info='the node '/> |
| 3982 | <arg name='depth' type='int' info='the indentation level. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3983 | </function> |
| 3984 | <function name='xmlDebugDumpString' file='debugXML'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 3985 | <info>Dumps informations about the string, shorten it if necessary</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3986 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3987 | <arg name='output' type='FILE *' info='the FILE * for the output '/> |
| 3988 | <arg name='str' type='const xmlChar *' info='the string '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3989 | </function> |
| 3990 | <function name='xmlDecodeEntities' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 3991 | <info>This function is deprecated, we now always process entities content through xmlStringDecodeEntities TODO: remove it in next major release. [67] Reference ::= EntityRef | CharRef [69] PEReference ::= '%' Name ';'</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 3992 | <return type='xmlChar *' info='A newly allocated string with the substitution done. The caller must deallocate it ! '/> |
| 3993 | <arg name='ctxt' type='xmlParserCtxtPtr' info='the parser context '/> |
| 3994 | <arg name='len' type='int' info='the len to decode (in bytes !), -1 for no size limit '/> |
| 3995 | <arg name='what' type='int' info='combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF '/> |
| 3996 | <arg name='end' type='xmlChar' info='an end marker xmlChar, 0 if none '/> |
| 3997 | <arg name='end2' type='xmlChar' info='an end marker xmlChar, 0 if none '/> |
| 3998 | <arg name='end3' type='xmlChar' info='an end marker xmlChar, 0 if none '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 3999 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4000 | <macro name='xmlDefaultBufferSize' file='globals'> |
| 4001 | <info>Global setting, default buffer size. Default value is BASE_BUFFER_SIZE</info> |
| 4002 | </macro> |
| 4003 | <macro name='xmlDefaultSAXHandler' file='globals'> |
| 4004 | <info>Default handler for XML, builds the DOM tree</info> |
| 4005 | </macro> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 4006 | <function name='xmlDefaultSAXHandlerInit' file='SAX'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4007 | <info>Initialize the default SAX handler</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4008 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4009 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4010 | <macro name='xmlDefaultSAXLocator' file='globals'> |
| 4011 | <info>The default SAX Locator { getPublicId, getSystemId, getLineNumber, getColumnNumber}</info> |
| 4012 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4013 | <function name='xmlDelEncodingAlias' file='encoding'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4014 | <info>Unregisters an encoding alias alias</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4015 | <return type='int' info='0 in case of success, -1 in case of error '/> |
| 4016 | <arg name='alias' type='const char *' info='the alias name as parsed, in UTF-8 format (ASCII actually) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4017 | </function> |
| 4018 | <function name='xmlDetectCharEncoding' file='encoding'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4019 | <info>Guess the encoding of the entity using the first bytes of the entity content accordingly of the non-normative appendix F of the XML-1.0 recommendation.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4020 | <return type='xmlCharEncoding' info='one of the XML_CHAR_ENCODING_... values. '/> |
| 4021 | <arg name='in' type='const unsigned char *' info='a pointer to the first bytes of the XML entity, must be at least 4 bytes long. '/> |
| 4022 | <arg name='len' type='int' info='pointer to the length of the buffer '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4023 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4024 | <macro name='xmlDoValidityCheckingDefaultValue' file='globals'> |
| 4025 | <info>Global setting, indicate that the parser should work in validating mode. Disabled by default.</info> |
| 4026 | </macro> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 4027 | <struct name='xmlDoc' file='tree'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4028 | <function name='xmlDocCopyNode' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4029 | <info>Do a copy of the node to a given document.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4030 | <return type='xmlNodePtr' info='a new xmlNodePtr, or NULL in case of error. '/> |
Daniel Veillard | 0bfbb42 | 2002-04-26 09:21:45 +0000 | [diff] [blame] | 4031 | <arg name='node' type='const xmlNodePtr' info='the node '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4032 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 4033 | <arg name='recursive' type='int' info='if 1 do a recursive copy. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4034 | </function> |
| 4035 | <function name='xmlDocDump' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4036 | <info>Dump an XML document to an open FILE.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4037 | <return type='int' info='the number of bytes written or -1 in case of failure. '/> |
| 4038 | <arg name='f' type='FILE *' info='the FILE* '/> |
| 4039 | <arg name='cur' type='xmlDocPtr' info='the document '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4040 | </function> |
| 4041 | <function name='xmlDocDumpFormatMemory' file='tree'> |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame] | 4042 | <info>Dump an XML document in memory and return the xmlChar * and it's size. It's up to the caller to free the memory with xmlFree(). Note that format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4043 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4044 | <arg name='cur' type='xmlDocPtr' info='the document '/> |
| 4045 | <arg name='mem' type='xmlChar **' info='OUT: the memory pointer '/> |
| 4046 | <arg name='size' type='int *' info='OUT: the memory length '/> |
| 4047 | <arg name='format' type='int' info='should formatting spaces been added '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4048 | </function> |
| 4049 | <function name='xmlDocDumpFormatMemoryEnc' file='tree'> |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame] | 4050 | <info>Dump the current DOM tree into memory using the character encoding specified by the caller. Note it is up to the caller of this function to free the allocated memory with xmlFree(). Note that format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4051 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4052 | <arg name='out_doc' type='xmlDocPtr' info='Document to generate XML text from '/> |
| 4053 | <arg name='doc_txt_ptr' type='xmlChar **' info='Memory pointer for allocated XML text '/> |
| 4054 | <arg name='doc_txt_len' type='int *' info='Length of the generated XML text '/> |
| 4055 | <arg name='txt_encoding' type='const char *' info='Character encoding to use when generating XML text '/> |
| 4056 | <arg name='format' type='int' info='should formatting spaces been added '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4057 | </function> |
| 4058 | <function name='xmlDocDumpMemory' file='tree'> |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame] | 4059 | <info>Dump an XML document in memory and return the xmlChar * and it's size. It's up to the caller to free the memory with xmlFree().</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4060 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4061 | <arg name='cur' type='xmlDocPtr' info='the document '/> |
| 4062 | <arg name='mem' type='xmlChar **' info='OUT: the memory pointer '/> |
| 4063 | <arg name='size' type='int *' info='OUT: the memory length '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4064 | </function> |
| 4065 | <function name='xmlDocDumpMemoryEnc' file='tree'> |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame] | 4066 | <info>Dump the current DOM tree into memory using the character encoding specified by the caller. Note it is up to the caller of this function to free the allocated memory with xmlFree().</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4067 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4068 | <arg name='out_doc' type='xmlDocPtr' info='Document to generate XML text from '/> |
| 4069 | <arg name='doc_txt_ptr' type='xmlChar **' info='Memory pointer for allocated XML text '/> |
| 4070 | <arg name='doc_txt_len' type='int *' info='Length of the generated XML text '/> |
| 4071 | <arg name='txt_encoding' type='const char *' info='Character encoding to use when generating XML text '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4072 | </function> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4073 | <function name='xmlDocFormatDump' file='tree'> |
| 4074 | <info>Dump an XML document to an open FILE.</info> |
| 4075 | <return type='int' info='the number of bytes written or -1 in case of failure. '/> |
| 4076 | <arg name='f' type='FILE *' info='the FILE* '/> |
| 4077 | <arg name='cur' type='xmlDocPtr' info='the document '/> |
| 4078 | <arg name='format' type='int' info='should formatting spaces been added '/> |
| 4079 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4080 | <function name='xmlDocGetRootElement' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4081 | <info>Get the root element of the document (doc->children is a list containing possibly comments, PIs, etc ...).</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4082 | <return type='xmlNodePtr' info='the xmlNodePtr for the root or NULL '/> |
| 4083 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4084 | </function> |
| 4085 | <typedef name='xmlDocPtr' file='tree'/> |
| 4086 | <function name='xmlDocSetRootElement' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4087 | <info>Set the root element of the document (doc->children is a list containing possibly comments, PIs, etc ...).</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4088 | <return type='xmlNodePtr' info='the old root element if any was found '/> |
| 4089 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 4090 | <arg name='root' type='xmlNodePtr' info='the new document root element '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4091 | </function> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 4092 | <struct name='xmlDtd' file='tree'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4093 | <typedef name='xmlDtdPtr' file='tree'/> |
| 4094 | <function name='xmlDumpAttributeDecl' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4095 | <info>This will dump the content of the attribute declaration as an XML DTD definition</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4096 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4097 | <arg name='buf' type='xmlBufferPtr' info='the XML buffer output '/> |
| 4098 | <arg name='attr' type='xmlAttributePtr' info='An attribute declaration '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4099 | </function> |
| 4100 | <function name='xmlDumpAttributeTable' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4101 | <info>This will dump the content of the attribute table as an XML DTD definition</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4102 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4103 | <arg name='buf' type='xmlBufferPtr' info='the XML buffer output '/> |
| 4104 | <arg name='table' type='xmlAttributeTablePtr' info='An attribute table '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4105 | </function> |
| 4106 | <function name='xmlDumpElementDecl' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4107 | <info>This will dump the content of the element declaration as an XML DTD definition</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4108 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4109 | <arg name='buf' type='xmlBufferPtr' info='the XML buffer output '/> |
| 4110 | <arg name='elem' type='xmlElementPtr' info='An element table '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4111 | </function> |
| 4112 | <function name='xmlDumpElementTable' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4113 | <info>This will dump the content of the element table as an XML DTD definition</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4114 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4115 | <arg name='buf' type='xmlBufferPtr' info='the XML buffer output '/> |
| 4116 | <arg name='table' type='xmlElementTablePtr' info='An element table '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4117 | </function> |
| 4118 | <function name='xmlDumpEntitiesTable' file='entities'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4119 | <info>This will dump the content of the entity table as an XML DTD definition</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4120 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4121 | <arg name='buf' type='xmlBufferPtr' info='An XML buffer. '/> |
| 4122 | <arg name='table' type='xmlEntitiesTablePtr' info='An entity table '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4123 | </function> |
| 4124 | <function name='xmlDumpEntityDecl' file='entities'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4125 | <info>This will dump the content of the entity table as an XML DTD definition</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4126 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4127 | <arg name='buf' type='xmlBufferPtr' info='An XML buffer. '/> |
| 4128 | <arg name='ent' type='xmlEntityPtr' info='An entity table '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4129 | </function> |
| 4130 | <function name='xmlDumpNotationDecl' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4131 | <info>This will dump the content the notation declaration as an XML DTD definition</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4132 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4133 | <arg name='buf' type='xmlBufferPtr' info='the XML buffer output '/> |
| 4134 | <arg name='nota' type='xmlNotationPtr' info='A notation declaration '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4135 | </function> |
| 4136 | <function name='xmlDumpNotationTable' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4137 | <info>This will dump the content of the notation table as an XML DTD definition</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4138 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4139 | <arg name='buf' type='xmlBufferPtr' info='the XML buffer output '/> |
| 4140 | <arg name='table' type='xmlNotationTablePtr' info='A notation table '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4141 | </function> |
| 4142 | <function name='xmlElemDump' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4143 | <info>Dump an XML/HTML node, recursive behaviour, children are printed too.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4144 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4145 | <arg name='f' type='FILE *' info='the FILE * for the output '/> |
| 4146 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 4147 | <arg name='cur' type='xmlNodePtr' info='the current node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4148 | </function> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 4149 | <struct name='xmlElement' file='tree'/> |
| 4150 | <struct name='xmlElementContent' file='tree'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4151 | <enum name='xmlElementContentOccur' file='tree'/> |
| 4152 | <typedef name='xmlElementContentPtr' file='tree'/> |
| 4153 | <enum name='xmlElementContentType' file='tree'/> |
| 4154 | <typedef name='xmlElementPtr' file='tree'/> |
| 4155 | <typedef name='xmlElementTablePtr' file='valid'/> |
| 4156 | <enum name='xmlElementType' file='tree'/> |
| 4157 | <enum name='xmlElementTypeVal' file='tree'/> |
| 4158 | <function name='xmlEncodeEntities' file='entities'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 4159 | <info>Do a global encoding of a string, replacing the predefined entities and non ASCII values with their entities and CharRef counterparts. TODO: remove xmlEncodeEntities, once we are not afraid of breaking binary compatibility People must migrate their code to xmlEncodeEntitiesReentrant ! This routine will issue a warning when encountered.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4160 | <return type='const xmlChar *' info='A newly allocated string with the substitution done. '/> |
| 4161 | <arg name='doc' type='xmlDocPtr' info='the document containing the string '/> |
| 4162 | <arg name='input' type='const xmlChar *' info='A string to convert to XML. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4163 | </function> |
| 4164 | <function name='xmlEncodeEntitiesReentrant' file='entities'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4165 | <info>Do a global encoding of a string, replacing the predefined entities and non ASCII values with their entities and CharRef counterparts. Contrary to xmlEncodeEntities, this routine is reentrant, and result must be deallocated.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4166 | <return type='xmlChar *' info='A newly allocated string with the substitution done. '/> |
| 4167 | <arg name='doc' type='xmlDocPtr' info='the document containing the string '/> |
| 4168 | <arg name='input' type='const xmlChar *' info='A string to convert to XML. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4169 | </function> |
| 4170 | <function name='xmlEncodeSpecialChars' file='entities'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4171 | <info>Do a global encoding of a string, replacing the predefined entities this routine is reentrant, and result must be deallocated.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4172 | <return type='xmlChar *' info='A newly allocated string with the substitution done. '/> |
| 4173 | <arg name='doc' type='xmlDocPtr' info='the document containing the string '/> |
| 4174 | <arg name='input' type='const xmlChar *' info='A string to convert to XML. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4175 | </function> |
| 4176 | <typedef name='xmlEntitiesTablePtr' file='entities'/> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 4177 | <struct name='xmlEntity' file='tree'/> |
| 4178 | <typedef name='xmlEntityPtr' file='tree'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4179 | <functype name='xmlEntityReferenceFunc' file='parserInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 4180 | <info>Callback function used when one needs to be able to track back the provenance of a chunk of nodes inherited from an entity replacement.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4181 | <return type='void'/> |
| 4182 | <arg name='ent' type='xmlEntityPtr' info='the entity '/> |
| 4183 | <arg name='firstNode' type='xmlNodePtr' info='the fist node in the chunk '/> |
| 4184 | <arg name='lastNode' type='xmlNodePtr' info='the last nod in the chunk '/> |
| 4185 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4186 | <enum name='xmlEntityType' file='entities'/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 4187 | <struct name='xmlEnumeration' file='tree'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4188 | <typedef name='xmlEnumerationPtr' file='tree'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4189 | <functype name='xmlExternalEntityLoader' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 4190 | <info>External entity loaders types.</info> |
| 4191 | <return type='xmlParserInputPtr' info='the entity input parser. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4192 | <arg name='URL' type='const char *' info='The System ID of the resource requested '/> |
| 4193 | <arg name='ID' type='const char *' info='The Public ID of the resource requested '/> |
| 4194 | <arg name='context' type='xmlParserCtxtPtr' info='the XML parser context '/> |
| 4195 | </functype> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 4196 | <function name='xmlFileClose' file='xmlIO'> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4197 | <info>Close an I/O channel</info> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 4198 | <return type='int'/> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4199 | <arg name='context' type='void *' info='the I/O context '/> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 4200 | </function> |
| 4201 | <function name='xmlFileMatch' file='xmlIO'> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4202 | <info>input from FILE *</info> |
| 4203 | <return type='int' info='1 if matches, 0 otherwise '/> |
| 4204 | <arg name='filename' type='const char *' info='the URI for matching '/> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 4205 | </function> |
| 4206 | <function name='xmlFileOpen' file='xmlIO'> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4207 | <info>input from FILE *, supports compressed input if filename is " " then the standard input is used</info> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 4208 | <return type='void *'/> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4209 | <arg name='filename' type='const char *' info='the URI for matching '/> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 4210 | </function> |
| 4211 | <function name='xmlFileRead' file='xmlIO'> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4212 | <info>Read len bytes to buffer from the I/O channel.</info> |
| 4213 | <return type='int' info='the number of bytes written '/> |
| 4214 | <arg name='context' type='void *' info='the I/O context '/> |
| 4215 | <arg name='buffer' type='char *' info='where to drop data '/> |
| 4216 | <arg name='len' type='int' info='number of bytes to write '/> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 4217 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4218 | <function name='xmlFindCharEncodingHandler' file='encoding'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4219 | <info>Search in the registered set the handler able to read/write that encoding.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4220 | <return type='xmlCharEncodingHandlerPtr' info='the handler or NULL if not found '/> |
| 4221 | <arg name='name' type='const char *' info='a string describing the char encoding. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4222 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4223 | <macro name='xmlFree' file='globals'> |
| 4224 | <info>The variable holding the libxml free() implementation</info> |
| 4225 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4226 | <function name='xmlFreeAttributeTable' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4227 | <info>Deallocate the memory used by an entities hash table.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4228 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4229 | <arg name='table' type='xmlAttributeTablePtr' info='An attribute table '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4230 | </function> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 4231 | <function name='xmlFreeAutomata' file='xmlautomata'> |
| 4232 | <info>Free an automata</info> |
| 4233 | <return type='void'/> |
| 4234 | <arg name='am' type='xmlAutomataPtr' info='an automata '/> |
| 4235 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4236 | <function name='xmlFreeCatalog' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4237 | <info>Free the memory allocated to a Catalog</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4238 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4239 | <arg name='catal' type='xmlCatalogPtr' info='a Catalog entry '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4240 | </function> |
| 4241 | <function name='xmlFreeDoc' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4242 | <info>Free up all the structures used by a document, tree included.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4243 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4244 | <arg name='cur' type='xmlDocPtr' info='pointer to the document '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4245 | </function> |
| 4246 | <function name='xmlFreeDtd' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4247 | <info>Free a DTD structure.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4248 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4249 | <arg name='cur' type='xmlDtdPtr' info='the DTD structure to free up '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4250 | </function> |
| 4251 | <function name='xmlFreeElementContent' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4252 | <info>Free an element content structure. This is a recursive call !</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4253 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4254 | <arg name='cur' type='xmlElementContentPtr' info='the element content tree to free '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4255 | </function> |
| 4256 | <function name='xmlFreeElementTable' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4257 | <info>Deallocate the memory used by an element hash table.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4258 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4259 | <arg name='table' type='xmlElementTablePtr' info='An element table '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4260 | </function> |
| 4261 | <function name='xmlFreeEntitiesTable' file='entities'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4262 | <info>Deallocate the memory used by an entities hash table.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4263 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4264 | <arg name='table' type='xmlEntitiesTablePtr' info='An entity table '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4265 | </function> |
| 4266 | <function name='xmlFreeEnumeration' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4267 | <info>free an enumeration attribute node (recursive).</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4268 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4269 | <arg name='cur' type='xmlEnumerationPtr' info='the tree to free. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4270 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4271 | <functype name='xmlFreeFunc' file='xmlmemory'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 4272 | <info>Signature for a free() implementation.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4273 | <return type='void'/> |
| 4274 | <arg name='mem' type='void *' info='an already allocated block of memory '/> |
| 4275 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4276 | <function name='xmlFreeIDTable' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4277 | <info>Deallocate the memory used by an ID hash table.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4278 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4279 | <arg name='table' type='xmlIDTablePtr' info='An id table '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4280 | </function> |
| 4281 | <function name='xmlFreeInputStream' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4282 | <info>Free up an input stream.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4283 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4284 | <arg name='input' type='xmlParserInputPtr' info='an xmlParserInputPtr '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4285 | </function> |
| 4286 | <function name='xmlFreeMutex' file='threads'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4287 | <info>xmlFreeMutex() is used to reclaim resources associated with a libxml2 token struct.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4288 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4289 | <arg name='tok' type='xmlMutexPtr' info='the simple mutex '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4290 | </function> |
| 4291 | <function name='xmlFreeNode' file='tree'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4292 | <info>Free a node, this is a recursive behaviour, all the children are freed too. This doesn't unlink the child from the list, use xmlUnlinkNode() first.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4293 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4294 | <arg name='cur' type='xmlNodePtr' info='the node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4295 | </function> |
| 4296 | <function name='xmlFreeNodeList' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4297 | <info>Free a node and all its siblings, this is a recursive behaviour, all the children are freed too.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4298 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4299 | <arg name='cur' type='xmlNodePtr' info='the first node in the list '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4300 | </function> |
| 4301 | <function name='xmlFreeNotationTable' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4302 | <info>Deallocate the memory used by an entities hash table.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4303 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4304 | <arg name='table' type='xmlNotationTablePtr' info='An notation table '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4305 | </function> |
| 4306 | <function name='xmlFreeNs' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4307 | <info>Free up the structures associated to a namespace</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4308 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4309 | <arg name='cur' type='xmlNsPtr' info='the namespace pointer '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4310 | </function> |
| 4311 | <function name='xmlFreeNsList' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4312 | <info>Free up all the structures associated to the chained namespaces.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4313 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4314 | <arg name='cur' type='xmlNsPtr' info='the first namespace pointer '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4315 | </function> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 4316 | <function name='xmlFreeParserCtxt' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4317 | <info>Free all the memory used by a parser context. However the parsed document in ctxt->myDoc is not freed.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4318 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4319 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4320 | </function> |
| 4321 | <function name='xmlFreeParserInputBuffer' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4322 | <info>Free up the memory used by a buffered parser input</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4323 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4324 | <arg name='in' type='xmlParserInputBufferPtr' info='a buffered parser input '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4325 | </function> |
| 4326 | <function name='xmlFreeProp' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4327 | <info>Free one attribute, all the content is freed too</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4328 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4329 | <arg name='cur' type='xmlAttrPtr' info='an attribute '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4330 | </function> |
| 4331 | <function name='xmlFreePropList' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4332 | <info>Free a property and all its siblings, all the children are freed too.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4333 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4334 | <arg name='cur' type='xmlAttrPtr' info='the first property in the list '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4335 | </function> |
| 4336 | <function name='xmlFreeRMutex' file='threads'> |
| 4337 | <return type='void'/> |
| 4338 | <arg name='tok' type='xmlRMutexPtr'/> |
| 4339 | </function> |
| 4340 | <function name='xmlFreeRefTable' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4341 | <info>Deallocate the memory used by an Ref hash table.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4342 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4343 | <arg name='table' type='xmlRefTablePtr' info='An ref table '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4344 | </function> |
| 4345 | <function name='xmlFreeURI' file='uri'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4346 | <info>Free up the xmlURI struct</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4347 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4348 | <arg name='uri' type='xmlURIPtr' info='pointer to an xmlURI '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4349 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4350 | <macro name='xmlGenericError' file='globals'> |
| 4351 | <info>Global setting: function used for generic error callbacks</info> |
| 4352 | </macro> |
| 4353 | <macro name='xmlGenericErrorContext' file='globals'> |
| 4354 | <info>Global setting passed to generic error callbacks</info> |
| 4355 | </macro> |
| 4356 | <functype name='xmlGenericErrorFunc' file='xmlerror'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 4357 | <info>Signature of the function to use when there is an error and no parsing or validity context available .</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4358 | <return type='void'/> |
| 4359 | <arg name='ctx' type='void *' info='a parsing context '/> |
| 4360 | <arg name='msg' type='const char *' info='the message '/> |
| 4361 | <arg name='' type='...'/> |
| 4362 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4363 | <function name='xmlGetBufferAllocationScheme' file='tree'> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 4364 | <info>Types are XML_BUFFER_ALLOC_EXACT - use exact sizes, keeps memory usage down XML_BUFFER_ALLOC_DOUBLEIT - double buffer when extra needed, improves performance</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4365 | <return type='xmlBufferAllocationScheme' info='the current allocation scheme '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4366 | </function> |
| 4367 | <function name='xmlGetCharEncodingHandler' file='encoding'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4368 | <info>Search in the registered set the handler able to read/write that encoding.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4369 | <return type='xmlCharEncodingHandlerPtr' info='the handler or NULL if not found '/> |
| 4370 | <arg name='enc' type='xmlCharEncoding' info='an xmlCharEncoding value. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4371 | </function> |
| 4372 | <function name='xmlGetCharEncodingName' file='encoding'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4373 | <info>The "canonical" name for XML encoding. C.f. http://www.w3.org/TR/REC-xmlcharencoding Section 4.3.3 Character Encoding in Entities</info> |
| 4374 | <return type='const char *' info='the canonical name for the given encoding '/> |
| 4375 | <arg name='enc' type='xmlCharEncoding' info='the encoding '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4376 | </function> |
| 4377 | <function name='xmlGetCompressMode' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4378 | <info>get the default compression mode used, ZLIB based.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4379 | <return type='int' info='0 (uncompressed) to 9 (max compression) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4380 | </function> |
| 4381 | <function name='xmlGetDocCompressMode' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4382 | <info>get the compression ratio for a document, ZLIB based</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4383 | <return type='int' info='0 (uncompressed) to 9 (max compression) '/> |
| 4384 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4385 | </function> |
| 4386 | <function name='xmlGetDocEntity' file='entities'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4387 | <info>Do an entity lookup in the document entity hash table and returns the corresponding entity, otherwise a lookup is done in the predefined entities too.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4388 | <return type='xmlEntityPtr' info='A pointer to the entity structure or NULL if not found. '/> |
| 4389 | <arg name='doc' type='xmlDocPtr' info='the document referencing the entity '/> |
| 4390 | <arg name='name' type='const xmlChar *' info='the entity name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4391 | </function> |
| 4392 | <function name='xmlGetDtdAttrDesc' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4393 | <info>Search the DTD for the description of this attribute on this element.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4394 | <return type='xmlAttributePtr' info='the xmlAttributePtr if found or NULL '/> |
| 4395 | <arg name='dtd' type='xmlDtdPtr' info='a pointer to the DtD to search '/> |
| 4396 | <arg name='elem' type='const xmlChar *' info='the element name '/> |
| 4397 | <arg name='name' type='const xmlChar *' info='the attribute name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4398 | </function> |
| 4399 | <function name='xmlGetDtdElementDesc' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4400 | <info>Search the DTD for the description of this element</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4401 | <return type='xmlElementPtr' info='the xmlElementPtr if found or NULL '/> |
| 4402 | <arg name='dtd' type='xmlDtdPtr' info='a pointer to the DtD to search '/> |
| 4403 | <arg name='name' type='const xmlChar *' info='the element name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4404 | </function> |
| 4405 | <function name='xmlGetDtdEntity' file='entities'> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 4406 | <info>Do an entity lookup in the DTD entity hash table and returns the corresponding entity, if found. Note: the first argument is the document node, not the DTD node.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4407 | <return type='xmlEntityPtr' info='A pointer to the entity structure or NULL if not found. '/> |
| 4408 | <arg name='doc' type='xmlDocPtr' info='the document referencing the entity '/> |
| 4409 | <arg name='name' type='const xmlChar *' info='the entity name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4410 | </function> |
| 4411 | <function name='xmlGetDtdNotationDesc' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4412 | <info>Search the DTD for the description of this notation</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4413 | <return type='xmlNotationPtr' info='the xmlNotationPtr if found or NULL '/> |
| 4414 | <arg name='dtd' type='xmlDtdPtr' info='a pointer to the DtD to search '/> |
| 4415 | <arg name='name' type='const xmlChar *' info='the notation name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4416 | </function> |
| 4417 | <function name='xmlGetDtdQAttrDesc' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4418 | <info>Search the DTD for the description of this qualified attribute on this element.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4419 | <return type='xmlAttributePtr' info='the xmlAttributePtr if found or NULL '/> |
| 4420 | <arg name='dtd' type='xmlDtdPtr' info='a pointer to the DtD to search '/> |
| 4421 | <arg name='elem' type='const xmlChar *' info='the element name '/> |
| 4422 | <arg name='name' type='const xmlChar *' info='the attribute name '/> |
| 4423 | <arg name='prefix' type='const xmlChar *' info='the attribute namespace prefix '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4424 | </function> |
| 4425 | <function name='xmlGetDtdQElementDesc' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4426 | <info>Search the DTD for the description of this element</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4427 | <return type='xmlElementPtr' info='the xmlElementPtr if found or NULL '/> |
| 4428 | <arg name='dtd' type='xmlDtdPtr' info='a pointer to the DtD to search '/> |
| 4429 | <arg name='name' type='const xmlChar *' info='the element name '/> |
| 4430 | <arg name='prefix' type='const xmlChar *' info='the element namespace prefix '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4431 | </function> |
| 4432 | <function name='xmlGetEncodingAlias' file='encoding'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4433 | <info>Lookup an encoding name for the given alias.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4434 | <return type='const char *' info='NULL if not found the original name otherwise '/> |
| 4435 | <arg name='alias' type='const char *' info='the alias name as parsed, in UTF-8 format (ASCII actually) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4436 | </function> |
| 4437 | <function name='xmlGetExternalEntityLoader' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4438 | <info>Get the default external entity resolver function for the application</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4439 | <return type='xmlExternalEntityLoader' info='the xmlExternalEntityLoader function pointer '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4440 | </function> |
| 4441 | <function name='xmlGetFeature' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4442 | <info>Read the current value of one feature of this parser instance</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4443 | <return type='int' info='-1 in case or error, 0 otherwise '/> |
| 4444 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML/HTML parser context '/> |
| 4445 | <arg name='name' type='const char *' info='the feature name '/> |
| 4446 | <arg name='result' type='void *' info='location to store the result '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4447 | </function> |
| 4448 | <function name='xmlGetFeaturesList' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4449 | <info>Copy at most *len feature names into the result array</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4450 | <return type='int' info='-1 in case or error, or the total number of features, len is updated with the number of strings copied, strings must not be deallocated '/> |
| 4451 | <arg name='len' type='int *' info='the length of the features name array (input/output) '/> |
| 4452 | <arg name='result' type='const char **' info='an array of string to be filled with the features name. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4453 | </function> |
| 4454 | <function name='xmlGetGlobalState' file='threads'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4455 | <info>xmlGetGlobalState() is called to retrieve the global state for a thread.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4456 | <return type='xmlGlobalStatePtr' info='the thread global state or NULL in case of error '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4457 | </function> |
| 4458 | <function name='xmlGetID' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4459 | <info>Search the attribute declaring the given ID</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4460 | <return type='xmlAttrPtr' info='NULL if not found, otherwise the xmlAttrPtr defining the ID '/> |
| 4461 | <arg name='doc' type='xmlDocPtr' info='pointer to the document '/> |
| 4462 | <arg name='ID' type='const xmlChar *' info='the ID value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4463 | </function> |
| 4464 | <function name='xmlGetIntSubset' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4465 | <info>Get the internal subset of a document</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4466 | <return type='xmlDtdPtr' info='a pointer to the DTD structure or NULL if not found '/> |
| 4467 | <arg name='doc' type='xmlDocPtr' info='the document pointer '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4468 | </function> |
| 4469 | <function name='xmlGetLastChild' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4470 | <info>Search the last child of a node.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4471 | <return type='xmlNodePtr' info='the last child or NULL if none. '/> |
| 4472 | <arg name='parent' type='xmlNodePtr' info='the parent node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4473 | </function> |
| 4474 | <function name='xmlGetLineNo' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4475 | <info>Get line number of node. this requires activation of this option before invoking the parser by calling xmlLineNumbersDefault(1)</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4476 | <return type='long' info='the line number if successful, -1 otherwise '/> |
| 4477 | <arg name='node' type='xmlNodePtr' info='valid node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4478 | </function> |
| 4479 | <function name='xmlGetNodePath' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4480 | <info>Build a structure based Path for the given node</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4481 | <return type='xmlChar *' info='the new path or NULL in case of error. The caller must free the returned string '/> |
| 4482 | <arg name='node' type='xmlNodePtr' info='a node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4483 | </function> |
| 4484 | <function name='xmlGetNsList' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4485 | <info>Search all the namespace applying to a given element.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4486 | <return type='xmlNsPtr *' info='an NULL terminated array of all the xmlNsPtr found that need to be freed by the caller or NULL if no namespace if defined '/> |
| 4487 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 4488 | <arg name='node' type='xmlNodePtr' info='the current node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4489 | </function> |
| 4490 | <function name='xmlGetNsProp' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4491 | <info>Search and get the value of an attribute associated to a node This attribute has to be anchored in the namespace specified. This does the entity substitution. This function looks in DTD attribute declaration for FIXED or default declaration values unless DTD use has been turned off.</info> |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame] | 4492 | <return type='xmlChar *' info='the attribute value or NULL if not found. It's up to the caller to free the memory with xmlFree(). '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4493 | <arg name='node' type='xmlNodePtr' info='the node '/> |
| 4494 | <arg name='name' type='const xmlChar *' info='the attribute name '/> |
| 4495 | <arg name='nameSpace' type='const xmlChar *' info='the URI of the namespace '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4496 | </function> |
| 4497 | <function name='xmlGetParameterEntity' file='entities'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4498 | <info>Do an entity lookup in the internal and external subsets and returns the corresponding parameter entity, if found.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4499 | <return type='xmlEntityPtr' info='A pointer to the entity structure or NULL if not found. '/> |
| 4500 | <arg name='doc' type='xmlDocPtr' info='the document referencing the entity '/> |
| 4501 | <arg name='name' type='const xmlChar *' info='the entity name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4502 | </function> |
| 4503 | <function name='xmlGetPredefinedEntity' file='entities'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4504 | <info>Check whether this name is an predefined entity.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4505 | <return type='xmlEntityPtr' info='NULL if not, otherwise the entity '/> |
| 4506 | <arg name='name' type='const xmlChar *' info='the entity name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4507 | </function> |
| 4508 | <function name='xmlGetProp' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4509 | <info>Search and get the value of an attribute associated to a node This does the entity substitution. This function looks in DTD attribute declaration for FIXED or default declaration values unless DTD use has been turned off.</info> |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame] | 4510 | <return type='xmlChar *' info='the attribute value or NULL if not found. It's up to the caller to free the memory with xmlFree(). '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4511 | <arg name='node' type='xmlNodePtr' info='the node '/> |
| 4512 | <arg name='name' type='const xmlChar *' info='the attribute name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4513 | </function> |
| 4514 | <function name='xmlGetRefs' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4515 | <info>Find the set of references for the supplied ID.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4516 | <return type='xmlListPtr' info='NULL if not found, otherwise node set for the ID. '/> |
| 4517 | <arg name='doc' type='xmlDocPtr' info='pointer to the document '/> |
| 4518 | <arg name='ID' type='const xmlChar *' info='the ID value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4519 | </function> |
| 4520 | <function name='xmlGetThreadId' file='threads'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4521 | <info>xmlGetThreadId() find the current thread ID number</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4522 | <return type='int' info='the current thread ID number '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4523 | </function> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 4524 | <function name='xmlGetUTF8Char' file='encoding'> |
| 4525 | <info>Read one UTF8 Char from utf</info> |
| 4526 | <return type='int' info='the char value or -1 in case of error and update len with the number of bytes used '/> |
| 4527 | <arg name='utf' type='const unsigned char *' info='a sequence of UTF-8 encoded bytes '/> |
| 4528 | <arg name='len' type='int *' info='a pointer to bytes len '/> |
| 4529 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4530 | <macro name='xmlGetWarningsDefaultValue' file='globals'> |
| 4531 | <info>Global setting, indicate that the parser should provide warnings. Activated by default.</info> |
| 4532 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4533 | <struct name='xmlGlobalState' file='globals'/> |
| 4534 | <typedef name='xmlGlobalStatePtr' file='globals'/> |
| 4535 | <function name='xmlHandleEntity' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 4536 | <info>Default handling of defined entities, when should we define a new input stream ? When do we just handle that as a set of chars ? OBSOLETE: to be removed at some point.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4537 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4538 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 4539 | <arg name='entity' type='xmlEntityPtr' info='an XML entity pointer. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4540 | </function> |
| 4541 | <function name='xmlHasNsProp' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4542 | <info>Search for an attribute associated to a node This attribute has to be anchored in the namespace specified. This does the entity substitution. This function looks in DTD attribute declaration for FIXED or default declaration values unless DTD use has been turned off.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4543 | <return type='xmlAttrPtr' info='the attribute or the attribute declaration or NULL if neither was found. '/> |
| 4544 | <arg name='node' type='xmlNodePtr' info='the node '/> |
| 4545 | <arg name='name' type='const xmlChar *' info='the attribute name '/> |
| 4546 | <arg name='nameSpace' type='const xmlChar *' info='the URI of the namespace '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4547 | </function> |
| 4548 | <function name='xmlHasProp' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4549 | <info>Search an attribute associated to a node This function also looks in DTD attribute declaration for FIXED or default declaration values unless DTD use has been turned off.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4550 | <return type='xmlAttrPtr' info='the attribute or the attribute declaration or NULL if neither was found. '/> |
| 4551 | <arg name='node' type='xmlNodePtr' info='the node '/> |
| 4552 | <arg name='name' type='const xmlChar *' info='the attribute name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4553 | </function> |
| 4554 | <function name='xmlHashAddEntry' file='hash'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4555 | <info>Add the userdata to the hash table. This can later be retrieved by using the name. Duplicate names generate errors.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4556 | <return type='int' info='0 the addition succeeded and -1 in case of error. '/> |
| 4557 | <arg name='table' type='xmlHashTablePtr' info='the hash table '/> |
| 4558 | <arg name='name' type='const xmlChar *' info='the name of the userdata '/> |
| 4559 | <arg name='userdata' type='void *' info='a pointer to the userdata '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4560 | </function> |
| 4561 | <function name='xmlHashAddEntry2' file='hash'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4562 | <info>Add the userdata to the hash table. This can later be retrieved by using the (name, name2) tuple. Duplicate tuples generate errors.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4563 | <return type='int' info='0 the addition succeeded and -1 in case of error. '/> |
| 4564 | <arg name='table' type='xmlHashTablePtr' info='the hash table '/> |
| 4565 | <arg name='name' type='const xmlChar *' info='the name of the userdata '/> |
| 4566 | <arg name='name2' type='const xmlChar *' info='a second name of the userdata '/> |
| 4567 | <arg name='userdata' type='void *' info='a pointer to the userdata '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4568 | </function> |
| 4569 | <function name='xmlHashAddEntry3' file='hash'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4570 | <info>Add the userdata to the hash table. This can later be retrieved by using the tuple (name, name2, name3). Duplicate entries generate errors.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4571 | <return type='int' info='0 the addition succeeded and -1 in case of error. '/> |
| 4572 | <arg name='table' type='xmlHashTablePtr' info='the hash table '/> |
| 4573 | <arg name='name' type='const xmlChar *' info='the name of the userdata '/> |
| 4574 | <arg name='name2' type='const xmlChar *' info='a second name of the userdata '/> |
| 4575 | <arg name='name3' type='const xmlChar *' info='a third name of the userdata '/> |
| 4576 | <arg name='userdata' type='void *' info='a pointer to the userdata '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4577 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4578 | <functype name='xmlHashCopier' file='hash'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 4579 | <info>Callback to copy data from a hash.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4580 | <return type='void *'/> |
| 4581 | <arg name='payload' type='void *' info='the data in the hash '/> |
| 4582 | <arg name='name' type='xmlChar *' info='the name associated '/> |
| 4583 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4584 | <function name='xmlHashCopy' file='hash'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4585 | <info>Scan the hash table and applied f to each value.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4586 | <return type='xmlHashTablePtr' info='the new table or NULL in case of error. '/> |
| 4587 | <arg name='table' type='xmlHashTablePtr' info='the hash table '/> |
| 4588 | <arg name='f' type='xmlHashCopier' info='the copier function for items in the hash '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4589 | </function> |
| 4590 | <function name='xmlHashCreate' file='hash'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4591 | <info>Create a new xmlHashTablePtr.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4592 | <return type='xmlHashTablePtr' info='the newly created object, or NULL if an error occured. '/> |
| 4593 | <arg name='size' type='int' info='the size of the hash table '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4594 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4595 | <functype name='xmlHashDeallocator' file='hash'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 4596 | <info>Callback to free data from a hash.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4597 | <return type='void'/> |
| 4598 | <arg name='payload' type='void *' info='the data in the hash '/> |
| 4599 | <arg name='name' type='xmlChar *' info='the name associated '/> |
| 4600 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4601 | <function name='xmlHashFree' file='hash'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4602 | <info>Free the hash table and its contents. The userdata is deallocated with f if provided.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4603 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4604 | <arg name='table' type='xmlHashTablePtr' info='the hash table '/> |
| 4605 | <arg name='f' type='xmlHashDeallocator' info='the deallocator function for items in the hash '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4606 | </function> |
| 4607 | <function name='xmlHashLookup' file='hash'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4608 | <info>Find the userdata specified by the name.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4609 | <return type='void *'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4610 | <arg name='table' type='xmlHashTablePtr' info='the hash table '/> |
| 4611 | <arg name='name' type='const xmlChar *' info='the name of the userdata '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4612 | </function> |
| 4613 | <function name='xmlHashLookup2' file='hash'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4614 | <info>Find the userdata specified by the (name, name2) tuple.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4615 | <return type='void *'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4616 | <arg name='table' type='xmlHashTablePtr' info='the hash table '/> |
| 4617 | <arg name='name' type='const xmlChar *' info='the name of the userdata '/> |
| 4618 | <arg name='name2' type='const xmlChar *' info='a second name of the userdata '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4619 | </function> |
| 4620 | <function name='xmlHashLookup3' file='hash'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4621 | <info>Find the userdata specified by the (name, name2, name3) tuple.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4622 | <return type='void *'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4623 | <arg name='table' type='xmlHashTablePtr' info='the hash table '/> |
| 4624 | <arg name='name' type='const xmlChar *' info='the name of the userdata '/> |
| 4625 | <arg name='name2' type='const xmlChar *' info='a second name of the userdata '/> |
| 4626 | <arg name='name3' type='const xmlChar *' info='a third name of the userdata '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4627 | </function> |
| 4628 | <function name='xmlHashRemoveEntry' file='hash'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4629 | <info>Find the userdata specified by the name and remove it from the hash table. Existing userdata for this tuple will be removed and freed with f.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4630 | <return type='int' info='0 if the removal succeeded and -1 in case of error or not found. '/> |
| 4631 | <arg name='table' type='xmlHashTablePtr' info='the hash table '/> |
| 4632 | <arg name='name' type='const xmlChar *' info='the name of the userdata '/> |
| 4633 | <arg name='f' type='xmlHashDeallocator' info='the deallocator function for removed item (if any) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4634 | </function> |
| 4635 | <function name='xmlHashRemoveEntry2' file='hash'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4636 | <info>Find the userdata specified by the (name, name2) tuple and remove it from the hash table. Existing userdata for this tuple will be removed and freed with f.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4637 | <return type='int' info='0 if the removal succeeded and -1 in case of error or not found. '/> |
| 4638 | <arg name='table' type='xmlHashTablePtr' info='the hash table '/> |
| 4639 | <arg name='name' type='const xmlChar *' info='the name of the userdata '/> |
| 4640 | <arg name='name2' type='const xmlChar *' info='a second name of the userdata '/> |
| 4641 | <arg name='f' type='xmlHashDeallocator' info='the deallocator function for removed item (if any) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4642 | </function> |
| 4643 | <function name='xmlHashRemoveEntry3' file='hash'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4644 | <info>Find the userdata specified by the (name, name2, name3) tuple and remove it from the hash table. Existing userdata for this tuple will be removed and freed with f.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4645 | <return type='int' info='0 if the removal succeeded and -1 in case of error or not found. '/> |
| 4646 | <arg name='table' type='xmlHashTablePtr' info='the hash table '/> |
| 4647 | <arg name='name' type='const xmlChar *' info='the name of the userdata '/> |
| 4648 | <arg name='name2' type='const xmlChar *' info='a second name of the userdata '/> |
| 4649 | <arg name='name3' type='const xmlChar *' info='a third name of the userdata '/> |
| 4650 | <arg name='f' type='xmlHashDeallocator' info='the deallocator function for removed item (if any) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4651 | </function> |
| 4652 | <function name='xmlHashScan' file='hash'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4653 | <info>Scan the hash table and applied f to each value.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4654 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4655 | <arg name='table' type='xmlHashTablePtr' info='the hash table '/> |
| 4656 | <arg name='f' type='xmlHashScanner' info='the scanner function for items in the hash '/> |
| 4657 | <arg name='data' type='void *' info='extra data passed to f '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4658 | </function> |
| 4659 | <function name='xmlHashScan3' file='hash'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4660 | <info>Scan the hash table and applied f to each value matching (name, name2, name3) tuple. If one of the names is null, the comparison is considered to match.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4661 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4662 | <arg name='table' type='xmlHashTablePtr' info='the hash table '/> |
| 4663 | <arg name='name' type='const xmlChar *' info='the name of the userdata or NULL '/> |
| 4664 | <arg name='name2' type='const xmlChar *' info='a second name of the userdata or NULL '/> |
| 4665 | <arg name='name3' type='const xmlChar *' info='a third name of the userdata or NULL '/> |
| 4666 | <arg name='f' type='xmlHashScanner' info='the scanner function for items in the hash '/> |
| 4667 | <arg name='data' type='void *' info='extra data passed to f '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4668 | </function> |
| 4669 | <function name='xmlHashScanFull' file='hash'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4670 | <info>Scan the hash table and applied f to each value.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4671 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4672 | <arg name='table' type='xmlHashTablePtr' info='the hash table '/> |
| 4673 | <arg name='f' type='xmlHashScannerFull' info='the scanner function for items in the hash '/> |
| 4674 | <arg name='data' type='void *' info='extra data passed to f '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4675 | </function> |
| 4676 | <function name='xmlHashScanFull3' file='hash'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4677 | <info>Scan the hash table and applied f to each value matching (name, name2, name3) tuple. If one of the names is null, the comparison is considered to match.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4678 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4679 | <arg name='table' type='xmlHashTablePtr' info='the hash table '/> |
| 4680 | <arg name='name' type='const xmlChar *' info='the name of the userdata or NULL '/> |
| 4681 | <arg name='name2' type='const xmlChar *' info='a second name of the userdata or NULL '/> |
| 4682 | <arg name='name3' type='const xmlChar *' info='a third name of the userdata or NULL '/> |
| 4683 | <arg name='f' type='xmlHashScannerFull' info='the scanner function for items in the hash '/> |
| 4684 | <arg name='data' type='void *' info='extra data passed to f '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4685 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4686 | <functype name='xmlHashScanner' file='hash'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 4687 | <info>Callback when scanning data in a hash with the simple scanner.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4688 | <return type='void'/> |
| 4689 | <arg name='payload' type='void *' info='the data in the hash '/> |
| 4690 | <arg name='data' type='void *' info='extra scannner data '/> |
| 4691 | <arg name='name' type='xmlChar *' info='the name associated '/> |
| 4692 | </functype> |
| 4693 | <functype name='xmlHashScannerFull' file='hash'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 4694 | <info>Callback when scanning data in a hash with the full scanner.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4695 | <return type='void'/> |
| 4696 | <arg name='payload' type='void *' info='the data in the hash '/> |
| 4697 | <arg name='data' type='void *' info='extra scannner data '/> |
| 4698 | <arg name='name' type='const xmlChar *' info='the name associated '/> |
| 4699 | <arg name='name2' type='const xmlChar *' info='the second name associated '/> |
| 4700 | <arg name='name3' type='const xmlChar *' info='the third name associated '/> |
| 4701 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4702 | <function name='xmlHashSize' file='hash'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4703 | <info>Query the number of elements installed in the hash table.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4704 | <return type='int' info='the number of elements in the hash table or -1 in case of error '/> |
| 4705 | <arg name='table' type='xmlHashTablePtr' info='the hash table '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4706 | </function> |
| 4707 | <struct name='xmlHashTable' file='hash'/> |
| 4708 | <typedef name='xmlHashTablePtr' file='hash'/> |
| 4709 | <function name='xmlHashUpdateEntry' file='hash'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4710 | <info>Add the userdata to the hash table. This can later be retrieved by using the name. Existing entry for this name will be removed and freed with f if found.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4711 | <return type='int' info='0 the addition succeeded and -1 in case of error. '/> |
| 4712 | <arg name='table' type='xmlHashTablePtr' info='the hash table '/> |
| 4713 | <arg name='name' type='const xmlChar *' info='the name of the userdata '/> |
| 4714 | <arg name='userdata' type='void *' info='a pointer to the userdata '/> |
| 4715 | <arg name='f' type='xmlHashDeallocator' info='the deallocator function for replaced item (if any) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4716 | </function> |
| 4717 | <function name='xmlHashUpdateEntry2' file='hash'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4718 | <info>Add the userdata to the hash table. This can later be retrieved by using the (name, name2) tuple. Existing entry for this tuple will be removed and freed with f if found.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4719 | <return type='int' info='0 the addition succeeded and -1 in case of error. '/> |
| 4720 | <arg name='table' type='xmlHashTablePtr' info='the hash table '/> |
| 4721 | <arg name='name' type='const xmlChar *' info='the name of the userdata '/> |
| 4722 | <arg name='name2' type='const xmlChar *' info='a second name of the userdata '/> |
| 4723 | <arg name='userdata' type='void *' info='a pointer to the userdata '/> |
| 4724 | <arg name='f' type='xmlHashDeallocator' info='the deallocator function for replaced item (if any) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4725 | </function> |
| 4726 | <function name='xmlHashUpdateEntry3' file='hash'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4727 | <info>Add the userdata to the hash table. This can later be retrieved by using the tuple (name, name2, name3). Existing entry for this tuple will be removed and freed with f if found.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4728 | <return type='int' info='0 the addition succeeded and -1 in case of error. '/> |
| 4729 | <arg name='table' type='xmlHashTablePtr' info='the hash table '/> |
| 4730 | <arg name='name' type='const xmlChar *' info='the name of the userdata '/> |
| 4731 | <arg name='name2' type='const xmlChar *' info='a second name of the userdata '/> |
| 4732 | <arg name='name3' type='const xmlChar *' info='a third name of the userdata '/> |
| 4733 | <arg name='userdata' type='void *' info='a pointer to the userdata '/> |
| 4734 | <arg name='f' type='xmlHashDeallocator' info='the deallocator function for replaced item (if any) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4735 | </function> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 4736 | <struct name='xmlID' file='tree'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4737 | <typedef name='xmlIDPtr' file='tree'/> |
| 4738 | <typedef name='xmlIDTablePtr' file='valid'/> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 4739 | <function name='xmlIOFTPClose' file='xmlIO'> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4740 | <info>Close an FTP I/O channel</info> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 4741 | <return type='int'/> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4742 | <arg name='context' type='void *' info='the I/O context '/> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 4743 | </function> |
| 4744 | <function name='xmlIOFTPMatch' file='xmlIO'> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4745 | <info>check if the URI matches an FTP one</info> |
| 4746 | <return type='int' info='1 if matches, 0 otherwise '/> |
| 4747 | <arg name='filename' type='const char *' info='the URI for matching '/> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 4748 | </function> |
| 4749 | <function name='xmlIOFTPOpen' file='xmlIO'> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4750 | <info>open an FTP I/O channel</info> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 4751 | <return type='void *'/> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4752 | <arg name='filename' type='const char *' info='the URI for matching '/> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 4753 | </function> |
| 4754 | <function name='xmlIOFTPRead' file='xmlIO'> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4755 | <info>Read len bytes to buffer from the I/O channel.</info> |
| 4756 | <return type='int' info='the number of bytes written '/> |
| 4757 | <arg name='context' type='void *' info='the I/O context '/> |
| 4758 | <arg name='buffer' type='char *' info='where to drop data '/> |
| 4759 | <arg name='len' type='int' info='number of bytes to write '/> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 4760 | </function> |
| 4761 | <function name='xmlIOHTTPClose' file='xmlIO'> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4762 | <info>Close an HTTP I/O channel</info> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 4763 | <return type='int'/> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4764 | <arg name='context' type='void *' info='the I/O context '/> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 4765 | </function> |
| 4766 | <function name='xmlIOHTTPMatch' file='xmlIO'> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4767 | <info>check if the URI matches an HTTP one</info> |
| 4768 | <return type='int' info='1 if matches, 0 otherwise '/> |
| 4769 | <arg name='filename' type='const char *' info='the URI for matching '/> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 4770 | </function> |
| 4771 | <function name='xmlIOHTTPOpen' file='xmlIO'> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4772 | <info>open an HTTP I/O channel</info> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 4773 | <return type='void *'/> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4774 | <arg name='filename' type='const char *' info='the URI for matching '/> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 4775 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4776 | <function name='xmlIOHTTPOpenW' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4777 | <info>Open a temporary buffer to collect the document for a subsequent HTTP POST request. Non-static as is called from the output buffer creation routine.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4778 | <return type='void *'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4779 | <arg name='post_uri' type='const char *' info='The destination URI for the document '/> |
| 4780 | <arg name='compression' type='int' info='The compression desired for the document. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4781 | </function> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 4782 | <function name='xmlIOHTTPRead' file='xmlIO'> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 4783 | <info>Read len bytes to buffer from the I/O channel.</info> |
| 4784 | <return type='int' info='the number of bytes written '/> |
| 4785 | <arg name='context' type='void *' info='the I/O context '/> |
| 4786 | <arg name='buffer' type='char *' info='where to drop data '/> |
| 4787 | <arg name='len' type='int' info='number of bytes to write '/> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 4788 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4789 | <function name='xmlIOParseDTD' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4790 | <info>Load and parse a DTD</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 4791 | <return type='xmlDtdPtr' info='the resulting xmlDtdPtr or NULL in case of error. input will be freed at parsing end. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4792 | <arg name='sax' type='xmlSAXHandlerPtr' info='the SAX handler block or NULL '/> |
| 4793 | <arg name='input' type='xmlParserInputBufferPtr' info='an Input Buffer '/> |
| 4794 | <arg name='enc' type='xmlCharEncoding' info='the charset encoding if known '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4795 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4796 | <macro name='xmlIndentTreeOutput' file='globals'> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 4797 | <info>Global setting, asking the serializer to indent the output tree by default Enabled by default</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4798 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4799 | <function name='xmlInitCharEncodingHandlers' file='encoding'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4800 | <info>Initialize the char encoding support, it registers the default encoding supported. NOTE: while public, this function usually doesn't need to be called in normal processing.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4801 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4802 | </function> |
| 4803 | <function name='xmlInitMemory' file='xmlmemory'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4804 | <info>Initialize the memory layer.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4805 | <return type='int' info='0 on success '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4806 | </function> |
| 4807 | <function name='xmlInitNodeInfoSeq' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4808 | <info>-- Initialize (set to initial state) node info sequence</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4809 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4810 | <arg name='seq' type='xmlParserNodeInfoSeqPtr' info='a node info sequence pointer '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4811 | </function> |
| 4812 | <function name='xmlInitParser' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4813 | <info>Initialization function for the XML parser. This is not reentrant. Call once before processing in case of use in multithreaded programs.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4814 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4815 | </function> |
| 4816 | <function name='xmlInitParserCtxt' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4817 | <info>Initialize a parser context</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4818 | <return type='void'/> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 4819 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an HTML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4820 | </function> |
| 4821 | <function name='xmlInitThreads' file='threads'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4822 | <info>xmlInitThreads() is used to to initialize all the thread related data of the libxml2 library.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4823 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4824 | </function> |
| 4825 | <function name='xmlInitializeCatalog' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4826 | <info>Do the catalog initialization. this function is not thread safe, catalog initialization should preferably be done once at startup</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4827 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4828 | </function> |
| 4829 | <function name='xmlInitializeGlobalState' file='globals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4830 | <info>xmlInitializeGlobalState() initialize a global state with all the default values of the library.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4831 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4832 | <arg name='gs' type='xmlGlobalStatePtr' info='a pointer to a newly allocated global state '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4833 | </function> |
| 4834 | <function name='xmlInitializePredefinedEntities' file='entities'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4835 | <info>Set up the predefined entities.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4836 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4837 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4838 | <functype name='xmlInputCloseCallback' file='xmlIO'> |
| 4839 | <info>Callback used in the I/O Input API to close the resource</info> |
| 4840 | <return type='int' info='0 or -1 in case of error '/> |
| 4841 | <arg name='context' type='void *' info='an Input context '/> |
| 4842 | </functype> |
| 4843 | <functype name='xmlInputMatchCallback' file='xmlIO'> |
| 4844 | <info>Callback used in the I/O Input API to detect if the current handler can provide input fonctionnalities for this resource.</info> |
| 4845 | <return type='int' info='1 if yes and 0 if another Input module should be used '/> |
| 4846 | <arg name='filename' type='char const *' info='the filename or URI '/> |
| 4847 | </functype> |
| 4848 | <functype name='xmlInputOpenCallback' file='xmlIO'> |
| 4849 | <info>Callback used in the I/O Input API to open the resource</info> |
| 4850 | <return type='void *'/> |
| 4851 | <arg name='filename' type='char const *' info='the filename or URI '/> |
| 4852 | </functype> |
| 4853 | <functype name='xmlInputReadCallback' file='xmlIO'> |
| 4854 | <info>Callback used in the I/O Input API to read the resource</info> |
| 4855 | <return type='int' info='the number of bytes read or -1 in case of error '/> |
| 4856 | <arg name='context' type='void *' info='an Input context '/> |
| 4857 | <arg name='buffer' type='char *' info='the buffer to store data read '/> |
| 4858 | <arg name='len' type='int' info='the length of the buffer in bytes '/> |
| 4859 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4860 | <function name='xmlIsBaseChar' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 4861 | <info>Check whether the character is allowed by the production [85] BaseChar ::= ... long list see REC ... VI is your friend ! :1,$ s/\[x\([0-9A-Z]*\)-x\([0-9A-Z]*\)\]/ (((c) >= 0x\1) \&\& ((c) <= 0x\2)) ||/ and :1,$ s/x\([0-9A-Z]*\)/ ((c) == 0x\1) ||/</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4862 | <return type='int' info='0 if not, non-zero otherwise '/> |
| 4863 | <arg name='c' type='int' info='an unicode character (int) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4864 | </function> |
| 4865 | <function name='xmlIsBlank' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4866 | <info>Check whether the character is allowed by the production [3] S ::= (x20 | x9 | xD | xA)+ Also available as a macro IS_BLANK()</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4867 | <return type='int' info='0 if not, non-zero otherwise '/> |
| 4868 | <arg name='c' type='int' info='an unicode character (int) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4869 | </function> |
| 4870 | <function name='xmlIsBlankNode' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4871 | <info>Checks whether this node is an empty or whitespace only (and possibly ignorable) text-node.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4872 | <return type='int' info='1 yes, 0 no '/> |
| 4873 | <arg name='node' type='xmlNodePtr' info='the node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4874 | </function> |
| 4875 | <function name='xmlIsChar' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4876 | <info>Check whether the character is allowed by the production [2] Char ::= x9 | xA | xD | [x20-xD7FF] | [xE000-xFFFD] | [x10000-x10FFFF] any Unicode character, excluding the surrogate blocks, FFFE, and FFFF. Also available as a macro IS_CHAR()</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4877 | <return type='int' info='0 if not, non-zero otherwise '/> |
| 4878 | <arg name='c' type='int' info='an unicode character (int) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4879 | </function> |
| 4880 | <function name='xmlIsCombining' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4881 | <info>Check whether the character is allowed by the production [87] CombiningChar ::= ... long list see REC ...</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4882 | <return type='int' info='0 if not, non-zero otherwise '/> |
| 4883 | <arg name='c' type='int' info='an unicode character (int) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4884 | </function> |
| 4885 | <function name='xmlIsDigit' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4886 | <info>Check whether the character is allowed by the production [88] Digit ::= ... long list see REC ...</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4887 | <return type='int' info='0 if not, non-zero otherwise '/> |
| 4888 | <arg name='c' type='int' info='an unicode character (int) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4889 | </function> |
| 4890 | <function name='xmlIsExtender' file='parserInternals'> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 4891 | <info>Check whether the character is allowed by the production [89] Extender ::= x00B7 | x02D0 | x02D1 | x0387 | x0640 | x0E46 | x0EC6 | x3005 | [x3031-x3035] | [x309D-x309E] | [x30FC-x30FE]</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4892 | <return type='int' info='0 if not, non-zero otherwise '/> |
| 4893 | <arg name='c' type='int' info='an unicode character (int) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4894 | </function> |
| 4895 | <function name='xmlIsID' file='valid'> |
Daniel Veillard | 80ce373 | 2002-10-07 17:39:30 +0000 | [diff] [blame] | 4896 | <info>Determine whether an attribute is of type ID. In case we have DTD(s) then this is done if DTD loading has been requested. In the case of HTML documents parsed with the HTML parser, then ID detection is done systematically.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4897 | <return type='int' info='0 or 1 depending on the lookup result '/> |
| 4898 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 4899 | <arg name='elem' type='xmlNodePtr' info='the element carrying the attribute '/> |
| 4900 | <arg name='attr' type='xmlAttrPtr' info='the attribute '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4901 | </function> |
| 4902 | <function name='xmlIsIdeographic' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4903 | <info>Check whether the character is allowed by the production [86] Ideographic ::= [x4E00-x9FA5] | x3007 | [x3021-x3029]</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4904 | <return type='int' info='0 if not, non-zero otherwise '/> |
| 4905 | <arg name='c' type='int' info='an unicode character (int) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4906 | </function> |
| 4907 | <function name='xmlIsLetter' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4908 | <info>Check whether the character is allowed by the production [84] Letter ::= BaseChar | Ideographic</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4909 | <return type='int' info='0 if not, non-zero otherwise '/> |
| 4910 | <arg name='c' type='int' info='an unicode character (int) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4911 | </function> |
| 4912 | <function name='xmlIsMainThread' file='threads'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4913 | <info>xmlIsMainThread() check whether the current thread is the main thread.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4914 | <return type='int' info='1 if the current thread is the main thread, 0 otherwise '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4915 | </function> |
| 4916 | <function name='xmlIsMixedElement' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4917 | <info>Search in the DtDs whether an element accept Mixed content (or ANY) basically if it is supposed to accept text childs</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4918 | <return type='int' info='0 if no, 1 if yes, and -1 if no element description is available '/> |
| 4919 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 4920 | <arg name='name' type='const xmlChar *' info='the element name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4921 | </function> |
| 4922 | <function name='xmlIsPubidChar' file='parserInternals'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4923 | <info>Check whether the character is allowed by the production [13] PubidChar ::= x20 | xD | xA | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]</info> |
| 4924 | <return type='int' info='0 if not, non-zero otherwise '/> |
| 4925 | <arg name='c' type='int' info='an unicode character (int) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4926 | </function> |
| 4927 | <function name='xmlIsRef' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4928 | <info>Determine whether an attribute is of type Ref. In case we have DTD(s) then this is simple, otherwise we use an heuristic: name Ref (upper or lowercase).</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4929 | <return type='int' info='0 or 1 depending on the lookup result '/> |
| 4930 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 4931 | <arg name='elem' type='xmlNodePtr' info='the element carrying the attribute '/> |
| 4932 | <arg name='attr' type='xmlAttrPtr' info='the attribute '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4933 | </function> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 4934 | <function name='xmlIsXHTML' file='tree'> |
| 4935 | <return type='int'/> |
| 4936 | <arg name='systemID' type='const xmlChar *'/> |
| 4937 | <arg name='publicID' type='const xmlChar *'/> |
| 4938 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4939 | <function name='xmlKeepBlanksDefault' file='parser'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4940 | <info>Set and return the previous value for default blanks text nodes support. The 1.x version of the parser used an heuristic to try to detect ignorable white spaces. As a result the SAX callback was generating ignorableWhitespace() callbacks instead of characters() one, and when using the DOM output text nodes containing those blanks were not generated. The 2.x and later version will switch to the XML standard way and ignorableWhitespace() are only generated when running the parser in validating mode and when the current element doesn't allow CDATA or mixed content. This function is provided as a way to force the standard behavior on 1.X libs and to switch back to the old mode for compatibility when running 1.X client code on 2.X . Upgrade of 1.X code should be done by using xmlIsBlankNode() commodity function to detect the "empty" nodes generated. This value also affect autogeneration of indentation when saving code if blanks sections are kept, indentation is not generated.</info> |
| 4941 | <return type='int' info='the last value for 0 for no substitution, 1 for substitution. '/> |
| 4942 | <arg name='val' type='int' info='int 0 or 1 '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4943 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4944 | <macro name='xmlKeepBlanksDefaultValue' file='globals'> |
| 4945 | <info>Global setting, indicate that the parser should keep all blanks nodes found in the content Activated by default, this is actually needed to have the parser conformant to the XML Recommendation, however the option is kept for some applications since this was libxml1 default behaviour.</info> |
| 4946 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4947 | <function name='xmlLineNumbersDefault' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4948 | <info>Set and return the previous value for enabling line numbers in elements contents. This may break on old application and is turned off by default.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4949 | <return type='int' info='the last value for 0 for no substitution, 1 for substitution. '/> |
| 4950 | <arg name='val' type='int' info='int 0 or 1 '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4951 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4952 | <macro name='xmlLineNumbersDefaultValue' file='globals'> |
| 4953 | <info>Global setting, indicate that the parser should store the line number in the content field of elements in the DOM tree. Disabled by default since this may not be safe for old classes of applicaton.</info> |
| 4954 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4955 | <struct name='xmlLink' file='list'/> |
| 4956 | <function name='xmlLinkGetData' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4957 | <info>See Returns.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4958 | <return type='void *'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4959 | <arg name='lk' type='xmlLinkPtr' info='a link '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4960 | </function> |
| 4961 | <typedef name='xmlLinkPtr' file='list'/> |
| 4962 | <struct name='xmlList' file='list'/> |
| 4963 | <function name='xmlListAppend' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4964 | <info>Insert data in the ordered list at the end for this value</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4965 | <return type='int' info='0 in case of success, 1 in case of failure '/> |
| 4966 | <arg name='l' type='xmlListPtr' info='a list '/> |
| 4967 | <arg name='data' type='void *' info='the data '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4968 | </function> |
| 4969 | <function name='xmlListClear' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4970 | <info>Remove the all data in the list</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4971 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4972 | <arg name='l' type='xmlListPtr' info='a list '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4973 | </function> |
| 4974 | <function name='xmlListCopy' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4975 | <info>Move all the element from the old list in the new list</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4976 | <return type='int' info='0 in case of success 1 in case of error '/> |
| 4977 | <arg name='cur' type='xmlListPtr' info='the new list '/> |
| 4978 | <arg name='old' type='const xmlListPtr' info='the old list '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4979 | </function> |
| 4980 | <function name='xmlListCreate' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4981 | <info>Create a new list</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4982 | <return type='xmlListPtr' info='the new list or NULL in case of error '/> |
| 4983 | <arg name='deallocator' type='xmlListDeallocator' info='an optional deallocator function '/> |
| 4984 | <arg name='compare' type='xmlListDataCompare' info='an optional comparison function '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4985 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4986 | <functype name='xmlListDataCompare' file='list'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 4987 | <info>Callback function used to compare 2 data.</info> |
| 4988 | <return type='int' info='0 is equality, -1 or 1 otherwise depending on the ordering. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4989 | <arg name='data0' type='const void *' info='the first data '/> |
| 4990 | <arg name='data1' type='const void *' info='the second data '/> |
| 4991 | </functype> |
| 4992 | <functype name='xmlListDeallocator' file='list'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 4993 | <info>Callback function used to free data from a list.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 4994 | <return type='void'/> |
| 4995 | <arg name='lk' type='xmlLinkPtr' info='the data to deallocate '/> |
| 4996 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4997 | <function name='xmlListDelete' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 4998 | <info>Deletes the list and its associated data</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 4999 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5000 | <arg name='l' type='xmlListPtr' info='a list '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5001 | </function> |
| 5002 | <function name='xmlListDup' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5003 | <info>Duplicate the list</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5004 | <return type='xmlListPtr' info='a new copy of the list or NULL in case of error '/> |
| 5005 | <arg name='old' type='const xmlListPtr' info='the list '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5006 | </function> |
| 5007 | <function name='xmlListEmpty' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5008 | <info>Is the list empty ?</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5009 | <return type='int' info='1 if the list is empty, 0 otherwise '/> |
| 5010 | <arg name='l' type='xmlListPtr' info='a list '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5011 | </function> |
| 5012 | <function name='xmlListEnd' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5013 | <info>Get the last element in the list</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5014 | <return type='xmlLinkPtr' info='the last element in the list, or NULL '/> |
| 5015 | <arg name='l' type='xmlListPtr' info='a list '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5016 | </function> |
| 5017 | <function name='xmlListFront' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5018 | <info>Get the first element in the list</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5019 | <return type='xmlLinkPtr' info='the first element in the list, or NULL '/> |
| 5020 | <arg name='l' type='xmlListPtr' info='a list '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5021 | </function> |
| 5022 | <function name='xmlListInsert' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5023 | <info>Insert data in the ordered list at the beginning for this value</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5024 | <return type='int' info='0 in case of success, 1 in case of failure '/> |
| 5025 | <arg name='l' type='xmlListPtr' info='a list '/> |
| 5026 | <arg name='data' type='void *' info='the data '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5027 | </function> |
| 5028 | <function name='xmlListMerge' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5029 | <info>include all the elements of the second list in the first one and clear the second list</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5030 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5031 | <arg name='l1' type='xmlListPtr' info='the original list '/> |
| 5032 | <arg name='l2' type='xmlListPtr' info='the new list '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5033 | </function> |
| 5034 | <function name='xmlListPopBack' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5035 | <info>Removes the last element in the list</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5036 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5037 | <arg name='l' type='xmlListPtr' info='a list '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5038 | </function> |
| 5039 | <function name='xmlListPopFront' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5040 | <info>Removes the first element in the list</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5041 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5042 | <arg name='l' type='xmlListPtr' info='a list '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5043 | </function> |
| 5044 | <typedef name='xmlListPtr' file='list'/> |
| 5045 | <function name='xmlListPushBack' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5046 | <info>add the new data at the end of the list</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5047 | <return type='int' info='1 if successful, 0 otherwise '/> |
| 5048 | <arg name='l' type='xmlListPtr' info='a list '/> |
| 5049 | <arg name='data' type='void *' info='new data '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5050 | </function> |
| 5051 | <function name='xmlListPushFront' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5052 | <info>add the new data at the beginning of the list</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5053 | <return type='int' info='1 if successful, 0 otherwise '/> |
| 5054 | <arg name='l' type='xmlListPtr' info='a list '/> |
| 5055 | <arg name='data' type='void *' info='new data '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5056 | </function> |
| 5057 | <function name='xmlListRemoveAll' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5058 | <info>Remove the all instance associated to data in the list</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5059 | <return type='int' info='the number of deallocation, or 0 if not found '/> |
| 5060 | <arg name='l' type='xmlListPtr' info='a list '/> |
| 5061 | <arg name='data' type='void *' info='list data '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5062 | </function> |
| 5063 | <function name='xmlListRemoveFirst' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5064 | <info>Remove the first instance associated to data in the list</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5065 | <return type='int' info='1 if a deallocation occured, or 0 if not found '/> |
| 5066 | <arg name='l' type='xmlListPtr' info='a list '/> |
| 5067 | <arg name='data' type='void *' info='list data '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5068 | </function> |
| 5069 | <function name='xmlListRemoveLast' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5070 | <info>Remove the last instance associated to data in the list</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5071 | <return type='int' info='1 if a deallocation occured, or 0 if not found '/> |
| 5072 | <arg name='l' type='xmlListPtr' info='a list '/> |
| 5073 | <arg name='data' type='void *' info='list data '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5074 | </function> |
| 5075 | <function name='xmlListReverse' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5076 | <info>Reverse the order of the elements in the list</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5077 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5078 | <arg name='l' type='xmlListPtr' info='a list '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5079 | </function> |
| 5080 | <function name='xmlListReverseSearch' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5081 | <info>Search the list in reverse order for an existing value of data</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5082 | <return type='void *'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5083 | <arg name='l' type='xmlListPtr' info='a list '/> |
| 5084 | <arg name='data' type='void *' info='a search value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5085 | </function> |
| 5086 | <function name='xmlListReverseWalk' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5087 | <info>Walk all the element of the list in reverse order and apply the walker function to it</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5088 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5089 | <arg name='l' type='xmlListPtr' info='a list '/> |
| 5090 | <arg name='walker' type='xmlListWalker' info='a processing function '/> |
| 5091 | <arg name='user' type='const void *' info='a user parameter passed to the walker function '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5092 | </function> |
| 5093 | <function name='xmlListSearch' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5094 | <info>Search the list for an existing value of data</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5095 | <return type='void *'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5096 | <arg name='l' type='xmlListPtr' info='a list '/> |
| 5097 | <arg name='data' type='void *' info='a search value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5098 | </function> |
| 5099 | <function name='xmlListSize' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5100 | <info>Get the number of elements in the list</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5101 | <return type='int' info='the number of elements in the list '/> |
| 5102 | <arg name='l' type='xmlListPtr' info='a list '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5103 | </function> |
| 5104 | <function name='xmlListSort' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5105 | <info>Sort all the elements in the list</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5106 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5107 | <arg name='l' type='xmlListPtr' info='a list '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5108 | </function> |
| 5109 | <function name='xmlListWalk' file='list'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5110 | <info>Walk all the element of the first from first to last and apply the walker function to it</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5111 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5112 | <arg name='l' type='xmlListPtr' info='a list '/> |
| 5113 | <arg name='walker' type='xmlListWalker' info='a processing function '/> |
| 5114 | <arg name='user' type='const void *' info='a user parameter passed to the walker function '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5115 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5116 | <functype name='xmlListWalker' file='list'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 5117 | <info>Callback function used when walking a list with xmlListWalk().</info> |
| 5118 | <return type='int' info='0 to stop walking the list, 1 otherwise. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5119 | <arg name='data' type='const void *' info='the data found in the list '/> |
| 5120 | <arg name='user' type='const void *' info='extra user provided data to the walker '/> |
| 5121 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5122 | <function name='xmlLoadACatalog' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5123 | <info>Load the catalog and build the associated data structures. This can be either an XML Catalog or an SGML Catalog It will recurse in SGML CATALOG entries. On the other hand XML Catalogs are not handled recursively.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5124 | <return type='xmlCatalogPtr' info='the catalog parsed or NULL in case of error '/> |
| 5125 | <arg name='filename' type='const char *' info='a file path '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5126 | </function> |
| 5127 | <function name='xmlLoadCatalog' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5128 | <info>Load the catalog and makes its definitions effective for the default external entity loader. It will recurse in SGML CATALOG entries. this function is not thread safe, catalog initialization should preferably be done once at startup</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5129 | <return type='int' info='0 in case of success -1 in case of error '/> |
| 5130 | <arg name='filename' type='const char *' info='a file path '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5131 | </function> |
| 5132 | <function name='xmlLoadCatalogs' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5133 | <info>Load the catalogs and makes their definitions effective for the default external entity loader. this function is not thread safe, catalog initialization should preferably be done once at startup</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5134 | <return type='void'/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5135 | <arg name='paths' type='const char *' info='a list of directories separated by a colon or a space. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5136 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5137 | <macro name='xmlLoadExtDtdDefaultValue' file='globals'> |
| 5138 | <info>Global setting, indicate that the parser should load DTD while not validating. Disabled by default.</info> |
| 5139 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5140 | <function name='xmlLoadExternalEntity' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5141 | <info>Load an external entity, note that the use of this function for unparsed entities may generate problems TODO: a more generic External entity API must be designed</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5142 | <return type='xmlParserInputPtr' info='the xmlParserInputPtr or NULL '/> |
| 5143 | <arg name='URL' type='const char *' info='the URL for the entity to load '/> |
| 5144 | <arg name='ID' type='const char *' info='the Public ID for the entity to load '/> |
| 5145 | <arg name='ctxt' type='xmlParserCtxtPtr' info='the context in which the entity is called or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5146 | </function> |
| 5147 | <function name='xmlLoadSGMLSuperCatalog' file='catalog'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5148 | <info>Load an SGML super catalog. It won't expand CATALOG or DELEGATE references. This is only needed for manipulating SGML Super Catalogs like adding and removing CATALOG or DELEGATE entries.</info> |
| 5149 | <return type='xmlCatalogPtr' info='the catalog parsed or NULL in case of error '/> |
| 5150 | <arg name='filename' type='const char *' info='a file path '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5151 | </function> |
| 5152 | <struct name='xmlLocationSet' file='xpointer'/> |
| 5153 | <typedef name='xmlLocationSetPtr' file='xpointer'/> |
| 5154 | <function name='xmlLockLibrary' file='threads'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5155 | <info>xmlLockLibrary() is used to take out a re-entrant lock on the libxml2 library.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5156 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5157 | </function> |
| 5158 | <function name='xmlLsCountNode' file='debugXML'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5159 | <info>Count the children of node.</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5160 | <return type='int' info='the number of children of node. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5161 | <arg name='node' type='xmlNodePtr' info='the node to count '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5162 | </function> |
| 5163 | <function name='xmlLsOneNode' file='debugXML'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5164 | <info>Dump to output the type and name of node.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5165 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5166 | <arg name='output' type='FILE *' info='the FILE * for the output '/> |
| 5167 | <arg name='node' type='xmlNodePtr' info='the node to dump '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5168 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5169 | <macro name='xmlMalloc' file='globals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 5170 | <info>Wrapper for the malloc() function used in the XML library.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5171 | <arg name='size' info='number of bytes to allocate '/> |
| 5172 | </macro> |
| 5173 | <functype name='xmlMallocFunc' file='xmlmemory'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 5174 | <info>Signature for a malloc() implementation.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5175 | <return type='void *'/> |
| 5176 | <arg name='size' type='size_t' info='the size requested in bytes '/> |
| 5177 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5178 | <function name='xmlMallocLoc' file='xmlmemory'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5179 | <info>a malloc() equivalent, with logging of the allocation info.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5180 | <return type='void *'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5181 | <arg name='size' type='size_t' info='an int specifying the size in byte to allocate. '/> |
| 5182 | <arg name='file' type='const char *' info='the file name or NULL '/> |
| 5183 | <arg name='line' type='int' info='the line number '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5184 | </function> |
| 5185 | <function name='xmlMemDisplay' file='xmlmemory'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5186 | <info>show in-extenso the memory blocks allocated</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5187 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5188 | <arg name='fp' type='FILE *' info='a FILE descriptor used as the output file, if NULL, the result is written to the file .memorylist '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5189 | </function> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5190 | <function name='xmlMemFree' file='xmlmemory'> |
| 5191 | <info>a free() equivalent, with error checking.</info> |
| 5192 | <return type='void'/> |
| 5193 | <arg name='ptr' type='void *' info='the memory block pointer '/> |
| 5194 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5195 | <function name='xmlMemGet' file='xmlmemory'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5196 | <info>Return the memory access functions set currently in use</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5197 | <return type='int' info='0 on success '/> |
| 5198 | <arg name='freeFunc' type='xmlFreeFunc *' info='the free() function in use '/> |
| 5199 | <arg name='mallocFunc' type='xmlMallocFunc *' info='the malloc() function in use '/> |
| 5200 | <arg name='reallocFunc' type='xmlReallocFunc *' info='the realloc() function in use '/> |
| 5201 | <arg name='strdupFunc' type='xmlStrdupFunc *' info='the strdup() function in use '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5202 | </function> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5203 | <function name='xmlMemMalloc' file='xmlmemory'> |
| 5204 | <info>a malloc() equivalent, with logging of the allocation info.</info> |
| 5205 | <return type='void *'/> |
| 5206 | <arg name='size' type='size_t' info='an int specifying the size in byte to allocate. '/> |
| 5207 | </function> |
| 5208 | <function name='xmlMemRealloc' file='xmlmemory'> |
| 5209 | <info>a realloc() equivalent, with logging of the allocation info.</info> |
| 5210 | <return type='void *'/> |
| 5211 | <arg name='ptr' type='void *' info='the initial memory block pointer '/> |
| 5212 | <arg name='size' type='size_t' info='an int specifying the size in byte to allocate. '/> |
| 5213 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5214 | <function name='xmlMemSetup' file='xmlmemory'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5215 | <info>Override the default memory access functions with a new set This has to be called before any other libxml routines ! Should this be blocked if there was already some allocations done ?</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5216 | <return type='int' info='0 on success '/> |
| 5217 | <arg name='freeFunc' type='xmlFreeFunc' info='the free() function to use '/> |
| 5218 | <arg name='mallocFunc' type='xmlMallocFunc' info='the malloc() function to use '/> |
| 5219 | <arg name='reallocFunc' type='xmlReallocFunc' info='the realloc() function to use '/> |
| 5220 | <arg name='strdupFunc' type='xmlStrdupFunc' info='the strdup() function to use '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5221 | </function> |
| 5222 | <function name='xmlMemShow' file='xmlmemory'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5223 | <info>show a show display of the memory allocated, and dump the nr last allocated areas which were not freed</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5224 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5225 | <arg name='fp' type='FILE *' info='a FILE descriptor used as the output file '/> |
| 5226 | <arg name='nr' type='int' info='number of entries to dump '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5227 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5228 | <macro name='xmlMemStrdup' file='globals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 5229 | <info>Wrapper for the strdup() function, xmlStrdup() is usually preferred.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5230 | <arg name='str' info='pointer to the existing string '/> |
| 5231 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5232 | <function name='xmlMemStrdupLoc' file='xmlmemory'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5233 | <info>a strdup() equivalent, with logging of the allocation info.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5234 | <return type='char *' info='a pointer to the new string or NULL if allocation error occurred. '/> |
| 5235 | <arg name='str' type='const char *' info='the initial string pointer '/> |
| 5236 | <arg name='file' type='const char *' info='the file name or NULL '/> |
| 5237 | <arg name='line' type='int' info='the line number '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5238 | </function> |
| 5239 | <function name='xmlMemUsed' file='xmlmemory'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5240 | <info>returns the amount of memory currently allocated</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5241 | <return type='int' info='an int representing the amount of memory allocated. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5242 | </function> |
| 5243 | <function name='xmlMemoryDump' file='xmlmemory'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5244 | <info>Dump in-extenso the memory blocks allocated to the file .memorylist</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5245 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5246 | </function> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5247 | <function name='xmlMemoryStrdup' file='xmlmemory'> |
| 5248 | <info>a strdup() equivalent, with logging of the allocation info.</info> |
| 5249 | <return type='char *' info='a pointer to the new string or NULL if allocation error occurred. '/> |
| 5250 | <arg name='str' type='const char *'/> |
| 5251 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5252 | <struct name='xmlMutex' file='threads'/> |
| 5253 | <function name='xmlMutexLock' file='threads'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5254 | <info>xmlMutexLock() is used to lock a libxml2 token.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5255 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5256 | <arg name='tok' type='xmlMutexPtr' info='the simple mutex '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5257 | </function> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5258 | <typedef name='xmlMutexPtr' file='threads' info='xmlNewMutex() is used to allocate a libxml2 token struct for use in synchronizing access to data.'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5259 | <function name='xmlMutexUnlock' file='threads'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5260 | <info>xmlMutexUnlock() is used to unlock a libxml2 token.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5261 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5262 | <arg name='tok' type='xmlMutexPtr' info='the simple mutex '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5263 | </function> |
| 5264 | <function name='xmlNamespaceParseNCName' file='parserInternals'> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 5265 | <info>parse an XML namespace name. TODO: this seems not in use anymore, the namespace handling is done on top of the SAX interfaces, i.e. not on raw input. [NS 3] NCName ::= (Letter | '_') (NCNameChar)* [NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5266 | <return type='xmlChar *' info='the namespace name or NULL '/> |
| 5267 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5268 | </function> |
| 5269 | <function name='xmlNamespaceParseNSDef' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5270 | <info>parse a namespace prefix declaration TODO: this seems not in use anymore, the namespace handling is done on top of the SAX interfaces, i.e. not on raw input. [NS 1] NSDef ::= PrefixDef Eq SystemLiteral [NS 2] PrefixDef ::= 'xmlns' (':' NCName)?</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5271 | <return type='xmlChar *' info='the namespace name '/> |
| 5272 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5273 | </function> |
| 5274 | <function name='xmlNamespaceParseQName' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5275 | <info>TODO: this seems not in use anymore, the namespace handling is done on top of the SAX interfaces, i.e. not on raw input. parse an XML qualified name [NS 5] QName ::= (Prefix ':')? LocalPart [NS 6] Prefix ::= NCName [NS 7] LocalPart ::= NCName</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5276 | <return type='xmlChar *' info='the local part, and prefix is updated to get the Prefix if any. '/> |
| 5277 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 5278 | <arg name='prefix' type='xmlChar **' info='a xmlChar ** '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5279 | </function> |
| 5280 | <function name='xmlNanoFTPCheckResponse' file='nanoftp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5281 | <info>Check if there is a response from the FTP server after a command.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5282 | <return type='int' info='the code number, or 0 '/> |
| 5283 | <arg name='ctx' type='void *' info='an FTP context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5284 | </function> |
| 5285 | <function name='xmlNanoFTPCleanup' file='nanoftp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5286 | <info>Cleanup the FTP protocol layer. This cleanup proxy informations.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5287 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5288 | </function> |
| 5289 | <function name='xmlNanoFTPClose' file='nanoftp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5290 | <info>Close the connection and both control and transport</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5291 | <return type='int' info='-1 incase of error, 0 otherwise '/> |
| 5292 | <arg name='ctx' type='void *' info='an FTP context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5293 | </function> |
| 5294 | <function name='xmlNanoFTPCloseConnection' file='nanoftp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5295 | <info>Close the data connection from the server</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5296 | <return type='int' info='-1 incase of error, 0 otherwise '/> |
| 5297 | <arg name='ctx' type='void *' info='an FTP context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5298 | </function> |
| 5299 | <function name='xmlNanoFTPConnect' file='nanoftp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5300 | <info>Tries to open a control connection</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5301 | <return type='int' info='-1 in case of error, 0 otherwise '/> |
| 5302 | <arg name='ctx' type='void *' info='an FTP context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5303 | </function> |
| 5304 | <function name='xmlNanoFTPConnectTo' file='nanoftp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5305 | <info>Tries to open a control connection to the given server/port</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5306 | <return type='void *'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5307 | <arg name='server' type='const char *' info='an FTP server name '/> |
| 5308 | <arg name='port' type='int' info='the port (use 21 if 0) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5309 | </function> |
| 5310 | <function name='xmlNanoFTPCwd' file='nanoftp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5311 | <info>Tries to change the remote directory</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5312 | <return type='int' info='-1 incase of error, 1 if CWD worked, 0 if it failed '/> |
| 5313 | <arg name='ctx' type='void *' info='an FTP context '/> |
| 5314 | <arg name='directory' type='char *' info='a directory on the server '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5315 | </function> |
| 5316 | <function name='xmlNanoFTPFreeCtxt' file='nanoftp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5317 | <info>Frees the context after closing the connection.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5318 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5319 | <arg name='ctx' type='void *' info='an FTP context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5320 | </function> |
| 5321 | <function name='xmlNanoFTPGet' file='nanoftp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5322 | <info>Fetch the given file from the server. All data are passed back in the callbacks. The last callback has a size of 0 block.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5323 | <return type='int' info='-1 incase of error, 0 otherwise '/> |
| 5324 | <arg name='ctx' type='void *' info='an FTP context '/> |
| 5325 | <arg name='callback' type='ftpDataCallback' info='the user callback '/> |
| 5326 | <arg name='userData' type='void *' info='the user callback data '/> |
| 5327 | <arg name='filename' type='const char *' info='the file to retrieve '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5328 | </function> |
| 5329 | <function name='xmlNanoFTPGetConnection' file='nanoftp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5330 | <info>Try to open a data connection to the server. Currently only passive mode is supported.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5331 | <return type='int' info='-1 incase of error, 0 otherwise '/> |
| 5332 | <arg name='ctx' type='void *' info='an FTP context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5333 | </function> |
| 5334 | <function name='xmlNanoFTPGetResponse' file='nanoftp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5335 | <info>Get the response from the FTP server after a command.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5336 | <return type='int' info='the code number '/> |
| 5337 | <arg name='ctx' type='void *' info='an FTP context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5338 | </function> |
| 5339 | <function name='xmlNanoFTPGetSocket' file='nanoftp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5340 | <info>Initiate fetch of the given file from the server.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5341 | <return type='int' info='the socket for the data connection, or <0 in case of error '/> |
| 5342 | <arg name='ctx' type='void *' info='an FTP context '/> |
| 5343 | <arg name='filename' type='const char *' info='the file to retrieve (or NULL if path is in context). '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5344 | </function> |
| 5345 | <function name='xmlNanoFTPInit' file='nanoftp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5346 | <info>Initialize the FTP protocol layer. Currently it just checks for proxy informations, and get the hostname</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5347 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5348 | </function> |
| 5349 | <function name='xmlNanoFTPList' file='nanoftp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5350 | <info>Do a listing on the server. All files info are passed back in the callbacks.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5351 | <return type='int' info='-1 incase of error, 0 otherwise '/> |
| 5352 | <arg name='ctx' type='void *' info='an FTP context '/> |
| 5353 | <arg name='callback' type='ftpListCallback' info='the user callback '/> |
| 5354 | <arg name='userData' type='void *' info='the user callback data '/> |
| 5355 | <arg name='filename' type='char *' info='optional files to list '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5356 | </function> |
| 5357 | <function name='xmlNanoFTPNewCtxt' file='nanoftp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5358 | <info>Allocate and initialize a new FTP context.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5359 | <return type='void *'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5360 | <arg name='URL' type='const char *' info='The URL used to initialize the context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5361 | </function> |
| 5362 | <function name='xmlNanoFTPOpen' file='nanoftp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5363 | <info>Start to fetch the given ftp:// resource</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5364 | <return type='void *'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5365 | <arg name='URL' type='const char *' info='the URL to the resource '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5366 | </function> |
| 5367 | <function name='xmlNanoFTPProxy' file='nanoftp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5368 | <info>Setup the FTP proxy informations. This can also be done by using ftp_proxy ftp_proxy_user and ftp_proxy_password environment variables.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5369 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5370 | <arg name='host' type='const char *' info='the proxy host name '/> |
| 5371 | <arg name='port' type='int' info='the proxy port '/> |
| 5372 | <arg name='user' type='const char *' info='the proxy user name '/> |
| 5373 | <arg name='passwd' type='const char *' info='the proxy password '/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5374 | <arg name='type' type='int' info='the type of proxy 1 for using SITE, 2 for USER ab'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5375 | </function> |
| 5376 | <function name='xmlNanoFTPQuit' file='nanoftp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5377 | <info>Send a QUIT command to the server</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5378 | <return type='int' info='-1 in case of error, 0 otherwise '/> |
| 5379 | <arg name='ctx' type='void *' info='an FTP context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5380 | </function> |
| 5381 | <function name='xmlNanoFTPRead' file='nanoftp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5382 | <info>This function tries to read len bytes from the existing FTP connection and saves them in dest. This is a blocking call.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5383 | <return type='int' info='the number of byte read. 0 is an indication of an end of connection. -1 indicates a parameter error. '/> |
| 5384 | <arg name='ctx' type='void *' info='the FTP context '/> |
| 5385 | <arg name='dest' type='void *' info='a buffer '/> |
| 5386 | <arg name='len' type='int' info='the buffer length '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5387 | </function> |
| 5388 | <function name='xmlNanoFTPScanProxy' file='nanoftp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5389 | <info>(Re)Initialize the FTP Proxy context by parsing the URL and finding the protocol host port it indicates. Should be like ftp://myproxy/ or ftp://myproxy:3128/ A NULL URL cleans up proxy informations.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5390 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5391 | <arg name='URL' type='const char *' info='The proxy URL used to initialize the proxy context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5392 | </function> |
| 5393 | <function name='xmlNanoFTPUpdateURL' file='nanoftp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5394 | <info>Update an FTP context by parsing the URL and finding new path it indicates. If there is an error in the protocol, hostname, port or other information, the error is raised. It indicates a new connection has to be established.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5395 | <return type='int' info='0 if Ok, -1 in case of error (other host). '/> |
| 5396 | <arg name='ctx' type='void *' info='an FTP context '/> |
| 5397 | <arg name='URL' type='const char *' info='The URL used to update the context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5398 | </function> |
| 5399 | <function name='xmlNanoHTTPAuthHeader' file='nanohttp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5400 | <info>Get the authentication header of an HTTP context</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5401 | <return type='const char *' info='the stashed value of the WWW-Authenticate or Proxy-Authenticate header. '/> |
| 5402 | <arg name='ctx' type='void *' info='the HTTP context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5403 | </function> |
| 5404 | <function name='xmlNanoHTTPCleanup' file='nanohttp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5405 | <info>Cleanup the HTTP protocol layer.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5406 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5407 | </function> |
| 5408 | <function name='xmlNanoHTTPClose' file='nanohttp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5409 | <info>This function closes an HTTP context, it ends up the connection and free all data related to it.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5410 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5411 | <arg name='ctx' type='void *' info='the HTTP context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5412 | </function> |
| 5413 | <function name='xmlNanoHTTPFetch' file='nanohttp'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5414 | <info>This function try to fetch the indicated resource via HTTP GET and save it's content in the file.</info> |
| 5415 | <return type='int' info='-1 in case of failure, 0 incase of success. The contentType, if provided must be freed by the caller '/> |
| 5416 | <arg name='URL' type='const char *' info='The URL to load '/> |
| 5417 | <arg name='filename' type='const char *' info='the filename where the content should be saved '/> |
| 5418 | <arg name='contentType' type='char **' info='if available the Content-Type information will be returned at that location '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5419 | </function> |
| 5420 | <function name='xmlNanoHTTPInit' file='nanohttp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5421 | <info>Initialize the HTTP protocol layer. Currently it just checks for proxy informations</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5422 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5423 | </function> |
| 5424 | <function name='xmlNanoHTTPMethod' file='nanohttp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5425 | <info>This function try to open a connection to the indicated resource via HTTP using the given method, adding the given extra headers and the input buffer for the request content.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5426 | <return type='void *'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5427 | <arg name='URL' type='const char *' info='The URL to load '/> |
| 5428 | <arg name='method' type='const char *' info='the HTTP method to use '/> |
| 5429 | <arg name='input' type='const char *' info='the input string if any '/> |
| 5430 | <arg name='contentType' type='char **' info='the Content-Type information IN and OUT '/> |
| 5431 | <arg name='headers' type='const char *' info='the extra headers '/> |
| 5432 | <arg name='ilen' type='int' info='input length '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5433 | </function> |
| 5434 | <function name='xmlNanoHTTPMethodRedir' file='nanohttp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5435 | <info>This function try to open a connection to the indicated resource via HTTP using the given method, adding the given extra headers and the input buffer for the request content.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5436 | <return type='void *'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5437 | <arg name='URL' type='const char *' info='The URL to load '/> |
| 5438 | <arg name='method' type='const char *' info='the HTTP method to use '/> |
| 5439 | <arg name='input' type='const char *' info='the input string if any '/> |
| 5440 | <arg name='contentType' type='char **' info='the Content-Type information IN and OUT '/> |
| 5441 | <arg name='redir' type='char **' info='the redirected URL OUT '/> |
| 5442 | <arg name='headers' type='const char *' info='the extra headers '/> |
| 5443 | <arg name='ilen' type='int' info='input length '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5444 | </function> |
| 5445 | <function name='xmlNanoHTTPOpen' file='nanohttp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5446 | <info>This function try to open a connection to the indicated resource via HTTP GET.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5447 | <return type='void *'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5448 | <arg name='URL' type='const char *' info='The URL to load '/> |
| 5449 | <arg name='contentType' type='char **' info='if available the Content-Type information will be returned at that location '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5450 | </function> |
| 5451 | <function name='xmlNanoHTTPOpenRedir' file='nanohttp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5452 | <info>This function try to open a connection to the indicated resource via HTTP GET.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5453 | <return type='void *'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5454 | <arg name='URL' type='const char *' info='The URL to load '/> |
| 5455 | <arg name='contentType' type='char **' info='if available the Content-Type information will be returned at that location '/> |
| 5456 | <arg name='redir' type='char **' info='if available the redirected URL will be returned '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5457 | </function> |
| 5458 | <function name='xmlNanoHTTPRead' file='nanohttp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5459 | <info>This function tries to read len bytes from the existing HTTP connection and saves them in dest. This is a blocking call.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5460 | <return type='int' info='the number of byte read. 0 is an indication of an end of connection. -1 indicates a parameter error. '/> |
| 5461 | <arg name='ctx' type='void *' info='the HTTP context '/> |
| 5462 | <arg name='dest' type='void *' info='a buffer '/> |
| 5463 | <arg name='len' type='int' info='the buffer length '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5464 | </function> |
| 5465 | <function name='xmlNanoHTTPReturnCode' file='nanohttp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5466 | <info>Get the latest HTTP return code received</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5467 | <return type='int' info='the HTTP return code for the request. '/> |
| 5468 | <arg name='ctx' type='void *' info='the HTTP context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5469 | </function> |
| 5470 | <function name='xmlNanoHTTPSave' file='nanohttp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5471 | <info>This function saves the output of the HTTP transaction to a file It closes and free the context at the end</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5472 | <return type='int' info='-1 in case of failure, 0 incase of success. '/> |
| 5473 | <arg name='ctxt' type='void *' info='the HTTP context '/> |
| 5474 | <arg name='filename' type='const char *' info='the filename where the content should be saved '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5475 | </function> |
| 5476 | <function name='xmlNanoHTTPScanProxy' file='nanohttp'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5477 | <info>(Re)Initialize the HTTP Proxy context by parsing the URL and finding the protocol host port it indicates. Should be like http://myproxy/ or http://myproxy:3128/ A NULL URL cleans up proxy informations.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5478 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5479 | <arg name='URL' type='const char *' info='The proxy URL used to initialize the proxy context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5480 | </function> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 5481 | <function name='xmlNewAutomata' file='xmlautomata'> |
| 5482 | <info>Create a new automata</info> |
| 5483 | <return type='xmlAutomataPtr' info='the new object or NULL in case of failure '/> |
| 5484 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5485 | <function name='xmlNewCDataBlock' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5486 | <info>Creation of a new node containing a CDATA block.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5487 | <return type='xmlNodePtr' info='a pointer to the new node object. '/> |
| 5488 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 5489 | <arg name='content' type='const xmlChar *' info='the CDATA block content content '/> |
| 5490 | <arg name='len' type='int' info='the length of the block '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5491 | </function> |
| 5492 | <function name='xmlNewCatalog' file='catalog'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5493 | <info>create a new Catalog.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5494 | <return type='xmlCatalogPtr' info='the xmlCatalogPtr or NULL in case of error '/> |
| 5495 | <arg name='sgml' type='int' info='should this create an SGML catalog '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5496 | </function> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 5497 | <function name='xmlNewCharEncodingHandler' file='encoding'> |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame] | 5498 | <info>Create and registers an xmlCharEncodingHandler.</info> |
| 5499 | <return type='xmlCharEncodingHandlerPtr' info='the xmlCharEncodingHandlerPtr created (or NULL in case of error). '/> |
| 5500 | <arg name='name' type='const char *' info='the encoding name, in UTF-8 format (ASCII actually) '/> |
| 5501 | <arg name='input' type='xmlCharEncodingInputFunc' info='the xmlCharEncodingInputFunc to read that encoding '/> |
| 5502 | <arg name='output' type='xmlCharEncodingOutputFunc' info='the xmlCharEncodingOutputFunc to write that encoding '/> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 5503 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5504 | <function name='xmlNewCharRef' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5505 | <info>Creation of a new character reference node.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5506 | <return type='xmlNodePtr' info='a pointer to the new node object. '/> |
| 5507 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 5508 | <arg name='name' type='const xmlChar *' info='the char ref string, starting with # or "&# ... ;" '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5509 | </function> |
| 5510 | <function name='xmlNewChild' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5511 | <info>Creation of a new child element, added at the end of parent children list. ns and content parameters are optional (NULL). If content is non NULL, a child list containing the TEXTs and ENTITY_REFs node will be created. NOTE: content is supposed to be a piece of XML CDATA, so it allow entities references, but XML special chars need to be escaped first by using xmlEncodeEntitiesReentrant(). Use xmlNewTextChild() if entities support is not needed.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5512 | <return type='xmlNodePtr' info='a pointer to the new node object. '/> |
| 5513 | <arg name='parent' type='xmlNodePtr' info='the parent node '/> |
| 5514 | <arg name='ns' type='xmlNsPtr' info='a namespace if any '/> |
| 5515 | <arg name='name' type='const xmlChar *' info='the name of the child '/> |
| 5516 | <arg name='content' type='const xmlChar *' info='the XML content of the child if any. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5517 | </function> |
| 5518 | <function name='xmlNewComment' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5519 | <info>Creation of a new node containing a comment.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5520 | <return type='xmlNodePtr' info='a pointer to the new node object. '/> |
| 5521 | <arg name='content' type='const xmlChar *' info='the comment content '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5522 | </function> |
| 5523 | <function name='xmlNewDoc' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5524 | <info>Creates a new XML document</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5525 | <return type='xmlDocPtr' info='a new document '/> |
| 5526 | <arg name='version' type='const xmlChar *' info='xmlChar string giving the version of XML "1.0" '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5527 | </function> |
| 5528 | <function name='xmlNewDocComment' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5529 | <info>Creation of a new node containing a comment within a document.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5530 | <return type='xmlNodePtr' info='a pointer to the new node object. '/> |
| 5531 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 5532 | <arg name='content' type='const xmlChar *' info='the comment content '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5533 | </function> |
| 5534 | <function name='xmlNewDocFragment' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5535 | <info>Creation of a new Fragment node.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5536 | <return type='xmlNodePtr' info='a pointer to the new node object. '/> |
| 5537 | <arg name='doc' type='xmlDocPtr' info='the document owning the fragment '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5538 | </function> |
| 5539 | <function name='xmlNewDocNode' file='tree'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5540 | <info>Creation of a new node element within a document. ns and content are optional (NULL). NOTE: content is supposed to be a piece of XML CDATA, so it allow entities references, but XML special chars need to be escaped first by using xmlEncodeEntitiesReentrant(). Use xmlNewDocRawNode() if you don't need entities support.</info> |
| 5541 | <return type='xmlNodePtr' info='a pointer to the new node object. '/> |
| 5542 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 5543 | <arg name='ns' type='xmlNsPtr' info='namespace if any '/> |
| 5544 | <arg name='name' type='const xmlChar *' info='the node name '/> |
| 5545 | <arg name='content' type='const xmlChar *' info='the XML text content if any '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5546 | </function> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 5547 | <function name='xmlNewDocNodeEatName' file='tree'> |
| 5548 | <info>Creation of a new node element within a document. ns and content are optional (NULL). NOTE: content is supposed to be a piece of XML CDATA, so it allow entities references, but XML special chars need to be escaped first by using xmlEncodeEntitiesReentrant(). Use xmlNewDocRawNode() if you don't need entities support.</info> |
| 5549 | <return type='xmlNodePtr' info='a pointer to the new node object. '/> |
| 5550 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 5551 | <arg name='ns' type='xmlNsPtr' info='namespace if any '/> |
| 5552 | <arg name='name' type='xmlChar *' info='the node name '/> |
| 5553 | <arg name='content' type='const xmlChar *' info='the XML text content if any '/> |
| 5554 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5555 | <function name='xmlNewDocProp' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5556 | <info>Create a new property carried by a document.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5557 | <return type='xmlAttrPtr' info='a pointer to the attribute '/> |
| 5558 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 5559 | <arg name='name' type='const xmlChar *' info='the name of the attribute '/> |
| 5560 | <arg name='value' type='const xmlChar *' info='the value of the attribute '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5561 | </function> |
| 5562 | <function name='xmlNewDocRawNode' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5563 | <info>Creation of a new node element within a document. ns and content are optional (NULL).</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5564 | <return type='xmlNodePtr' info='a pointer to the new node object. '/> |
| 5565 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 5566 | <arg name='ns' type='xmlNsPtr' info='namespace if any '/> |
| 5567 | <arg name='name' type='const xmlChar *' info='the node name '/> |
| 5568 | <arg name='content' type='const xmlChar *' info='the text content if any '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5569 | </function> |
| 5570 | <function name='xmlNewDocText' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5571 | <info>Creation of a new text node within a document.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5572 | <return type='xmlNodePtr' info='a pointer to the new node object. '/> |
| 5573 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 5574 | <arg name='content' type='const xmlChar *' info='the text content '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5575 | </function> |
| 5576 | <function name='xmlNewDocTextLen' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5577 | <info>Creation of a new text node with an extra content length parameter. The text node pertain to a given document.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5578 | <return type='xmlNodePtr' info='a pointer to the new node object. '/> |
| 5579 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 5580 | <arg name='content' type='const xmlChar *' info='the text content '/> |
| 5581 | <arg name='len' type='int' info='the text len. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5582 | </function> |
| 5583 | <function name='xmlNewDtd' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5584 | <info>Creation of a new DTD for the external subset. To create an internal subset, use xmlCreateIntSubset().</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5585 | <return type='xmlDtdPtr' info='a pointer to the new DTD structure '/> |
| 5586 | <arg name='doc' type='xmlDocPtr' info='the document pointer '/> |
| 5587 | <arg name='name' type='const xmlChar *' info='the DTD name '/> |
| 5588 | <arg name='ExternalID' type='const xmlChar *' info='the external ID '/> |
| 5589 | <arg name='SystemID' type='const xmlChar *' info='the system ID '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5590 | </function> |
| 5591 | <function name='xmlNewElementContent' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5592 | <info>Allocate an element content structure.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5593 | <return type='xmlElementContentPtr' info='NULL if not, otherwise the new element content structure '/> |
| 5594 | <arg name='name' type='xmlChar *' info='the subelement name or NULL '/> |
| 5595 | <arg name='type' type='xmlElementContentType' info='the type of element content decl '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5596 | </function> |
| 5597 | <function name='xmlNewEntityInputStream' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5598 | <info>Create a new input stream based on an xmlEntityPtr</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5599 | <return type='xmlParserInputPtr' info='the new input stream or NULL '/> |
| 5600 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 5601 | <arg name='entity' type='xmlEntityPtr' info='an Entity pointer '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5602 | </function> |
| 5603 | <function name='xmlNewGlobalNs' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5604 | <info>Creation of a Namespace, the old way using PI and without scoping DEPRECATED !!! It now create a namespace on the root element of the document if found.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5605 | <return type='xmlNsPtr' info='NULL this functionality had been removed '/> |
| 5606 | <arg name='doc' type='xmlDocPtr' info='the document carrying the namespace '/> |
| 5607 | <arg name='href' type='const xmlChar *' info='the URI associated '/> |
| 5608 | <arg name='prefix' type='const xmlChar *' info='the prefix for the namespace '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5609 | </function> |
| 5610 | <function name='xmlNewIOInputStream' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5611 | <info>Create a new input stream structure encapsulating the input into a stream suitable for the parser.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5612 | <return type='xmlParserInputPtr' info='the new input stream or NULL '/> |
| 5613 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 5614 | <arg name='input' type='xmlParserInputBufferPtr' info='an I/O Input '/> |
| 5615 | <arg name='enc' type='xmlCharEncoding' info='the charset encoding if known '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5616 | </function> |
| 5617 | <function name='xmlNewInputFromFile' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5618 | <info>Create a new input stream based on a file.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5619 | <return type='xmlParserInputPtr' info='the new input stream or NULL in case of error '/> |
| 5620 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 5621 | <arg name='filename' type='const char *' info='the filename to use as entity '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5622 | </function> |
| 5623 | <function name='xmlNewInputStream' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5624 | <info>Create a new input stream structure</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5625 | <return type='xmlParserInputPtr' info='the new input stream or NULL '/> |
| 5626 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5627 | </function> |
| 5628 | <function name='xmlNewMutex' file='threads'> |
| 5629 | <return type='xmlMutexPtr'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5630 | </function> |
| 5631 | <function name='xmlNewNode' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5632 | <info>Creation of a new node element. ns is optional (NULL).</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5633 | <return type='xmlNodePtr' info='a pointer to the new node object. '/> |
| 5634 | <arg name='ns' type='xmlNsPtr' info='namespace if any '/> |
| 5635 | <arg name='name' type='const xmlChar *' info='the node name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5636 | </function> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 5637 | <function name='xmlNewNodeEatName' file='tree'> |
| 5638 | <info>Creation of a new node element. ns is optional (NULL).</info> |
| 5639 | <return type='xmlNodePtr' info='a pointer to the new node object. '/> |
| 5640 | <arg name='ns' type='xmlNsPtr' info='namespace if any '/> |
| 5641 | <arg name='name' type='xmlChar *' info='the node name '/> |
| 5642 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5643 | <function name='xmlNewNs' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5644 | <info>Creation of a new Namespace. This function will refuse to create a namespace with a similar prefix than an existing one present on this node. We use href==NULL in the case of an element creation where the namespace was not defined.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5645 | <return type='xmlNsPtr' info='a new namespace pointer or NULL '/> |
| 5646 | <arg name='node' type='xmlNodePtr' info='the element carrying the namespace '/> |
| 5647 | <arg name='href' type='const xmlChar *' info='the URI associated '/> |
| 5648 | <arg name='prefix' type='const xmlChar *' info='the prefix for the namespace '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5649 | </function> |
| 5650 | <function name='xmlNewNsProp' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5651 | <info>Create a new property tagged with a namespace and carried by a node.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5652 | <return type='xmlAttrPtr' info='a pointer to the attribute '/> |
| 5653 | <arg name='node' type='xmlNodePtr' info='the holding node '/> |
| 5654 | <arg name='ns' type='xmlNsPtr' info='the namespace '/> |
| 5655 | <arg name='name' type='const xmlChar *' info='the name of the attribute '/> |
| 5656 | <arg name='value' type='const xmlChar *' info='the value of the attribute '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5657 | </function> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 5658 | <function name='xmlNewNsPropEatName' file='tree'> |
| 5659 | <info>Create a new property tagged with a namespace and carried by a node.</info> |
| 5660 | <return type='xmlAttrPtr' info='a pointer to the attribute '/> |
| 5661 | <arg name='node' type='xmlNodePtr' info='the holding node '/> |
| 5662 | <arg name='ns' type='xmlNsPtr' info='the namespace '/> |
| 5663 | <arg name='name' type='xmlChar *' info='the name of the attribute '/> |
| 5664 | <arg name='value' type='const xmlChar *' info='the value of the attribute '/> |
| 5665 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5666 | <function name='xmlNewPI' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5667 | <info>Creation of a processing instruction element.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5668 | <return type='xmlNodePtr' info='a pointer to the new node object. '/> |
| 5669 | <arg name='name' type='const xmlChar *' info='the processing instruction name '/> |
| 5670 | <arg name='content' type='const xmlChar *' info='the PI content '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5671 | </function> |
| 5672 | <function name='xmlNewParserCtxt' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5673 | <info>Allocate and initialize a new parser context.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5674 | <return type='xmlParserCtxtPtr' info='the xmlParserCtxtPtr or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5675 | </function> |
| 5676 | <function name='xmlNewProp' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5677 | <info>Create a new property carried by a node.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5678 | <return type='xmlAttrPtr' info='a pointer to the attribute '/> |
| 5679 | <arg name='node' type='xmlNodePtr' info='the holding node '/> |
| 5680 | <arg name='name' type='const xmlChar *' info='the name of the attribute '/> |
| 5681 | <arg name='value' type='const xmlChar *' info='the value of the attribute '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5682 | </function> |
| 5683 | <function name='xmlNewRMutex' file='threads'> |
| 5684 | <return type='xmlRMutexPtr'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5685 | </function> |
| 5686 | <function name='xmlNewReference' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5687 | <info>Creation of a new reference node.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5688 | <return type='xmlNodePtr' info='a pointer to the new node object. '/> |
| 5689 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 5690 | <arg name='name' type='const xmlChar *' info='the reference name, or the reference string with & and ; '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5691 | </function> |
| 5692 | <function name='xmlNewStringInputStream' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5693 | <info>Create a new input stream based on a memory buffer.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5694 | <return type='xmlParserInputPtr' info='the new input stream '/> |
| 5695 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 5696 | <arg name='buffer' type='const xmlChar *' info='an memory buffer '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5697 | </function> |
| 5698 | <function name='xmlNewText' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5699 | <info>Creation of a new text node.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5700 | <return type='xmlNodePtr' info='a pointer to the new node object. '/> |
| 5701 | <arg name='content' type='const xmlChar *' info='the text content '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5702 | </function> |
| 5703 | <function name='xmlNewTextChild' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5704 | <info>Creation of a new child element, added at the end of parent children list. ns and content parameters are optional (NULL). If content is non NULL, a child TEXT node will be created containing the string content.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5705 | <return type='xmlNodePtr' info='a pointer to the new node object. '/> |
| 5706 | <arg name='parent' type='xmlNodePtr' info='the parent node '/> |
| 5707 | <arg name='ns' type='xmlNsPtr' info='a namespace if any '/> |
| 5708 | <arg name='name' type='const xmlChar *' info='the name of the child '/> |
| 5709 | <arg name='content' type='const xmlChar *' info='the text content of the child if any. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5710 | </function> |
| 5711 | <function name='xmlNewTextLen' file='tree'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5712 | <info>Creation of a new text node with an extra parameter for the content's length</info> |
| 5713 | <return type='xmlNodePtr' info='a pointer to the new node object. '/> |
| 5714 | <arg name='content' type='const xmlChar *' info='the text content '/> |
| 5715 | <arg name='len' type='int' info='the text len. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5716 | </function> |
| 5717 | <function name='xmlNextChar' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5718 | <info>Skip to the next char input char.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5719 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5720 | <arg name='ctxt' type='xmlParserCtxtPtr' info='the XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5721 | </function> |
| 5722 | <function name='xmlNoNetExternalEntityLoader' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5723 | <info>A specific entity loader disabling network accesses, though still allowing local catalog accesses for resolution.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5724 | <return type='xmlParserInputPtr' info='a new allocated xmlParserInputPtr, or NULL. '/> |
| 5725 | <arg name='URL' type='const char *' info='the URL for the entity to load '/> |
| 5726 | <arg name='ID' type='const char *' info='the System ID for the entity to load '/> |
| 5727 | <arg name='ctxt' type='xmlParserCtxtPtr' info='the context in which the entity is called or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5728 | </function> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5729 | <struct name='xmlNode' file='tree'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5730 | <function name='xmlNodeAddContent' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5731 | <info>Append the extra substring to the node content.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5732 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5733 | <arg name='cur' type='xmlNodePtr' info='the node being modified '/> |
| 5734 | <arg name='content' type='const xmlChar *' info='extra content '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5735 | </function> |
| 5736 | <function name='xmlNodeAddContentLen' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5737 | <info>Append the extra substring to the node content.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5738 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5739 | <arg name='cur' type='xmlNodePtr' info='the node being modified '/> |
| 5740 | <arg name='content' type='const xmlChar *' info='extra content '/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5741 | <arg name='len' type='int' info='the size of content'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5742 | </function> |
| 5743 | <function name='xmlNodeDump' file='tree'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 5744 | <info>Dump an XML node, recursive behaviour,children are printed too. Note that format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5745 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5746 | <arg name='buf' type='xmlBufferPtr' info='the XML buffer output '/> |
| 5747 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 5748 | <arg name='cur' type='xmlNodePtr' info='the current node '/> |
| 5749 | <arg name='level' type='int' info='the imbrication level for indenting '/> |
| 5750 | <arg name='format' type='int' info='is formatting allowed '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5751 | </function> |
| 5752 | <function name='xmlNodeDumpOutput' file='tree'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 5753 | <info>Dump an XML node, recursive behaviour, children are printed too. Note that format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5754 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5755 | <arg name='buf' type='xmlOutputBufferPtr' info='the XML buffer output '/> |
| 5756 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 5757 | <arg name='cur' type='xmlNodePtr' info='the current node '/> |
| 5758 | <arg name='level' type='int' info='the imbrication level for indenting '/> |
| 5759 | <arg name='format' type='int' info='is formatting allowed '/> |
| 5760 | <arg name='encoding' type='const char *' info='an optional encoding string '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5761 | </function> |
| 5762 | <function name='xmlNodeGetBase' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5763 | <info>Searches for the BASE URL. The code should work on both XML and HTML document even if base mechanisms are completely different. It returns the base as defined in RFC 2396 sections 5.1.1. Base URI within Document Content and 5.1.2. Base URI from the Encapsulating Entity However it does not return the document base (5.1.3), use xmlDocumentGetBase() for this</info> |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame] | 5764 | <return type='xmlChar *' info='a pointer to the base URL, or NULL if not found It's up to the caller to free the memory with xmlFree(). '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5765 | <arg name='doc' type='xmlDocPtr' info='the document the node pertains to '/> |
| 5766 | <arg name='cur' type='xmlNodePtr' info='the node being checked '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5767 | </function> |
| 5768 | <function name='xmlNodeGetContent' file='tree'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5769 | <info>Read the value of a node, this can be either the text carried directly by this node if it's a TEXT node or the aggregate string of the values carried by this node child's (TEXT and ENTITY_REF). Entity references are substituted.</info> |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame] | 5770 | <return type='xmlChar *' info='a new xmlChar * or NULL if no content is available. It's up to the caller to free the memory with xmlFree(). '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5771 | <arg name='cur' type='xmlNodePtr' info='the node being read '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5772 | </function> |
| 5773 | <function name='xmlNodeGetLang' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5774 | <info>Searches the language of a node, i.e. the values of the xml:lang attribute or the one carried by the nearest ancestor.</info> |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame] | 5775 | <return type='xmlChar *' info='a pointer to the lang value, or NULL if not found It's up to the caller to free the memory with xmlFree(). '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5776 | <arg name='cur' type='xmlNodePtr' info='the node being checked '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5777 | </function> |
| 5778 | <function name='xmlNodeGetSpacePreserve' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5779 | <info>Searches the space preserving behaviour of a node, i.e. the values of the xml:space attribute or the one carried by the nearest ancestor.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5780 | <return type='int' info='-1 if xml:space is not inherited, 0 if "default", 1 if "preserve" '/> |
| 5781 | <arg name='cur' type='xmlNodePtr' info='the node being checked '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5782 | </function> |
| 5783 | <function name='xmlNodeIsText' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5784 | <info>Is this node a Text node ?</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5785 | <return type='int' info='1 yes, 0 no '/> |
| 5786 | <arg name='node' type='xmlNodePtr' info='the node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5787 | </function> |
| 5788 | <function name='xmlNodeListGetRawString' file='tree'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5789 | <info>Returns the string equivalent to the text contained in the Node list made of TEXTs and ENTITY_REFs, contrary to xmlNodeListGetString() this function doesn't do any character encoding handling.</info> |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame] | 5790 | <return type='xmlChar *' info='a pointer to the string copy, the caller must free it with xmlFree(). '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5791 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 5792 | <arg name='list' type='xmlNodePtr' info='a Node list '/> |
| 5793 | <arg name='inLine' type='int' info='should we replace entity contents or show their external form '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5794 | </function> |
| 5795 | <function name='xmlNodeListGetString' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5796 | <info>Returns the string equivalent to the text contained in the Node list made of TEXTs and ENTITY_REFs</info> |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame] | 5797 | <return type='xmlChar *' info='a pointer to the string copy, the caller must free it with xmlFree(). '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5798 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 5799 | <arg name='list' type='xmlNodePtr' info='a Node list '/> |
| 5800 | <arg name='inLine' type='int' info='should we replace entity contents or show their external form '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5801 | </function> |
| 5802 | <typedef name='xmlNodePtr' file='tree'/> |
| 5803 | <struct name='xmlNodeSet' file='xpath'/> |
| 5804 | <function name='xmlNodeSetBase' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5805 | <info>Set (or reset) the base URI of a node, i.e. the value of the xml:base attribute.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5806 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5807 | <arg name='cur' type='xmlNodePtr' info='the node being changed '/> |
| 5808 | <arg name='uri' type='xmlChar *' info='the new base URI '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5809 | </function> |
| 5810 | <function name='xmlNodeSetContent' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5811 | <info>Replace the content of a node.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5812 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5813 | <arg name='cur' type='xmlNodePtr' info='the node being modified '/> |
| 5814 | <arg name='content' type='const xmlChar *' info='the new value of the content '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5815 | </function> |
| 5816 | <function name='xmlNodeSetContentLen' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5817 | <info>Replace the content of a node.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5818 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5819 | <arg name='cur' type='xmlNodePtr' info='the node being modified '/> |
| 5820 | <arg name='content' type='const xmlChar *' info='the new value of the content '/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5821 | <arg name='len' type='int' info='the size of content'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5822 | </function> |
| 5823 | <function name='xmlNodeSetLang' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5824 | <info>Set the language of a node, i.e. the values of the xml:lang attribute.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5825 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5826 | <arg name='cur' type='xmlNodePtr' info='the node being changed '/> |
| 5827 | <arg name='lang' type='const xmlChar *' info='the language description '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5828 | </function> |
| 5829 | <function name='xmlNodeSetName' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5830 | <info>Set (or reset) the name of a node.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5831 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5832 | <arg name='cur' type='xmlNodePtr' info='the node being changed '/> |
| 5833 | <arg name='name' type='const xmlChar *' info='the new tag name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5834 | </function> |
| 5835 | <typedef name='xmlNodeSetPtr' file='xpath'/> |
| 5836 | <function name='xmlNodeSetSpacePreserve' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5837 | <info>Set (or reset) the space preserving behaviour of a node, i.e. the value of the xml:space attribute.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5838 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5839 | <arg name='cur' type='xmlNodePtr' info='the node being changed '/> |
| 5840 | <arg name='val' type='int' info='the xml:space value ("0": default, 1: "preserve") '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5841 | </function> |
| 5842 | <function name='xmlNormalizeURIPath' file='uri'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5843 | <info>Applies the 5 normalization steps to a path string--that is, RFC 2396 Section 5.2, steps 6.c through 6.g. Normalization occurs directly on the string, no new allocation is done</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5844 | <return type='int' info='0 or an error code '/> |
| 5845 | <arg name='path' type='char *' info='pointer to the path string '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5846 | </function> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 5847 | <function name='xmlNormalizeWindowsPath' file='xmlIO'> |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame] | 5848 | <info>Normalize a Windows path to make an URL from it</info> |
| 5849 | <return type='xmlChar *' info='a new URI which must be freed by the caller or NULL in case of error '/> |
| 5850 | <arg name='path' type='const xmlChar *' info='a windows path like "C:/foo/bar" '/> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 5851 | </function> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5852 | <struct name='xmlNotation' file='tree'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5853 | <typedef name='xmlNotationPtr' file='tree'/> |
| 5854 | <typedef name='xmlNotationTablePtr' file='valid'/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5855 | <struct name='xmlNs' file='tree'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5856 | <typedef name='xmlNsPtr' file='tree'/> |
| 5857 | <typedef name='xmlNsType' file='tree'/> |
| 5858 | <struct name='xmlOutputBuffer' file='xmlIO'/> |
| 5859 | <function name='xmlOutputBufferClose' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5860 | <info>flushes and close the output I/O channel and free up all the associated resources</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5861 | <return type='int' info='the number of byte written or -1 in case of error. '/> |
| 5862 | <arg name='out' type='xmlOutputBufferPtr' info='a buffered output '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5863 | </function> |
| 5864 | <function name='xmlOutputBufferCreateFd' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5865 | <info>Create a buffered output for the progressive saving to a file descriptor</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5866 | <return type='xmlOutputBufferPtr' info='the new parser output or NULL '/> |
| 5867 | <arg name='fd' type='int' info='a file descriptor number '/> |
| 5868 | <arg name='encoder' type='xmlCharEncodingHandlerPtr' info='the encoding converter or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5869 | </function> |
| 5870 | <function name='xmlOutputBufferCreateFile' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5871 | <info>Create a buffered output for the progressive saving to a FILE * buffered C I/O</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5872 | <return type='xmlOutputBufferPtr' info='the new parser output or NULL '/> |
| 5873 | <arg name='file' type='FILE *' info='a FILE* '/> |
| 5874 | <arg name='encoder' type='xmlCharEncodingHandlerPtr' info='the encoding converter or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5875 | </function> |
| 5876 | <function name='xmlOutputBufferCreateFilename' file='xmlIO'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5877 | <info>Create a buffered output for the progressive saving of a file If filename is "-' then we use stdout as the output. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. TODO: currently if compression is set, the library only support writing to a local file.</info> |
| 5878 | <return type='xmlOutputBufferPtr' info='the new output or NULL '/> |
| 5879 | <arg name='URI' type='const char *' info='a C string containing the URI or filename '/> |
| 5880 | <arg name='encoder' type='xmlCharEncodingHandlerPtr' info='the encoding converter or NULL '/> |
| 5881 | <arg name='compression' type='int' info='the compression ration (0 none, 9 max). '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5882 | </function> |
| 5883 | <function name='xmlOutputBufferCreateIO' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5884 | <info>Create a buffered output for the progressive saving to an I/O handler</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5885 | <return type='xmlOutputBufferPtr' info='the new parser output or NULL '/> |
| 5886 | <arg name='iowrite' type='xmlOutputWriteCallback' info='an I/O write function '/> |
| 5887 | <arg name='ioclose' type='xmlOutputCloseCallback' info='an I/O close function '/> |
| 5888 | <arg name='ioctx' type='void *' info='an I/O handler '/> |
| 5889 | <arg name='encoder' type='xmlCharEncodingHandlerPtr' info='the charset encoding if known '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5890 | </function> |
| 5891 | <function name='xmlOutputBufferFlush' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5892 | <info>flushes the output I/O channel</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5893 | <return type='int' info='the number of byte written or -1 in case of error. '/> |
| 5894 | <arg name='out' type='xmlOutputBufferPtr' info='a buffered output '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5895 | </function> |
| 5896 | <typedef name='xmlOutputBufferPtr' file='tree'/> |
| 5897 | <function name='xmlOutputBufferWrite' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5898 | <info>Write the content of the array in the output I/O buffer This routine handle the I18N transcoding from internal UTF-8 The buffer is lossless, i.e. will store in case of partial or delayed writes.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5899 | <return type='int' info='the number of chars immediately written, or -1 in case of error. '/> |
| 5900 | <arg name='out' type='xmlOutputBufferPtr' info='a buffered parser output '/> |
| 5901 | <arg name='len' type='int' info='the size in bytes of the array. '/> |
| 5902 | <arg name='buf' type='const char *' info='an char array '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5903 | </function> |
| 5904 | <function name='xmlOutputBufferWriteString' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5905 | <info>Write the content of the string in the output I/O buffer This routine handle the I18N transcoding from internal UTF-8 The buffer is lossless, i.e. will store in case of partial or delayed writes.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5906 | <return type='int' info='the number of chars immediately written, or -1 in case of error. '/> |
| 5907 | <arg name='out' type='xmlOutputBufferPtr' info='a buffered parser output '/> |
| 5908 | <arg name='str' type='const char *' info='a zero terminated C string '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5909 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5910 | <functype name='xmlOutputCloseCallback' file='xmlIO'> |
| 5911 | <info>Callback used in the I/O Output API to close the resource</info> |
| 5912 | <return type='int' info='0 or -1 in case of error '/> |
| 5913 | <arg name='context' type='void *' info='an Output context '/> |
| 5914 | </functype> |
| 5915 | <functype name='xmlOutputMatchCallback' file='xmlIO'> |
| 5916 | <info>Callback used in the I/O Output API to detect if the current handler can provide output fonctionnalities for this resource.</info> |
| 5917 | <return type='int' info='1 if yes and 0 if another Output module should be used '/> |
| 5918 | <arg name='filename' type='char const *' info='the filename or URI '/> |
| 5919 | </functype> |
| 5920 | <functype name='xmlOutputOpenCallback' file='xmlIO'> |
| 5921 | <info>Callback used in the I/O Output API to open the resource</info> |
| 5922 | <return type='void *'/> |
| 5923 | <arg name='filename' type='char const *' info='the filename or URI '/> |
| 5924 | </functype> |
| 5925 | <functype name='xmlOutputWriteCallback' file='xmlIO'> |
| 5926 | <info>Callback used in the I/O Output API to write to the resource</info> |
| 5927 | <return type='int' info='the number of bytes written or -1 in case of error '/> |
| 5928 | <arg name='context' type='void *' info='an Output context '/> |
| 5929 | <arg name='buffer' type='const char *' info='the buffer of data to write '/> |
| 5930 | <arg name='len' type='int' info='the length of the buffer in bytes '/> |
| 5931 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5932 | <function name='xmlParseAttValue' file='parserInternals'> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 5933 | <info>parse a value for an attribute Note: the parser won't do substitution of entities here, this will be handled later in xmlStringGetNodeList [10] AttValue ::= '"' ([^<&"] | Reference)* '"' | "'" ([^<&'] | Reference)* "'" 3.3.3 Attribute-Value Normalization: Before the value of an attribute is passed to the application or checked for validity, the XML processor must normalize it as follows: - a character reference is processed by appending the referenced character to the attribute value - an entity reference is processed by recursively processing the replacement text of the entity - a whitespace character (x20, xD, xA, x9) is processed by appending x20 to the normalized value, except that only a single x20 is appended for a "xDxA" sequence that is part of an external parsed entity or the literal entity value of an internal parsed entity - other characters are processed by appending them to the normalized value If the declared value is not CDATA, then the XML processor must further process the normalized attribute value by discarding any leading and trailing space (x20) characters, and by replacing sequences of space (x20) characters by a single space (x20) character. All attributes for which no declaration has been read should be treated by a non-validating parser as if declared CDATA.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5934 | <return type='xmlChar *' info='the AttValue parsed or NULL. The value has to be freed by the caller. '/> |
| 5935 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5936 | </function> |
| 5937 | <function name='xmlParseAttribute' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5938 | <info>parse an attribute [41] Attribute ::= Name Eq AttValue [ WFC: No External Entity References ] Attribute values cannot contain direct or indirect entity references to external entities. [ WFC: No < in Attribute Values ] The replacement text of any entity referred to directly or indirectly in an attribute value (other than "&lt;") must not contain a <. [ VC: Attribute Value Type ] The attribute must have been declared; the value must be of the type declared for it. [25] Eq ::= S? '=' S? With namespace: [NS 11] Attribute ::= QName Eq AttValue Also the case QName == xmlns:??? is handled independently as a namespace definition.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5939 | <return type='xmlChar *' info='the attribute name, and the value in *value. '/> |
| 5940 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 5941 | <arg name='value' type='xmlChar **' info='a xmlChar ** used to store the value of the attribute '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5942 | </function> |
| 5943 | <function name='xmlParseAttributeListDecl' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5944 | <info>: parse the Attribute list def for an element [52] AttlistDecl ::= '<!ATTLIST' S Name AttDef* S? '>' [53] AttDef ::= S Name S AttType S DefaultDecl</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5945 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5946 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5947 | </function> |
| 5948 | <function name='xmlParseAttributeType' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5949 | <info>parse the Attribute list def for an element [54] AttType ::= StringType | TokenizedType | EnumeratedType [55] StringType ::= 'CDATA' [56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' | 'ENTITIES' | 'NMTOKEN' | 'NMTOKENS' Validity constraints for attribute values syntax are checked in xmlValidateAttributeValue() [ VC: ID ] Values of type ID must match the Name production. A name must not appear more than once in an XML document as a value of this type; i.e., ID values must uniquely identify the elements which bear them. [ VC: One ID per Element Type ] No element type may have more than one ID attribute specified. [ VC: ID Attribute Default ] An ID attribute must have a declared default of IMPLIED or REQUIRED. [ VC: IDREF ] Values of type IDREF must match the Name production, and values of type IDREFS must match Names; each IDREF Name must match the value of an ID attribute on some element in the XML document; i.e. IDREF values must match the value of some ID attribute. [ VC: Entity Name ] Values of type ENTITY must match the Name production, values of type ENTITIES must match Names; each Entity Name must match the name of an unparsed entity declared in the DTD. [ VC: Name Token ] Values of type NMTOKEN must match the Nmtoken production; values of type NMTOKENS must match Nmtokens.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5950 | <return type='int' info='the attribute type '/> |
| 5951 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 5952 | <arg name='tree' type='xmlEnumerationPtr *' info='the enumeration tree built while parsing '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5953 | </function> |
| 5954 | <function name='xmlParseBalancedChunkMemory' file='parser'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5955 | <info>Parse a well-balanced chunk of an XML document called by the parser The allowed sequence for the Well Balanced Chunk is the one defined by the content production in the XML grammar: [43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5956 | <return type='int' info='0 if the chunk is well balanced, -1 in case of args problem and the parser error code otherwise '/> |
| 5957 | <arg name='doc' type='xmlDocPtr' info='the document the chunk pertains to '/> |
| 5958 | <arg name='sax' type='xmlSAXHandlerPtr' info='the SAX handler bloc (possibly NULL) '/> |
| 5959 | <arg name='user_data' type='void *' info='The user data returned on SAX callbacks (possibly NULL) '/> |
| 5960 | <arg name='depth' type='int' info='Used for loop detection, use 0 '/> |
| 5961 | <arg name='string' type='const xmlChar *' info='the input string in UTF8 or ISO-Latin (zero terminated) '/> |
| 5962 | <arg name='lst' type='xmlNodePtr *' info='the return value for the set of parsed nodes '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5963 | </function> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 5964 | <function name='xmlParseBalancedChunkMemoryRecover' file='parser'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5965 | <info>Parse a well-balanced chunk of an XML document called by the parser The allowed sequence for the Well Balanced Chunk is the one defined by the content production in the XML grammar: [43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</info> |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame] | 5966 | <return type='int' info='0 if the chunk is well balanced, -1 in case of args problem and the parser error code otherwise In case recover is set to 1, the nodelist will not be empty even if the parsed chunk is not well balanced. '/> |
| 5967 | <arg name='doc' type='xmlDocPtr' info='the document the chunk pertains to '/> |
| 5968 | <arg name='sax' type='xmlSAXHandlerPtr' info='the SAX handler bloc (possibly NULL) '/> |
| 5969 | <arg name='user_data' type='void *' info='The user data returned on SAX callbacks (possibly NULL) '/> |
| 5970 | <arg name='depth' type='int' info='Used for loop detection, use 0 '/> |
| 5971 | <arg name='string' type='const xmlChar *' info='the input string in UTF8 or ISO-Latin (zero terminated) '/> |
| 5972 | <arg name='lst' type='xmlNodePtr *' info='the return value for the set of parsed nodes '/> |
| 5973 | <arg name='recover' type='int' info='return nodes even if the data is broken (use 0) '/> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 5974 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5975 | <function name='xmlParseCDSect' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5976 | <info>Parse escaped pure raw content. [18] CDSect ::= CDStart CData CDEnd [19] CDStart ::= '<![CDATA[' [20] Data ::= (Char* - (Char* ']]>' Char*)) [21] CDEnd ::= ']]>'</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5977 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5978 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5979 | </function> |
| 5980 | <function name='xmlParseCatalogFile' file='catalog'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5981 | <info>parse an XML file and build a tree. It's like xmlParseFile() except it bypass all catalog lookups.</info> |
| 5982 | <return type='xmlDocPtr' info='the resulting document tree or NULL in case of error '/> |
| 5983 | <arg name='filename' type='const char *' info='the filename '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5984 | </function> |
| 5985 | <function name='xmlParseCharData' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5986 | <info>parse a CharData section. if we are within a CDATA section ']]>' marks an end of section. The right angle bracket (>) may be represented using the string "&gt;", and must, for compatibility, be escaped using "&gt;" or a character reference when it appears in the string "]]>" in content, when that string is not marking the end of a CDATA section. [14] CharData ::= [^<&]* - ([^<&]* ']]>' [^<&]*)</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5987 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5988 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 5989 | <arg name='cdata' type='int' info='int indicating whether we are within a CDATA section '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5990 | </function> |
| 5991 | <function name='xmlParseCharEncoding' file='encoding'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 5992 | <info>Compare the string to the known encoding schemes already known. Note that the comparison is case insensitive accordingly to the section [XML] 4.3.3 Character Encoding in Entities.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5993 | <return type='xmlCharEncoding' info='one of the XML_CHAR_ENCODING_... values or XML_CHAR_ENCODING_NONE if not recognized. '/> |
| 5994 | <arg name='name' type='const char *' info='the encoding name as parsed, in UTF-8 format (ASCII actually) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 5995 | </function> |
| 5996 | <function name='xmlParseCharRef' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 5997 | <info>parse Reference declarations [66] CharRef ::= '&#' [0-9]+ ';' | '&x' [0-9a-fA-F]+ ';' [ WFC: Legal Character ] Characters referred to using character references must match the production for Char.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 5998 | <return type='int' info='the value parsed (as an int), 0 in case of error '/> |
| 5999 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6000 | </function> |
| 6001 | <function name='xmlParseChunk' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6002 | <info>Parse a Chunk of memory</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6003 | <return type='int' info='zero if no error, the xmlParserErrors otherwise. '/> |
| 6004 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 6005 | <arg name='chunk' type='const char *' info='an char array '/> |
| 6006 | <arg name='size' type='int' info='the size in byte of the chunk '/> |
| 6007 | <arg name='terminate' type='int' info='last chunk indicator '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6008 | </function> |
| 6009 | <function name='xmlParseComment' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6010 | <info>Skip an XML (SGML) comment <!-- .... --> The spec says that "For compatibility, the string "--" (double-hyphen) must not occur within comments. " [15] Comment ::= '<!--' ((Char - '-') | ('-' (Char - '-')))* '-->'</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6011 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6012 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6013 | </function> |
| 6014 | <function name='xmlParseContent' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6015 | <info>Parse a content: [43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6016 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6017 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6018 | </function> |
| 6019 | <function name='xmlParseCtxtExternalEntity' file='parser'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6020 | <info>Parse an external general entity within an existing parsing context An external general parsed entity is well-formed if it matches the production labeled extParsedEnt. [78] extParsedEnt ::= TextDecl? content</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6021 | <return type='int' info='0 if the entity is well formed, -1 in case of args problem and the parser error code otherwise '/> |
| 6022 | <arg name='ctx' type='xmlParserCtxtPtr' info='the existing parsing context '/> |
| 6023 | <arg name='URL' type='const xmlChar *' info='the URL for the entity to load '/> |
| 6024 | <arg name='ID' type='const xmlChar *' info='the System ID for the entity to load '/> |
| 6025 | <arg name='lst' type='xmlNodePtr *' info='the return value for the set of parsed nodes '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6026 | </function> |
| 6027 | <function name='xmlParseDTD' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6028 | <info>Load and parse an external subset.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6029 | <return type='xmlDtdPtr' info='the resulting xmlDtdPtr or NULL in case of error. '/> |
| 6030 | <arg name='ExternalID' type='const xmlChar *' info='a NAME* containing the External ID of the DTD '/> |
| 6031 | <arg name='SystemID' type='const xmlChar *' info='a NAME* containing the URL to the DTD '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6032 | </function> |
| 6033 | <function name='xmlParseDefaultDecl' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6034 | <info>Parse an attribute default declaration [60] DefaultDecl ::= 'REQUIRED' | 'IMPLIED' | (('FIXED' S)? AttValue) [ VC: Required Attribute ] if the default declaration is the keyword REQUIRED, then the attribute must be specified for all elements of the type in the attribute-list declaration. [ VC: Attribute Default Legal ] The declared default value must meet the lexical constraints of the declared attribute type c.f. xmlValidateAttributeDecl() [ VC: Fixed Attribute Default ] if an attribute has a default value declared with the FIXED keyword, instances of that attribute must match the default value. [ WFC: No < in Attribute Values ] handled in xmlParseAttValue()</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6035 | <return type='int' info='XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED or XML_ATTRIBUTE_FIXED. '/> |
| 6036 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 6037 | <arg name='value' type='xmlChar **' info='Receive a possible fixed default value for the attribute '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6038 | </function> |
| 6039 | <function name='xmlParseDoc' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6040 | <info>parse an XML in-memory document and build a tree.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6041 | <return type='xmlDocPtr' info='the resulting document tree '/> |
| 6042 | <arg name='cur' type='xmlChar *' info='a pointer to an array of xmlChar '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6043 | </function> |
| 6044 | <function name='xmlParseDocTypeDecl' file='parserInternals'> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 6045 | <info>parse a DOCTYPE declaration [28] doctypedecl ::= '<!DOCTYPE' S Name (S ExternalID)? S? ('[' (markupdecl | PEReference | S)* ']' S?)? '>' [ VC: Root Element Type ] The Name in the document type declaration must match the element type of the root element.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6046 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6047 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6048 | </function> |
| 6049 | <function name='xmlParseDocument' file='parser'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6050 | <info>parse an XML document (and build a tree if using the standard SAX interface). [1] document ::= prolog element Misc* [22] prolog ::= XMLDecl? Misc* (doctypedecl Misc*)?</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6051 | <return type='int' info='0, -1 in case of error. the parser context is augmented as a result of the parsing. '/> |
| 6052 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6053 | </function> |
| 6054 | <function name='xmlParseElement' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6055 | <info>parse an XML element, this is highly recursive [39] element ::= EmptyElemTag | STag content ETag [ WFC: Element Type Match ] The Name in an element's end-tag must match the element type in the start-tag. [ VC: Element Valid ] An element is valid if there is a declaration matching elementdecl where the Name matches the element type and one of the following holds: - The declaration matches EMPTY and the element has no content. - The declaration matches children and the sequence of child elements belongs to the language generated by the regular expression in the content model, with optional white space (characters matching the nonterminal S) between each pair of child elements. - The declaration matches Mixed and the content consists of character data and child elements whose types match names in the content model. - The declaration matches ANY, and the types of any child elements have been declared.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6056 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6057 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6058 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6059 | <function name='xmlParseElementChildrenContentDecl' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6060 | <info>parse the declaration for a Mixed Element content The leading '(' and spaces have been skipped in xmlParseElementContentDecl [47] children ::= (choice | seq) ('?' | '*' | '+')? [48] cp ::= (Name | choice | seq) ('?' | '*' | '+')? [49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')' [50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')' [ VC: Proper Group/PE Nesting ] applies to [49] and [50] TODO Parameter-entity replacement text must be properly nested with parenthesized groups. That is to say, if either of the opening or closing parentheses in a choice, seq, or Mixed construct is contained in the replacement text for a parameter entity, both must be contained in the same replacement text. For interoperability, if a parameter-entity reference appears in a choice, seq, or Mixed construct, its replacement text should not be empty, and neither the first nor last non-blank character of the replacement text should be a connector (| or ,).</info> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 6061 | <return type='xmlElementContentPtr' info='the tree of xmlElementContentPtr describing the element hierarchy. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6062 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 6063 | <arg name='inputchk' type='xmlParserInputPtr'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6064 | </function> |
| 6065 | <function name='xmlParseElementContentDecl' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6066 | <info>parse the declaration for an Element content either Mixed or Children, the cases EMPTY and ANY are handled directly in xmlParseElementDecl [46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6067 | <return type='int' info='the type of element content XML_ELEMENT_TYPE_xxx '/> |
| 6068 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 6069 | <arg name='name' type='xmlChar *' info='the name of the element being defined. '/> |
| 6070 | <arg name='result' type='xmlElementContentPtr *' info='the Element Content pointer will be stored here if any '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6071 | </function> |
| 6072 | <function name='xmlParseElementDecl' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6073 | <info>parse an Element declaration. [45] elementdecl ::= '<!ELEMENT' S Name S contentspec S? '>' [ VC: Unique Element Type Declaration ] No element type may be declared more than once</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6074 | <return type='int' info='the type of the element, or -1 in case of error '/> |
| 6075 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6076 | </function> |
| 6077 | <function name='xmlParseElementMixedContentDecl' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6078 | <info>parse the declaration for a Mixed Element content The leading '(' and spaces have been skipped in xmlParseElementContentDecl [51] Mixed ::= '(' S? 'PCDATA' (S? '|' S? Name)* S? ')*' | '(' S? 'PCDATA' S? ')' [ VC: Proper Group/PE Nesting ] applies to [51] too (see [49]) [ VC: No Duplicate Types ] The same name must not appear more than once in a single mixed-content declaration.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6079 | <return type='xmlElementContentPtr' info='the list of the xmlElementContentPtr describing the element choices '/> |
| 6080 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 6081 | <arg name='inputchk' type='xmlParserInputPtr'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6082 | </function> |
| 6083 | <function name='xmlParseEncName' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6084 | <info>parse the XML encoding name [81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6085 | <return type='xmlChar *' info='the encoding name value or NULL '/> |
| 6086 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6087 | </function> |
| 6088 | <function name='xmlParseEncodingDecl' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6089 | <info>parse the XML encoding declaration [80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'") this setups the conversion filters.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6090 | <return type='xmlChar *' info='the encoding value or NULL '/> |
| 6091 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6092 | </function> |
| 6093 | <function name='xmlParseEndTag' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6094 | <info>parse an end of tag [42] ETag ::= '</' Name S? '>' With namespace [NS 9] ETag ::= '</' QName S? '>'</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6095 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6096 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6097 | </function> |
| 6098 | <function name='xmlParseEntity' file='parser'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6099 | <info>parse an XML external entity out of context and build a tree. [78] extParsedEnt ::= TextDecl? content This correspond to a "Well Balanced" chunk</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6100 | <return type='xmlDocPtr' info='the resulting document tree '/> |
| 6101 | <arg name='filename' type='const char *' info='the filename '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6102 | </function> |
| 6103 | <function name='xmlParseEntityDecl' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6104 | <info>parse <!ENTITY declarations [70] EntityDecl ::= GEDecl | PEDecl [71] GEDecl ::= '<!ENTITY' S Name S EntityDef S? '>' [72] PEDecl ::= '<!ENTITY' S '%' S Name S PEDef S? '>' [73] EntityDef ::= EntityValue | (ExternalID NDataDecl?) [74] PEDef ::= EntityValue | ExternalID [76] NDataDecl ::= S 'NDATA' S Name [ VC: Notation Declared ] The Name must match the declared name of a notation.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6105 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6106 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6107 | </function> |
| 6108 | <function name='xmlParseEntityRef' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6109 | <info>parse ENTITY references declarations [68] EntityRef ::= '&' Name ';' [ WFC: Entity Declared ] In a document without any DTD, a document with only an internal DTD subset which contains no parameter entity references, or a document with "standalone='yes'", the Name given in the entity reference must match that in an entity declaration, except that well-formed documents need not declare any of the following entities: amp, lt, gt, apos, quot. The declaration of a parameter entity must precede any reference to it. Similarly, the declaration of a general entity must precede any reference to it which appears in a default value in an attribute-list declaration. Note that if entities are declared in the external subset or in external parameter entities, a non-validating processor is not obligated to read and process their declarations; for such documents, the rule that an entity must be declared is a well-formedness constraint only if standalone='yes'. [ WFC: Parsed Entity ] An entity reference must not contain the name of an unparsed entity</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6110 | <return type='xmlEntityPtr' info='the xmlEntityPtr if found, or NULL otherwise. '/> |
| 6111 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6112 | </function> |
| 6113 | <function name='xmlParseEntityValue' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6114 | <info>parse a value for ENTITY declarations [9] EntityValue ::= '"' ([^%&"] | PEReference | Reference)* '"' | "'" ([^%&'] | PEReference | Reference)* "'"</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6115 | <return type='xmlChar *' info='the EntityValue parsed with reference substituted or NULL '/> |
| 6116 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 6117 | <arg name='orig' type='xmlChar **' info='if non-NULL store a copy of the original entity value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6118 | </function> |
| 6119 | <function name='xmlParseEnumeratedType' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6120 | <info>parse an Enumerated attribute type. [57] EnumeratedType ::= NotationType | Enumeration [58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6121 | <return type='int' info='XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION '/> |
| 6122 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 6123 | <arg name='tree' type='xmlEnumerationPtr *' info='the enumeration tree built while parsing '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6124 | </function> |
| 6125 | <function name='xmlParseEnumerationType' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6126 | <info>parse an Enumeration attribute type. [59] Enumeration ::= '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')' [ VC: Enumeration ] Values of this type must match one of the Nmtoken tokens in the declaration</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6127 | <return type='xmlEnumerationPtr' info='the enumeration attribute tree built while parsing '/> |
| 6128 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6129 | </function> |
| 6130 | <function name='xmlParseExtParsedEnt' file='parser'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6131 | <info>parse a general parsed entity An external general parsed entity is well-formed if it matches the production labeled extParsedEnt. [78] extParsedEnt ::= TextDecl? content</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6132 | <return type='int' info='0, -1 in case of error. the parser context is augmented as a result of the parsing. '/> |
| 6133 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6134 | </function> |
| 6135 | <function name='xmlParseExternalEntity' file='parser'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6136 | <info>Parse an external general entity An external general parsed entity is well-formed if it matches the production labeled extParsedEnt. [78] extParsedEnt ::= TextDecl? content</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6137 | <return type='int' info='0 if the entity is well formed, -1 in case of args problem and the parser error code otherwise '/> |
| 6138 | <arg name='doc' type='xmlDocPtr' info='the document the chunk pertains to '/> |
| 6139 | <arg name='sax' type='xmlSAXHandlerPtr' info='the SAX handler bloc (possibly NULL) '/> |
| 6140 | <arg name='user_data' type='void *' info='The user data returned on SAX callbacks (possibly NULL) '/> |
| 6141 | <arg name='depth' type='int' info='Used for loop detection, use 0 '/> |
| 6142 | <arg name='URL' type='const xmlChar *' info='the URL for the entity to load '/> |
| 6143 | <arg name='ID' type='const xmlChar *' info='the System ID for the entity to load '/> |
| 6144 | <arg name='lst' type='xmlNodePtr *' info='the return value for the set of parsed nodes '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6145 | </function> |
| 6146 | <function name='xmlParseExternalID' file='parserInternals'> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 6147 | <info>Parse an External ID or a Public ID NOTE: Productions [75] and [83] interact badly since [75] can generate 'PUBLIC' S PubidLiteral S SystemLiteral [75] ExternalID ::= 'SYSTEM' S SystemLiteral | 'PUBLIC' S PubidLiteral S SystemLiteral [83] PublicID ::= 'PUBLIC' S PubidLiteral</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6148 | <return type='xmlChar *' info='the function returns SystemLiteral and in the second case publicID receives PubidLiteral, is strict is off it is possible to return NULL and have publicID set. '/> |
| 6149 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 6150 | <arg name='publicID' type='xmlChar **' info='a xmlChar** receiving PubidLiteral '/> |
| 6151 | <arg name='strict' type='int' info='indicate whether we should restrict parsing to only production [75], see NOTE below '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6152 | </function> |
| 6153 | <function name='xmlParseExternalSubset' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6154 | <info>parse Markup declarations from an external subset [30] extSubset ::= textDecl? extSubsetDecl [31] extSubsetDecl ::= (markupdecl | conditionalSect | PEReference | S) *</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6155 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6156 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 6157 | <arg name='ExternalID' type='const xmlChar *' info='the external identifier '/> |
| 6158 | <arg name='SystemID' type='const xmlChar *' info='the system identifier (or URL) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6159 | </function> |
| 6160 | <function name='xmlParseFile' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6161 | <info>parse an XML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6162 | <return type='xmlDocPtr' info='the resulting document tree if the file was wellformed, NULL otherwise. '/> |
| 6163 | <arg name='filename' type='const char *' info='the filename '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6164 | </function> |
| 6165 | <function name='xmlParseMarkupDecl' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6166 | <info>parse Markup declarations [29] markupdecl ::= elementdecl | AttlistDecl | EntityDecl | NotationDecl | PI | Comment [ VC: Proper Declaration/PE Nesting ] Parameter-entity replacement text must be properly nested with markup declarations. That is to say, if either the first character or the last character of a markup declaration (markupdecl above) is contained in the replacement text for a parameter-entity reference, both must be contained in the same replacement text. [ WFC: PEs in Internal Subset ] In the internal DTD subset, parameter-entity references can occur only where markup declarations can occur, not within markup declarations. (This does not apply to references that occur in external parameter entities or to the external subset.)</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6167 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6168 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6169 | </function> |
| 6170 | <function name='xmlParseMemory' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6171 | <info>parse an XML in-memory block and build a tree.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6172 | <return type='xmlDocPtr' info='the resulting document tree '/> |
| 6173 | <arg name='buffer' type='const char *' info='an pointer to a char array '/> |
| 6174 | <arg name='size' type='int' info='the size of the array '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6175 | </function> |
| 6176 | <function name='xmlParseMisc' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6177 | <info>parse an XML Misc* optional field. [27] Misc ::= Comment | PI | S</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6178 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6179 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6180 | </function> |
| 6181 | <function name='xmlParseName' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6182 | <info>parse an XML name. [4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender [5] Name ::= (Letter | '_' | ':') (NameChar)* [6] Names ::= Name (S Name)*</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6183 | <return type='xmlChar *' info='the Name parsed or NULL '/> |
| 6184 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6185 | </function> |
| 6186 | <function name='xmlParseNamespace' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6187 | <info>xmlParseNamespace: parse specific PI '<?namespace ...' constructs. This is what the older xml-name Working Draft specified, a bunch of other stuff may still rely on it, so support is still here as if it was declared on the root of the Tree:-( TODO: remove from library To be removed at next drop of binary compatibility</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6188 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6189 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6190 | </function> |
| 6191 | <function name='xmlParseNmtoken' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6192 | <info>parse an XML Nmtoken. [7] Nmtoken ::= (NameChar)+ [8] Nmtokens ::= Nmtoken (S Nmtoken)*</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6193 | <return type='xmlChar *' info='the Nmtoken parsed or NULL '/> |
| 6194 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6195 | </function> |
| 6196 | <function name='xmlParseNotationDecl' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6197 | <info>parse a notation declaration [82] NotationDecl ::= '<!NOTATION' S Name S (ExternalID | PublicID) S? '>' Hence there is actually 3 choices: 'PUBLIC' S PubidLiteral 'PUBLIC' S PubidLiteral S SystemLiteral and 'SYSTEM' S SystemLiteral See the NOTE on xmlParseExternalID().</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6198 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6199 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6200 | </function> |
| 6201 | <function name='xmlParseNotationType' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6202 | <info>parse an Notation attribute type. Note: the leading 'NOTATION' S part has already being parsed... [58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')' [ VC: Notation Attributes ] Values of this type must match one of the notation names included in the declaration; all notation names in the declaration must be declared.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6203 | <return type='xmlEnumerationPtr' info='the notation attribute tree built while parsing '/> |
| 6204 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6205 | </function> |
| 6206 | <function name='xmlParsePEReference' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6207 | <info>parse PEReference declarations The entity content is handled directly by pushing it's content as a new input stream. [69] PEReference ::= '%' Name ';' [ WFC: No Recursion ] A parsed entity must not contain a recursive reference to itself, either directly or indirectly. [ WFC: Entity Declared ] In a document without any DTD, a document with only an internal DTD subset which contains no parameter entity references, or a document with "standalone='yes'", ... ... The declaration of a parameter entity must precede any reference to it... [ VC: Entity Declared ] In a document with an external subset or external parameter entities with "standalone='no'", ... ... The declaration of a parameter entity must precede any reference to it... [ WFC: In DTD ] Parameter-entity references may only appear in the DTD. NOTE: misleading but this is handled.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6208 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6209 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6210 | </function> |
| 6211 | <function name='xmlParsePI' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6212 | <info>parse an XML Processing Instruction. [16] PI ::= '<?' PITarget (S (Char* - (Char* '?>' Char*)))? '?>' The processing is transfered to SAX once parsed.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6213 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6214 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6215 | </function> |
| 6216 | <function name='xmlParsePITarget' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6217 | <info>parse the name of a PI [17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6218 | <return type='xmlChar *' info='the PITarget name or NULL '/> |
| 6219 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6220 | </function> |
| 6221 | <function name='xmlParsePubidLiteral' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6222 | <info>parse an XML public literal [12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6223 | <return type='xmlChar *' info='the PubidLiteral parsed or NULL. '/> |
| 6224 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6225 | </function> |
| 6226 | <function name='xmlParseQuotedString' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6227 | <info>Parse and return a string between quotes or doublequotes TODO: Deprecated, to be removed at next drop of binary compatibility</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6228 | <return type='xmlChar *' info='the string parser or NULL. '/> |
| 6229 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6230 | </function> |
| 6231 | <function name='xmlParseReference' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6232 | <info>parse and handle entity references in content, depending on the SAX interface, this may end-up in a call to character() if this is a CharRef, a predefined entity, if there is no reference() callback. or if the parser was asked to switch to that mode. [67] Reference ::= EntityRef | CharRef</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6233 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6234 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6235 | </function> |
| 6236 | <function name='xmlParseSDDecl' file='parserInternals'> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 6237 | <info>parse the XML standalone declaration [32] SDDecl ::= S 'standalone' Eq (("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"')) [ VC: Standalone Document Declaration ] TODO The standalone document declaration must have the value "no" if any external markup declarations contain declarations of: - attributes with default values, if elements to which these attributes apply appear in the document without specifications of values for these attributes, or - entities (other than amp, lt, gt, apos, quot), if references to those entities appear in the document, or - attributes with values subject to normalization, where the attribute appears in the document with a value which will change as a result of normalization, or - element types with element content, if white space occurs directly within any instance of those types.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6238 | <return type='int' info='1 if standalone, 0 otherwise '/> |
| 6239 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6240 | </function> |
| 6241 | <function name='xmlParseStartTag' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6242 | <info>parse a start of tag either for rule element or EmptyElement. In both case we don't parse the tag closing chars. [40] STag ::= '<' Name (S Attribute)* S? '>' [ WFC: Unique Att Spec ] No attribute name may appear more than once in the same start-tag or empty-element tag. [44] EmptyElemTag ::= '<' Name (S Attribute)* S? '/>' [ WFC: Unique Att Spec ] No attribute name may appear more than once in the same start-tag or empty-element tag. With namespace: [NS 8] STag ::= '<' QName (S Attribute)* S? '>' [NS 10] EmptyElement ::= '<' QName (S Attribute)* S? '/>'</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6243 | <return type='xmlChar *' info='the element name parsed '/> |
| 6244 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6245 | </function> |
| 6246 | <function name='xmlParseSystemLiteral' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6247 | <info>parse an XML Literal [11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6248 | <return type='xmlChar *' info='the SystemLiteral parsed or NULL '/> |
| 6249 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6250 | </function> |
| 6251 | <function name='xmlParseTextDecl' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6252 | <info>parse an XML declaration header for external entities [77] TextDecl ::= '<?xml' VersionInfo? EncodingDecl S? '?>' Question: Seems that EncodingDecl is mandatory ? Is that a typo ?</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6253 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6254 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6255 | </function> |
| 6256 | <function name='xmlParseURI' file='uri'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6257 | <info>Parse an URI URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6258 | <return type='xmlURIPtr' info='a newly build xmlURIPtr or NULL in case of error '/> |
| 6259 | <arg name='str' type='const char *' info='the URI string to analyze '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6260 | </function> |
| 6261 | <function name='xmlParseURIReference' file='uri'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6262 | <info>Parse an URI reference string and fills in the appropriate fields of the uri structure URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6263 | <return type='int' info='0 or the error code '/> |
| 6264 | <arg name='uri' type='xmlURIPtr' info='pointer to an URI structure '/> |
| 6265 | <arg name='str' type='const char *' info='the string to analyze '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6266 | </function> |
| 6267 | <function name='xmlParseVersionInfo' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6268 | <info>parse the XML version. [24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ") [25] Eq ::= S? '=' S?</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6269 | <return type='xmlChar *' info='the version string, e.g. "1.0" '/> |
| 6270 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6271 | </function> |
| 6272 | <function name='xmlParseVersionNum' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6273 | <info>parse the XML version value. [26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6274 | <return type='xmlChar *' info='the string giving the XML version number, or NULL '/> |
| 6275 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6276 | </function> |
| 6277 | <function name='xmlParseXMLDecl' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6278 | <info>parse an XML declaration header [23] XMLDecl ::= '<?xml' VersionInfo EncodingDecl? SDDecl? S? '?>'</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6279 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6280 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6281 | </function> |
| 6282 | <function name='xmlParserAddNodeInfo' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6283 | <info>Insert node info record into the sorted sequence</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6284 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6285 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 6286 | <arg name='info' type='const xmlParserNodeInfoPtr' info='a node info sequence pointer '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6287 | </function> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6288 | <struct name='xmlParserCtxt' file='tree'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6289 | <typedef name='xmlParserCtxtPtr' file='tree'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6290 | <macro name='xmlParserDebugEntities' file='globals'> |
| 6291 | <info>Global setting, asking the parser to print out debugging informations. while handling entities. Disabled by default</info> |
| 6292 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6293 | <function name='xmlParserError' file='xmlerror'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6294 | <info>Display and format an error messages, gives file, line, position and extra parameters.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6295 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6296 | <arg name='ctx' type='void *' info='an XML parser context '/> |
| 6297 | <arg name='msg' type='const char *' info='the message to display/transmit '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6298 | <arg name='' type='...'/> |
| 6299 | </function> |
| 6300 | <enum name='xmlParserErrors' file='xmlerror'/> |
| 6301 | <function name='xmlParserFindNodeInfo' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6302 | <info>Find the parser node info struct for a given node</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6303 | <return type='const xmlParserNodeInfo *' info='an xmlParserNodeInfo block pointer or NULL '/> |
| 6304 | <arg name='ctxt' type='const xmlParserCtxtPtr' info='an XML parser context '/> |
| 6305 | <arg name='node' type='const xmlNodePtr' info='an XML node within the tree '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6306 | </function> |
| 6307 | <function name='xmlParserFindNodeInfoIndex' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6308 | <info>xmlParserFindNodeInfoIndex : Find the index that the info record for the given node is or should be at in a sorted sequence</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6309 | <return type='unsigned long' info='a long indicating the position of the record '/> |
| 6310 | <arg name='seq' type='const xmlParserNodeInfoSeqPtr' info='a node info sequence pointer '/> |
| 6311 | <arg name='node' type='const xmlNodePtr' info='an XML node pointer '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6312 | </function> |
| 6313 | <function name='xmlParserGetDirectory' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6314 | <info>lookup the directory for that file</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6315 | <return type='char *' info='a new allocated string containing the directory, or NULL. '/> |
| 6316 | <arg name='filename' type='const char *' info='the path to a file '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6317 | </function> |
| 6318 | <function name='xmlParserHandlePEReference' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6319 | <info>[69] PEReference ::= '%' Name ';' [ WFC: No Recursion ] A parsed entity must not contain a recursive reference to itself, either directly or indirectly. [ WFC: Entity Declared ] In a document without any DTD, a document with only an internal DTD subset which contains no parameter entity references, or a document with "standalone='yes'", ... ... The declaration of a parameter entity must precede any reference to it... [ VC: Entity Declared ] In a document with an external subset or external parameter entities with "standalone='no'", ... ... The declaration of a parameter entity must precede any reference to it... [ WFC: In DTD ] Parameter-entity references may only appear in the DTD. NOTE: misleading but this is handled. A PEReference may have been detected in the current input stream the handling is done accordingly to http://www.w3.org/TR/REC-xmlentproc i.e. - Included in literal in entity values - Included as Parameter Entity reference within DTDs</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6320 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6321 | <arg name='ctxt' type='xmlParserCtxtPtr' info='the parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6322 | </function> |
| 6323 | <function name='xmlParserHandleReference' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6324 | <info>TODO: Remove, now deprecated ... the test is done directly in the content parsing routines. [67] Reference ::= EntityRef | CharRef [68] EntityRef ::= '&' Name ';' [ WFC: Entity Declared ] the Name given in the entity reference must match that in an entity declaration, except that well-formed documents need not declare any of the following entities: amp, lt, gt, apos, quot. [ WFC: Parsed Entity ] An entity reference must not contain the name of an unparsed entity [66] CharRef ::= '&#' [0-9]+ ';' | '&x' [0-9a-fA-F]+ ';' A PEReference may have been detected in the current input stream the handling is done accordingly to http://www.w3.org/TR/REC-xmlentproc</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6325 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6326 | <arg name='ctxt' type='xmlParserCtxtPtr' info='the parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6327 | </function> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6328 | <struct name='xmlParserInput' file='tree'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6329 | <struct name='xmlParserInputBuffer' file='xmlIO'/> |
| 6330 | <function name='xmlParserInputBufferCreateFd' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6331 | <info>Create a buffered parser input for the progressive parsing for the input from a file descriptor</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6332 | <return type='xmlParserInputBufferPtr' info='the new parser input or NULL '/> |
| 6333 | <arg name='fd' type='int' info='a file descriptor number '/> |
| 6334 | <arg name='enc' type='xmlCharEncoding' info='the charset encoding if known '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6335 | </function> |
| 6336 | <function name='xmlParserInputBufferCreateFile' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6337 | <info>Create a buffered parser input for the progressive parsing of a FILE * buffered C I/O</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6338 | <return type='xmlParserInputBufferPtr' info='the new parser input or NULL '/> |
| 6339 | <arg name='file' type='FILE *' info='a FILE* '/> |
| 6340 | <arg name='enc' type='xmlCharEncoding' info='the charset encoding if known '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6341 | </function> |
| 6342 | <function name='xmlParserInputBufferCreateFilename' file='xmlIO'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6343 | <info>Create a buffered parser input for the progressive parsing of a file If filename is "-' then we use stdin as the input. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. Do an encoding check if enc == XML_CHAR_ENCODING_NONE</info> |
| 6344 | <return type='xmlParserInputBufferPtr' info='the new parser input or NULL '/> |
| 6345 | <arg name='URI' type='const char *' info='a C string containing the URI or filename '/> |
| 6346 | <arg name='enc' type='xmlCharEncoding' info='the charset encoding if known '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6347 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6348 | <function name='xmlParserInputBufferCreateIO' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6349 | <info>Create a buffered parser input for the progressive parsing for the input from an I/O handler</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6350 | <return type='xmlParserInputBufferPtr' info='the new parser input or NULL '/> |
| 6351 | <arg name='ioread' type='xmlInputReadCallback' info='an I/O read function '/> |
| 6352 | <arg name='ioclose' type='xmlInputCloseCallback' info='an I/O close function '/> |
| 6353 | <arg name='ioctx' type='void *' info='an I/O handler '/> |
| 6354 | <arg name='enc' type='xmlCharEncoding' info='the charset encoding if known '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6355 | </function> |
| 6356 | <function name='xmlParserInputBufferCreateMem' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6357 | <info>Create a buffered parser input for the progressive parsing for the input from a memory area.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6358 | <return type='xmlParserInputBufferPtr' info='the new parser input or NULL '/> |
| 6359 | <arg name='mem' type='const char *' info='the memory input '/> |
| 6360 | <arg name='size' type='int' info='the length of the memory block '/> |
| 6361 | <arg name='enc' type='xmlCharEncoding' info='the charset encoding if known '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6362 | </function> |
| 6363 | <function name='xmlParserInputBufferGrow' file='xmlIO'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6364 | <info>Grow up the content of the input buffer, the old data are preserved This routine handle the I18N transcoding to internal UTF-8 This routine is used when operating the parser in normal (pull) mode TODO: one should be able to remove one extra copy by copying directly onto in->buffer or in->raw</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6365 | <return type='int' info='the number of chars read and stored in the buffer, or -1 in case of error. '/> |
| 6366 | <arg name='in' type='xmlParserInputBufferPtr' info='a buffered parser input '/> |
| 6367 | <arg name='len' type='int' info='indicative value of the amount of chars to read '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6368 | </function> |
| 6369 | <typedef name='xmlParserInputBufferPtr' file='tree'/> |
| 6370 | <function name='xmlParserInputBufferPush' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6371 | <info>Push the content of the arry in the input buffer This routine handle the I18N transcoding to internal UTF-8 This is used when operating the parser in progressive (push) mode.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6372 | <return type='int' info='the number of chars read and stored in the buffer, or -1 in case of error. '/> |
| 6373 | <arg name='in' type='xmlParserInputBufferPtr' info='a buffered parser input '/> |
| 6374 | <arg name='len' type='int' info='the size in bytes of the array. '/> |
| 6375 | <arg name='buf' type='const char *' info='an char array '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6376 | </function> |
| 6377 | <function name='xmlParserInputBufferRead' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6378 | <info>Refresh the content of the input buffer, the old data are considered consumed This routine handle the I18N transcoding to internal UTF-8</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6379 | <return type='int' info='the number of chars read and stored in the buffer, or -1 in case of error. '/> |
| 6380 | <arg name='in' type='xmlParserInputBufferPtr' info='a buffered parser input '/> |
| 6381 | <arg name='len' type='int' info='indicative value of the amount of chars to read '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6382 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6383 | <functype name='xmlParserInputDeallocate' file='parser'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 6384 | <info>Callback for freeing some parser input allocations.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6385 | <return type='void'/> |
| 6386 | <arg name='str' type='xmlChar *' info='the string to deallocate '/> |
| 6387 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6388 | <function name='xmlParserInputGrow' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6389 | <info>This function increase the input for the parser. It tries to preserve pointers to the input buffer, and keep already read data</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6390 | <return type='int' info='the number of xmlChars read, or -1 in case of error, 0 indicate the end of this entity '/> |
| 6391 | <arg name='in' type='xmlParserInputPtr' info='an XML parser input '/> |
| 6392 | <arg name='len' type='int' info='an indicative size for the lookahead '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6393 | </function> |
| 6394 | <typedef name='xmlParserInputPtr' file='tree'/> |
| 6395 | <function name='xmlParserInputRead' file='parser'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6396 | <info>This function refresh the input for the parser. It doesn't try to preserve pointers to the input buffer, and discard already read data</info> |
| 6397 | <return type='int' info='the number of xmlChars read, or -1 in case of error, 0 indicate the end of this entity '/> |
| 6398 | <arg name='in' type='xmlParserInputPtr' info='an XML parser input '/> |
| 6399 | <arg name='len' type='int' info='an indicative size for the lookahead '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6400 | </function> |
| 6401 | <function name='xmlParserInputShrink' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6402 | <info>This function removes used input for the parser.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6403 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6404 | <arg name='in' type='xmlParserInputPtr' info='an XML parser input '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6405 | </function> |
| 6406 | <enum name='xmlParserInputState' file='parser'/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6407 | <struct name='xmlParserNodeInfo' file='parser'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6408 | <typedef name='xmlParserNodeInfoPtr' file='parser'/> |
| 6409 | <struct name='xmlParserNodeInfoSeq' file='parser'/> |
| 6410 | <typedef name='xmlParserNodeInfoSeqPtr' file='parser'/> |
| 6411 | <function name='xmlParserPrintFileContext' file='xmlerror'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6412 | <info>Displays current context within the input content for error tracking</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6413 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6414 | <arg name='input' type='xmlParserInputPtr' info='an xmlParserInputPtr input '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6415 | </function> |
| 6416 | <function name='xmlParserPrintFileInfo' file='xmlerror'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6417 | <info>Displays the associated file and line informations for the current input</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6418 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6419 | <arg name='input' type='xmlParserInputPtr' info='an xmlParserInputPtr input '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6420 | </function> |
| 6421 | <function name='xmlParserValidityError' file='xmlerror'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6422 | <info>Display and format an validity error messages, gives file, line, position and extra parameters.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6423 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6424 | <arg name='ctx' type='void *' info='an XML parser context '/> |
| 6425 | <arg name='msg' type='const char *' info='the message to display/transmit '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6426 | <arg name='' type='...'/> |
| 6427 | </function> |
| 6428 | <function name='xmlParserValidityWarning' file='xmlerror'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6429 | <info>Display and format a validity warning messages, gives file, line, position and extra parameters.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6430 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6431 | <arg name='ctx' type='void *' info='an XML parser context '/> |
| 6432 | <arg name='msg' type='const char *' info='the message to display/transmit '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6433 | <arg name='' type='...'/> |
| 6434 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6435 | <macro name='xmlParserVersion' file='globals'> |
| 6436 | <info>Constant string describing the internal version of the library</info> |
| 6437 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6438 | <function name='xmlParserWarning' file='xmlerror'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6439 | <info>Display and format a warning messages, gives file, line, position and extra parameters.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6440 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6441 | <arg name='ctx' type='void *' info='an XML parser context '/> |
| 6442 | <arg name='msg' type='const char *' info='the message to display/transmit '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6443 | <arg name='' type='...'/> |
| 6444 | </function> |
| 6445 | <function name='xmlPedanticParserDefault' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6446 | <info>Set and return the previous value for enabling pedantic warnings.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6447 | <return type='int' info='the last value for 0 for no substitution, 1 for substitution. '/> |
| 6448 | <arg name='val' type='int' info='int 0 or 1 '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6449 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6450 | <macro name='xmlPedanticParserDefaultValue' file='globals'> |
| 6451 | <info>Global setting, indicate that the parser be pedantic Disabled by default.</info> |
| 6452 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6453 | <function name='xmlPopInput' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6454 | <info>xmlPopInput: the current input pointed by ctxt->input came to an end pop it and return the next char.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6455 | <return type='xmlChar' info='the current xmlChar in the parser context '/> |
| 6456 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6457 | </function> |
| 6458 | <function name='xmlPrintURI' file='uri'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6459 | <info>Prints the URI in the stream steam.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6460 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6461 | <arg name='stream' type='FILE *' info='a FILE* for the output '/> |
| 6462 | <arg name='uri' type='xmlURIPtr' info='pointer to an xmlURI '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6463 | </function> |
| 6464 | <function name='xmlPushInput' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6465 | <info>xmlPushInput: switch to a new input stream which is stacked on top of the previous one(s).</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6466 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6467 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 6468 | <arg name='input' type='xmlParserInputPtr' info='an XML parser input fragment (entity, XML fragment ...). '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6469 | </function> |
| 6470 | <struct name='xmlRMutex' file='threads'/> |
| 6471 | <function name='xmlRMutexLock' file='threads'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6472 | <info>xmlRMutexLock() is used to lock a libxml2 token_r.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6473 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6474 | <arg name='tok' type='xmlRMutexPtr' info='the reentrant mutex '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6475 | </function> |
| 6476 | <typedef name='xmlRMutexPtr' file='threads'/> |
| 6477 | <function name='xmlRMutexUnlock' file='threads'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6478 | <info>xmlRMutexUnlock() is used to unlock a libxml2 token_r.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6479 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6480 | <arg name='tok' type='xmlRMutexPtr' info='the reentrant mutex '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6481 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6482 | <macro name='xmlRealloc' file='globals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 6483 | <info>Wrapper for the realloc() function used in the XML library.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6484 | <arg name='ptr' info='pointer to the existing allocated area '/> |
| 6485 | <arg name='size' info='number of bytes to allocate '/> |
| 6486 | </macro> |
| 6487 | <functype name='xmlReallocFunc' file='xmlmemory'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 6488 | <info>Signature for a realloc() implementation.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6489 | <return type='void *'/> |
| 6490 | <arg name='mem' type='void *' info='an already allocated block of memory '/> |
| 6491 | <arg name='size' type='size_t' info='the new size requested in bytes '/> |
| 6492 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6493 | <function name='xmlReallocLoc' file='xmlmemory'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6494 | <info>a realloc() equivalent, with logging of the allocation info.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6495 | <return type='void *'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6496 | <arg name='ptr' type='void *' info='the initial memory block pointer '/> |
| 6497 | <arg name='size' type='size_t' info='an int specifying the size in byte to allocate. '/> |
| 6498 | <arg name='file' type='const char *' info='the file name or NULL '/> |
| 6499 | <arg name='line' type='int' info='the line number '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6500 | </function> |
| 6501 | <function name='xmlReconciliateNs' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6502 | <info>This function checks that all the namespaces declared within the given tree are properly declared. This is needed for example after Copy or Cut and then paste operations. The subtree may still hold pointers to namespace declarations outside the subtree or invalid/masked. As much as possible the function try to reuse the existing namespaces found in the new environment. If not possible the new namespaces are redeclared on tree at the top of the given subtree.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6503 | <return type='int' info='the number of namespace declarations created or -1 in case of error. '/> |
| 6504 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 6505 | <arg name='tree' type='xmlNodePtr' info='a node defining the subtree to reconciliate '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6506 | </function> |
| 6507 | <function name='xmlRecoverDoc' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6508 | <info>parse an XML in-memory document and build a tree. In the case the document is not Well Formed, a tree is built anyway</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6509 | <return type='xmlDocPtr' info='the resulting document tree '/> |
| 6510 | <arg name='cur' type='xmlChar *' info='a pointer to an array of xmlChar '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6511 | </function> |
| 6512 | <function name='xmlRecoverFile' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6513 | <info>parse an XML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. In the case the document is not Well Formed, a tree is built anyway</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6514 | <return type='xmlDocPtr' info='the resulting document tree '/> |
| 6515 | <arg name='filename' type='const char *' info='the filename '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6516 | </function> |
| 6517 | <function name='xmlRecoverMemory' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6518 | <info>parse an XML in-memory block and build a tree. In the case the document is not Well Formed, a tree is built anyway</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6519 | <return type='xmlDocPtr' info='the resulting document tree '/> |
| 6520 | <arg name='buffer' type='const char *' info='an pointer to a char array '/> |
| 6521 | <arg name='size' type='int' info='the size of the array '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6522 | </function> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6523 | <struct name='xmlRef' file='tree'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6524 | <typedef name='xmlRefPtr' file='tree'/> |
| 6525 | <typedef name='xmlRefTablePtr' file='valid'/> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 6526 | <functype name='xmlRegExecCallbacks' file='xmlregexp'> |
| 6527 | <return type='void'/> |
| 6528 | <arg name='exec' type='xmlRegExecCtxtPtr'/> |
| 6529 | <arg name='token' type='const xmlChar *'/> |
| 6530 | <arg name='transdata' type='void *'/> |
| 6531 | <arg name='inputdata' type='void *'/> |
| 6532 | </functype> |
| 6533 | <struct name='xmlRegExecCtxt' file='xmlregexp'/> |
| 6534 | <typedef name='xmlRegExecCtxtPtr' file='xmlregexp' info='A libxml progressive regular expression evaluation context'/> |
| 6535 | <function name='xmlRegExecPushString' file='xmlregexp'> |
| 6536 | <info>Push one input token in the execution context</info> |
| 6537 | <return type='int' info='1 if the regexp reached a final state, 0 if non-final, and a negative value in case of error. '/> |
| 6538 | <arg name='exec' type='xmlRegExecCtxtPtr' info='a regexp execution context '/> |
| 6539 | <arg name='value' type='const xmlChar *' info='a string token input '/> |
| 6540 | <arg name='data' type='void *' info='data associated to the token to reuse in callbacks '/> |
| 6541 | </function> |
| 6542 | <function name='xmlRegFreeExecCtxt' file='xmlregexp'> |
| 6543 | <info>Free the structures associated to a regular expression evaulation context.</info> |
| 6544 | <return type='void'/> |
| 6545 | <arg name='exec' type='xmlRegExecCtxtPtr' info='a regular expression evaulation context '/> |
| 6546 | </function> |
| 6547 | <function name='xmlRegFreeRegexp' file='xmlregexp'> |
| 6548 | <info>Free a regexp</info> |
| 6549 | <return type='void'/> |
| 6550 | <arg name='regexp' type='xmlRegexpPtr' info='the regexp '/> |
| 6551 | </function> |
| 6552 | <function name='xmlRegNewExecCtxt' file='xmlregexp'> |
| 6553 | <return type='xmlRegExecCtxtPtr'/> |
| 6554 | <arg name='comp' type='xmlRegexpPtr'/> |
| 6555 | <arg name='callback' type='xmlRegExecCallbacks'/> |
| 6556 | <arg name='data' type='void *'/> |
| 6557 | </function> |
| 6558 | <struct name='xmlRegexp' file='xmlregexp'/> |
| 6559 | <function name='xmlRegexpCompile' file='xmlregexp'> |
| 6560 | <info>Parses a regular expression conforming to XML Schemas Part 2 Datatype Appendix F and build an automata suitable for testing strings against that regular expression</info> |
| 6561 | <return type='xmlRegexpPtr' info='the compiled expression or NULL in case of error '/> |
| 6562 | <arg name='regexp' type='const xmlChar *' info='a regular expression string '/> |
| 6563 | </function> |
| 6564 | <function name='xmlRegexpExec' file='xmlregexp'> |
| 6565 | <info>Check if the regular expression generate the value</info> |
| 6566 | <return type='int' info='1 if it matches, 0 if not and a negativa value in case of error '/> |
| 6567 | <arg name='comp' type='xmlRegexpPtr' info='the compiled regular expression '/> |
| 6568 | <arg name='value' type='const xmlChar *'/> |
| 6569 | </function> |
| 6570 | <function name='xmlRegexpIsDeterminist' file='xmlregexp'> |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame] | 6571 | <info>Check if the regular expression is determinist</info> |
| 6572 | <return type='int' info='1 if it yes, 0 if not and a negativa value in case of error '/> |
| 6573 | <arg name='comp' type='xmlRegexpPtr' info='the compiled regular expression '/> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 6574 | </function> |
| 6575 | <function name='xmlRegexpPrint' file='xmlregexp'> |
| 6576 | <info>Print the content of the compiled regular expression</info> |
| 6577 | <return type='void'/> |
| 6578 | <arg name='output' type='FILE *' info='the file for the output debug '/> |
| 6579 | <arg name='regexp' type='xmlRegexpPtr' info='the compiled regexp '/> |
| 6580 | </function> |
| 6581 | <typedef name='xmlRegexpPtr' file='xmlregexp' info='A libxml regular expression, they can actually be far more complex thank the POSIX regex expressions.'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6582 | <function name='xmlRegisterCharEncodingHandler' file='encoding'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6583 | <info>Register the char encoding handler, surprising, isn't it ?</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6584 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6585 | <arg name='handler' type='xmlCharEncodingHandlerPtr' info='the xmlCharEncodingHandlerPtr handler block '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6586 | </function> |
| 6587 | <function name='xmlRegisterDefaultInputCallbacks' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6588 | <info>Registers the default compiled-in I/O handlers.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6589 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6590 | </function> |
| 6591 | <function name='xmlRegisterDefaultOutputCallbacks' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6592 | <info>Registers the default compiled-in I/O handlers.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6593 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6594 | </function> |
| 6595 | <function name='xmlRegisterHTTPPostCallbacks' file='xmlIO'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6596 | <info>By default, libxml submits HTTP output requests using the "PUT" method. Calling this method changes the HTTP output method to use the "POST" method instead.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6597 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6598 | </function> |
| 6599 | <function name='xmlRegisterInputCallbacks' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6600 | <info>Register a new set of I/O callback for handling parser input.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6601 | <return type='int' info='the registered handler number or -1 in case of error '/> |
| 6602 | <arg name='matchFunc' type='xmlInputMatchCallback' info='the xmlInputMatchCallback '/> |
| 6603 | <arg name='openFunc' type='xmlInputOpenCallback' info='the xmlInputOpenCallback '/> |
| 6604 | <arg name='readFunc' type='xmlInputReadCallback' info='the xmlInputReadCallback '/> |
| 6605 | <arg name='closeFunc' type='xmlInputCloseCallback' info='the xmlInputCloseCallback '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6606 | </function> |
| 6607 | <function name='xmlRegisterOutputCallbacks' file='xmlIO'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6608 | <info>Register a new set of I/O callback for handling output.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6609 | <return type='int' info='the registered handler number or -1 in case of error '/> |
| 6610 | <arg name='matchFunc' type='xmlOutputMatchCallback' info='the xmlOutputMatchCallback '/> |
| 6611 | <arg name='openFunc' type='xmlOutputOpenCallback' info='the xmlOutputOpenCallback '/> |
| 6612 | <arg name='writeFunc' type='xmlOutputWriteCallback' info='the xmlOutputWriteCallback '/> |
| 6613 | <arg name='closeFunc' type='xmlOutputCloseCallback' info='the xmlOutputCloseCallback '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6614 | </function> |
| 6615 | <function name='xmlRemoveID' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6616 | <info>Remove the given attribute from the ID table maintained internally.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6617 | <return type='int' info='-1 if the lookup failed and 0 otherwise '/> |
| 6618 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 6619 | <arg name='attr' type='xmlAttrPtr' info='the attribute '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6620 | </function> |
| 6621 | <function name='xmlRemoveProp' file='tree'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6622 | <info>Unlink and free one attribute, all the content is freed too Note this doesn't work for namespace definition attributes</info> |
| 6623 | <return type='int' info='0 if success and -1 in case of error. '/> |
| 6624 | <arg name='cur' type='xmlAttrPtr' info='an attribute '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6625 | </function> |
| 6626 | <function name='xmlRemoveRef' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6627 | <info>Remove the given attribute from the Ref table maintained internally.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6628 | <return type='int' info='-1 if the lookup failed and 0 otherwise '/> |
| 6629 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 6630 | <arg name='attr' type='xmlAttrPtr' info='the attribute '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6631 | </function> |
| 6632 | <function name='xmlReplaceNode' file='tree'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6633 | <info>Unlink the old node from it's current context, prune the new one at the same place. If cur was already inserted in a document it is first unlinked from its existing context.</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6634 | <return type='xmlNodePtr' info='the old node '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6635 | <arg name='old' type='xmlNodePtr' info='the old node '/> |
| 6636 | <arg name='cur' type='xmlNodePtr' info='the node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6637 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6638 | <macro name='xmlRootNode' file='tree'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 6639 | <info>Macro for compatibility naming layer with libxml1.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6640 | </macro> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6641 | <struct name='xmlSAXHandler' file='tree'/> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 6642 | <typedef name='xmlSAXHandlerPtr' file='tree'/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6643 | <struct name='xmlSAXLocator' file='tree'/> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 6644 | <typedef name='xmlSAXLocatorPtr' file='tree'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6645 | <function name='xmlSAXParseDTD' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6646 | <info>Load and parse an external subset.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6647 | <return type='xmlDtdPtr' info='the resulting xmlDtdPtr or NULL in case of error. '/> |
| 6648 | <arg name='sax' type='xmlSAXHandlerPtr' info='the SAX handler block '/> |
| 6649 | <arg name='ExternalID' type='const xmlChar *' info='a NAME* containing the External ID of the DTD '/> |
| 6650 | <arg name='SystemID' type='const xmlChar *' info='a NAME* containing the URL to the DTD '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6651 | </function> |
| 6652 | <function name='xmlSAXParseDoc' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6653 | <info>parse an XML in-memory document and build a tree. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6654 | <return type='xmlDocPtr' info='the resulting document tree '/> |
| 6655 | <arg name='sax' type='xmlSAXHandlerPtr' info='the SAX handler block '/> |
| 6656 | <arg name='cur' type='xmlChar *' info='a pointer to an array of xmlChar '/> |
| 6657 | <arg name='recovery' type='int' info='work in recovery mode, i.e. tries to read no Well Formed documents '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6658 | </function> |
| 6659 | <function name='xmlSAXParseEntity' file='parser'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6660 | <info>parse an XML external entity out of context and build a tree. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines. [78] extParsedEnt ::= TextDecl? content This correspond to a "Well Balanced" chunk</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6661 | <return type='xmlDocPtr' info='the resulting document tree '/> |
| 6662 | <arg name='sax' type='xmlSAXHandlerPtr' info='the SAX handler block '/> |
| 6663 | <arg name='filename' type='const char *' info='the filename '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6664 | </function> |
| 6665 | <function name='xmlSAXParseFile' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6666 | <info>parse an XML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6667 | <return type='xmlDocPtr' info='the resulting document tree '/> |
| 6668 | <arg name='sax' type='xmlSAXHandlerPtr' info='the SAX handler block '/> |
| 6669 | <arg name='filename' type='const char *' info='the filename '/> |
| 6670 | <arg name='recovery' type='int' info='work in recovery mode, i.e. tries to read no Well Formed documents '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6671 | </function> |
| 6672 | <function name='xmlSAXParseFileWithData' file='parser'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6673 | <info>parse an XML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines. User data (void *) is stored within the parser context in the context's _private member, so it is available nearly everywhere in libxml</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6674 | <return type='xmlDocPtr' info='the resulting document tree '/> |
| 6675 | <arg name='sax' type='xmlSAXHandlerPtr' info='the SAX handler block '/> |
| 6676 | <arg name='filename' type='const char *' info='the filename '/> |
| 6677 | <arg name='recovery' type='int' info='work in recovery mode, i.e. tries to read no Well Formed documents '/> |
| 6678 | <arg name='data' type='void *' info='the userdata '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6679 | </function> |
| 6680 | <function name='xmlSAXParseMemory' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6681 | <info>parse an XML in-memory block and use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6682 | <return type='xmlDocPtr' info='the resulting document tree '/> |
| 6683 | <arg name='sax' type='xmlSAXHandlerPtr' info='the SAX handler block '/> |
| 6684 | <arg name='buffer' type='const char *' info='an pointer to a char array '/> |
| 6685 | <arg name='size' type='int' info='the size of the array '/> |
| 6686 | <arg name='recovery' type='int' info='work in recovery mode, i.e. tries to read not Well Formed documents '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6687 | </function> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6688 | <function name='xmlSAXParseMemoryWithData' file='parser'> |
| 6689 | <info>parse an XML in-memory block and use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines. User data (void *) is stored within the parser context in the context's _private member, so it is available nearly everywhere in libxml</info> |
| 6690 | <return type='xmlDocPtr' info='the resulting document tree '/> |
| 6691 | <arg name='sax' type='xmlSAXHandlerPtr' info='the SAX handler block '/> |
| 6692 | <arg name='buffer' type='const char *' info='an pointer to a char array '/> |
| 6693 | <arg name='size' type='int' info='the size of the array '/> |
| 6694 | <arg name='recovery' type='int' info='work in recovery mode, i.e. tries to read no Well Formed documents '/> |
| 6695 | <arg name='data' type='void *' info='the userdata '/> |
| 6696 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6697 | <function name='xmlSAXUserParseFile' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6698 | <info>parse an XML file and call the given SAX handler routines. Automatic support for ZLIB/Compress compressed document is provided</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6699 | <return type='int' info='0 in case of success or a error number otherwise '/> |
| 6700 | <arg name='sax' type='xmlSAXHandlerPtr' info='a SAX handler '/> |
| 6701 | <arg name='user_data' type='void *' info='The user data returned on SAX callbacks '/> |
| 6702 | <arg name='filename' type='const char *' info='a file name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6703 | </function> |
| 6704 | <function name='xmlSAXUserParseMemory' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6705 | <info>A better SAX parsing routine. parse an XML in-memory buffer and call the given SAX handler routines.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6706 | <return type='int' info='0 in case of success or a error number otherwise '/> |
| 6707 | <arg name='sax' type='xmlSAXHandlerPtr' info='a SAX handler '/> |
| 6708 | <arg name='user_data' type='void *' info='The user data returned on SAX callbacks '/> |
| 6709 | <arg name='buffer' type='const char *' info='an in-memory XML document input '/> |
| 6710 | <arg name='size' type='int' info='the length of the XML document in bytes '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6711 | </function> |
| 6712 | <function name='xmlSaveFile' file='tree'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6713 | <info>Dump an XML document to a file. Will use compression if compiled in and enabled. If filename is "-" the stdout file is used.</info> |
| 6714 | <return type='int' info='the number of bytes written or -1 in case of failure. '/> |
| 6715 | <arg name='filename' type='const char *' info='the filename (or URL) '/> |
| 6716 | <arg name='cur' type='xmlDocPtr' info='the document '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6717 | </function> |
| 6718 | <function name='xmlSaveFileEnc' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6719 | <info>Dump an XML document, converting it to the given encoding</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6720 | <return type='int' info='the number of bytes written or -1 in case of failure. '/> |
| 6721 | <arg name='filename' type='const char *' info='the filename (or URL) '/> |
| 6722 | <arg name='cur' type='xmlDocPtr' info='the document '/> |
| 6723 | <arg name='encoding' type='const char *' info='the name of an encoding (or NULL) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6724 | </function> |
| 6725 | <function name='xmlSaveFileTo' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6726 | <info>Dump an XML document to an I/O buffer.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6727 | <return type='int' info='the number of bytes written or -1 in case of failure. '/> |
| 6728 | <arg name='buf' type='xmlOutputBufferPtr' info='an output I/O buffer '/> |
| 6729 | <arg name='cur' type='xmlDocPtr' info='the document '/> |
| 6730 | <arg name='encoding' type='const char *' info='the encoding if any assuming the I/O layer handles the trancoding '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6731 | </function> |
| 6732 | <function name='xmlSaveFormatFile' file='tree'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6733 | <info>Dump an XML document to a file. Will use compression if compiled in and enabled. If filename is "-" the stdout file is used. If format is set then the document will be indented on output.</info> |
| 6734 | <return type='int' info='the number of bytes written or -1 in case of failure. '/> |
| 6735 | <arg name='filename' type='const char *' info='the filename (or URL) '/> |
| 6736 | <arg name='cur' type='xmlDocPtr' info='the document '/> |
| 6737 | <arg name='format' type='int' info='should formatting spaces been added '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6738 | </function> |
| 6739 | <function name='xmlSaveFormatFileEnc' file='tree'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6740 | <return type='int' info='the number of bytes written or -1 in case of error. '/> |
| 6741 | <arg name='filename' type='const char *' info='the filename or URL to output '/> |
| 6742 | <arg name='cur' type='xmlDocPtr' info='the document being saved '/> |
| 6743 | <arg name='encoding' type='const char *' info='the name of the encoding to use or NULL. '/> |
| 6744 | <arg name='format' type='int' info='should formatting spaces be added. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6745 | </function> |
| 6746 | <function name='xmlSaveFormatFileTo' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6747 | <info>Dump an XML document to an I/O buffer.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6748 | <return type='int' info='the number of bytes written or -1 in case of failure. '/> |
| 6749 | <arg name='buf' type='xmlOutputBufferPtr' info='an output I/O buffer '/> |
| 6750 | <arg name='cur' type='xmlDocPtr' info='the document '/> |
| 6751 | <arg name='encoding' type='const char *' info='the encoding if any assuming the I/O layer handles the trancoding '/> |
| 6752 | <arg name='format' type='int' info='should formatting spaces been added '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6753 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6754 | <macro name='xmlSaveNoEmptyTags' file='globals'> |
| 6755 | <info>Global setting, asking the serializer to not output empty tags as <empty/> but <empty></empty>. those two forms are undistinguishable once parsed. Disabled by default</info> |
| 6756 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6757 | <function name='xmlSaveUri' file='uri'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6758 | <info>Save the URI as an escaped string</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6759 | <return type='xmlChar *' info='a new string (to be deallocated by caller) '/> |
| 6760 | <arg name='uri' type='xmlURIPtr' info='pointer to an xmlURI '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6761 | </function> |
| 6762 | <function name='xmlScanName' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6763 | <info>Trickery: parse an XML name but without consuming the input flow Needed for rollback cases. Used only when parsing entities references. TODO: seems deprecated now, only used in the default part of xmlParserHandleReference [4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender [5] Name ::= (Letter | '_' | ':') (NameChar)* [6] Names ::= Name (S Name)*</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6764 | <return type='xmlChar *' info='the Name parsed or NULL '/> |
| 6765 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6766 | </function> |
Daniel Veillard | fc57b41 | 2002-04-29 15:50:14 +0000 | [diff] [blame] | 6767 | <struct name='xmlSchema' file='schemasInternals'/> |
Daniel Veillard | 0bfbb42 | 2002-04-26 09:21:45 +0000 | [diff] [blame] | 6768 | <struct name='xmlSchemaAnnot' file='schemasInternals'/> |
| 6769 | <typedef name='xmlSchemaAnnotPtr' file='schemasInternals'/> |
| 6770 | <struct name='xmlSchemaAttribute' file='schemasInternals'/> |
| 6771 | <struct name='xmlSchemaAttributeGroup' file='schemasInternals'/> |
| 6772 | <typedef name='xmlSchemaAttributeGroupPtr' file='schemasInternals'/> |
| 6773 | <typedef name='xmlSchemaAttributePtr' file='schemasInternals'/> |
Daniel Veillard | 0bfbb42 | 2002-04-26 09:21:45 +0000 | [diff] [blame] | 6774 | <enum name='xmlSchemaContentType' file='schemasInternals'/> |
Daniel Veillard | 0bfbb42 | 2002-04-26 09:21:45 +0000 | [diff] [blame] | 6775 | <struct name='xmlSchemaElement' file='schemasInternals'/> |
| 6776 | <typedef name='xmlSchemaElementPtr' file='schemasInternals'/> |
| 6777 | <struct name='xmlSchemaFacet' file='schemasInternals'/> |
| 6778 | <typedef name='xmlSchemaFacetPtr' file='schemasInternals'/> |
Daniel Veillard | 0bfbb42 | 2002-04-26 09:21:45 +0000 | [diff] [blame] | 6779 | <function name='xmlSchemaFreeType' file='schemasInternals'> |
Daniel Veillard | fc57b41 | 2002-04-29 15:50:14 +0000 | [diff] [blame] | 6780 | <info>Deallocate a Schema Type structure.</info> |
Daniel Veillard | 0bfbb42 | 2002-04-26 09:21:45 +0000 | [diff] [blame] | 6781 | <return type='void'/> |
Daniel Veillard | fc57b41 | 2002-04-29 15:50:14 +0000 | [diff] [blame] | 6782 | <arg name='type' type='xmlSchemaTypePtr' info='a schema type structure '/> |
Daniel Veillard | 0bfbb42 | 2002-04-26 09:21:45 +0000 | [diff] [blame] | 6783 | </function> |
| 6784 | <struct name='xmlSchemaNotation' file='schemasInternals'/> |
| 6785 | <typedef name='xmlSchemaNotationPtr' file='schemasInternals'/> |
Daniel Veillard | 0bfbb42 | 2002-04-26 09:21:45 +0000 | [diff] [blame] | 6786 | <struct name='xmlSchemaType' file='schemasInternals'/> |
| 6787 | <typedef name='xmlSchemaTypePtr' file='schemasInternals'/> |
| 6788 | <enum name='xmlSchemaTypeType' file='schemasInternals'/> |
| 6789 | <struct name='xmlSchemaVal' file='schemasInternals'/> |
| 6790 | <typedef name='xmlSchemaValPtr' file='schemasInternals'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6791 | <function name='xmlSearchNs' file='tree'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6792 | <info>Search a Ns registered under a given name space for a document. recurse on the parents until it finds the defined namespace or return NULL otherwise. nameSpace can be NULL, this is a search for the default namespace. We don't allow to cross entities boundaries. If you don't declare the namespace within those you will be in troubles !!! A warning is generated to cover this case.</info> |
| 6793 | <return type='xmlNsPtr' info='the namespace pointer or NULL. '/> |
| 6794 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 6795 | <arg name='node' type='xmlNodePtr' info='the current node '/> |
| 6796 | <arg name='nameSpace' type='const xmlChar *' info='the namespace prefix '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6797 | </function> |
| 6798 | <function name='xmlSearchNsByHref' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6799 | <info>Search a Ns aliasing a given URI. Recurse on the parents until it finds the defined namespace or return NULL otherwise.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6800 | <return type='xmlNsPtr' info='the namespace pointer or NULL. '/> |
| 6801 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 6802 | <arg name='node' type='xmlNodePtr' info='the current node '/> |
| 6803 | <arg name='href' type='const xmlChar *' info='the namespace value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6804 | </function> |
| 6805 | <function name='xmlSetBufferAllocationScheme' file='tree'> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 6806 | <info>Set the buffer allocation method. Types are XML_BUFFER_ALLOC_EXACT - use exact sizes, keeps memory usage down XML_BUFFER_ALLOC_DOUBLEIT - double buffer when extra needed, improves performance</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6807 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6808 | <arg name='scheme' type='xmlBufferAllocationScheme' info='allocation method to use '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6809 | </function> |
| 6810 | <function name='xmlSetCompressMode' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6811 | <info>set the default compression mode used, ZLIB based Correct values: 0 (uncompressed) to 9 (max compression)</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6812 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6813 | <arg name='mode' type='int' info='the compression ratio '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6814 | </function> |
| 6815 | <function name='xmlSetDocCompressMode' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6816 | <info>set the compression ratio for a document, ZLIB based Correct values: 0 (uncompressed) to 9 (max compression)</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6817 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6818 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 6819 | <arg name='mode' type='int' info='the compression ratio '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6820 | </function> |
| 6821 | <function name='xmlSetEntityReferenceFunc' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6822 | <info>Set the function to call call back when a xml reference has been made</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6823 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6824 | <arg name='func' type='xmlEntityReferenceFunc' info='A valid function '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6825 | </function> |
| 6826 | <function name='xmlSetExternalEntityLoader' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6827 | <info>Changes the defaultexternal entity resolver function for the application</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6828 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6829 | <arg name='f' type='xmlExternalEntityLoader' info='the new entity resolver function '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6830 | </function> |
| 6831 | <function name='xmlSetFeature' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6832 | <info>Change the current value of one feature of this parser instance</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6833 | <return type='int' info='-1 in case or error, 0 otherwise '/> |
| 6834 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML/HTML parser context '/> |
| 6835 | <arg name='name' type='const char *' info='the feature name '/> |
| 6836 | <arg name='value' type='void *' info='pointer to the location of the new value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6837 | </function> |
| 6838 | <function name='xmlSetGenericErrorFunc' file='xmlerror'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6839 | <info>Function to reset the handler and the error context for out of context error messages. This simply means that handler will be called for subsequent error messages while not parsing nor validating. And ctx will be passed as first argument to handler One can simply force messages to be emitted to another FILE * than stderr by setting ctx to this file handle and handler to NULL.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6840 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6841 | <arg name='ctx' type='void *' info='the new error handling context '/> |
| 6842 | <arg name='handler' type='xmlGenericErrorFunc' info='the new handler function '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6843 | </function> |
| 6844 | <function name='xmlSetListDoc' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6845 | <info>update all nodes in the list to point to the right document</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6846 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6847 | <arg name='list' type='xmlNodePtr' info='the first element '/> |
| 6848 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6849 | </function> |
| 6850 | <function name='xmlSetNs' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6851 | <info>Associate a namespace to a node, a posteriori.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6852 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6853 | <arg name='node' type='xmlNodePtr' info='a node in the document '/> |
| 6854 | <arg name='ns' type='xmlNsPtr' info='a namespace pointer '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6855 | </function> |
| 6856 | <function name='xmlSetNsProp' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6857 | <info>Set (or reset) an attribute carried by a node. The ns structure must be in scope, this is not checked.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6858 | <return type='xmlAttrPtr' info='the attribute pointer. '/> |
| 6859 | <arg name='node' type='xmlNodePtr' info='the node '/> |
| 6860 | <arg name='ns' type='xmlNsPtr' info='the namespace definition '/> |
| 6861 | <arg name='name' type='const xmlChar *' info='the attribute name '/> |
| 6862 | <arg name='value' type='const xmlChar *' info='the attribute value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6863 | </function> |
| 6864 | <function name='xmlSetProp' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6865 | <info>Set (or reset) an attribute carried by a node.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6866 | <return type='xmlAttrPtr' info='the attribute pointer. '/> |
| 6867 | <arg name='node' type='xmlNodePtr' info='the node '/> |
| 6868 | <arg name='name' type='const xmlChar *' info='the attribute name '/> |
| 6869 | <arg name='value' type='const xmlChar *' info='the attribute value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6870 | </function> |
| 6871 | <function name='xmlSetTreeDoc' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6872 | <info>update all nodes under the tree to point to the right document</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6873 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6874 | <arg name='tree' type='xmlNodePtr' info='the top element '/> |
| 6875 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6876 | </function> |
| 6877 | <function name='xmlSetupParserForBuffer' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6878 | <info>Setup the parser context to parse a new buffer; Clears any prior contents from the parser context. The buffer parameter must not be NULL, but the filename parameter can be</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6879 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6880 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 6881 | <arg name='buffer' type='const xmlChar*' info='a xmlChar * buffer '/> |
| 6882 | <arg name='filename' type='const char *' info='a file name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6883 | </function> |
| 6884 | <function name='xmlShell' file='debugXML'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6885 | <info>Implements the XML shell This allow to load, validate, view, modify and save a document using a environment similar to a UNIX commandline.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6886 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6887 | <arg name='doc' type='xmlDocPtr' info='the initial document '/> |
| 6888 | <arg name='filename' type='char *' info='the output buffer '/> |
| 6889 | <arg name='input' type='xmlShellReadlineFunc' info='the line reading function '/> |
Daniel Veillard | 4826743 | 2002-10-18 11:21:38 +0000 | [diff] [blame] | 6890 | <arg name='output' type='FILE *' info='the output FILE*, defaults to stdout if NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6891 | </function> |
| 6892 | <function name='xmlShellBase' file='debugXML'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6893 | <info>Implements the XML shell function "base" dumps the current XML base of the node</info> |
| 6894 | <return type='int' info='0 '/> |
| 6895 | <arg name='ctxt' type='xmlShellCtxtPtr' info='the shell context '/> |
| 6896 | <arg name='arg' type='char *' info='unused '/> |
| 6897 | <arg name='node' type='xmlNodePtr' info='a node '/> |
| 6898 | <arg name='node2' type='xmlNodePtr' info='unused '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6899 | </function> |
| 6900 | <function name='xmlShellCat' file='debugXML'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6901 | <info>Implements the XML shell function "cat" dumps the serialization node content (XML or HTML).</info> |
| 6902 | <return type='int' info='0 '/> |
| 6903 | <arg name='ctxt' type='xmlShellCtxtPtr' info='the shell context '/> |
| 6904 | <arg name='arg' type='char *' info='unused '/> |
| 6905 | <arg name='node' type='xmlNodePtr' info='a node '/> |
| 6906 | <arg name='node2' type='xmlNodePtr' info='unused '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6907 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6908 | <functype name='xmlShellCmd' file='debugXML'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 6909 | <info>This is a generic signature for the XML shell functions.</info> |
| 6910 | <return type='int' info='an int, negative returns indicating errors. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6911 | <arg name='ctxt' type='xmlShellCtxtPtr' info='a shell context '/> |
| 6912 | <arg name='arg' type='char *' info='a string argument '/> |
| 6913 | <arg name='node' type='xmlNodePtr' info='a first node '/> |
| 6914 | <arg name='node2' type='xmlNodePtr' info='a second node '/> |
| 6915 | </functype> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 6916 | <struct name='xmlShellCtxt' file='debugXML'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6917 | <typedef name='xmlShellCtxtPtr' file='debugXML'/> |
| 6918 | <function name='xmlShellDir' file='debugXML'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6919 | <info>Implements the XML shell function "dir" dumps informations about the node (namespace, attributes, content).</info> |
| 6920 | <return type='int' info='0 '/> |
| 6921 | <arg name='ctxt' type='xmlShellCtxtPtr' info='the shell context '/> |
| 6922 | <arg name='arg' type='char *' info='unused '/> |
| 6923 | <arg name='node' type='xmlNodePtr' info='a node '/> |
| 6924 | <arg name='node2' type='xmlNodePtr' info='unused '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6925 | </function> |
| 6926 | <function name='xmlShellDu' file='debugXML'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6927 | <info>Implements the XML shell function "du" show the structure of the subtree under node tree If tree is null, the command works on the current node.</info> |
| 6928 | <return type='int' info='0 or -1 in case of error '/> |
| 6929 | <arg name='ctxt' type='xmlShellCtxtPtr' info='the shell context '/> |
| 6930 | <arg name='arg' type='char *' info='unused '/> |
| 6931 | <arg name='tree' type='xmlNodePtr' info='a node defining a subtree '/> |
| 6932 | <arg name='node2' type='xmlNodePtr' info='unused '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6933 | </function> |
| 6934 | <function name='xmlShellList' file='debugXML'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6935 | <info>Implements the XML shell function "ls" Does an Unix like listing of the given node (like a directory)</info> |
| 6936 | <return type='int' info='0 '/> |
| 6937 | <arg name='ctxt' type='xmlShellCtxtPtr' info='the shell context '/> |
| 6938 | <arg name='arg' type='char *' info='unused '/> |
| 6939 | <arg name='node' type='xmlNodePtr' info='a node '/> |
| 6940 | <arg name='node2' type='xmlNodePtr' info='unused '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6941 | </function> |
| 6942 | <function name='xmlShellLoad' file='debugXML'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6943 | <info>Implements the XML shell function "load" loads a new document specified by the filename</info> |
| 6944 | <return type='int' info='0 or -1 if loading failed '/> |
| 6945 | <arg name='ctxt' type='xmlShellCtxtPtr' info='the shell context '/> |
| 6946 | <arg name='filename' type='char *' info='the file name '/> |
| 6947 | <arg name='node' type='xmlNodePtr' info='unused '/> |
| 6948 | <arg name='node2' type='xmlNodePtr' info='unused '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6949 | </function> |
| 6950 | <function name='xmlShellPrintNode' file='debugXML'> |
Daniel Veillard | 4826743 | 2002-10-18 11:21:38 +0000 | [diff] [blame] | 6951 | <info>Print node to the output FILE</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6952 | <return type='void'/> |
Daniel Veillard | 4826743 | 2002-10-18 11:21:38 +0000 | [diff] [blame] | 6953 | <arg name='node' type='xmlNodePtr' info='a non-null node to print to the output FILE '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6954 | </function> |
| 6955 | <function name='xmlShellPrintXPathError' file='debugXML'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 6956 | <info>Print the xpath error to libxml default error channel</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6957 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6958 | <arg name='errorType' type='int' info='valid xpath error id '/> |
| 6959 | <arg name='arg' type='const char *' info='the argument that cause xpath to fail '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6960 | </function> |
| 6961 | <function name='xmlShellPrintXPathResult' file='debugXML'> |
Daniel Veillard | 4826743 | 2002-10-18 11:21:38 +0000 | [diff] [blame] | 6962 | <info>Prints result to the output FILE</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6963 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6964 | <arg name='list' type='xmlXPathObjectPtr' info='a valid result generated by an xpath evaluation '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6965 | </function> |
| 6966 | <function name='xmlShellPwd' file='debugXML'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6967 | <info>Implements the XML shell function "pwd" Show the full path from the root to the node, if needed building thumblers when similar elements exists at a given ancestor level. The output is compatible with XPath commands.</info> |
| 6968 | <return type='int' info='0 or -1 in case of error '/> |
| 6969 | <arg name='ctxt' type='xmlShellCtxtPtr' info='the shell context '/> |
| 6970 | <arg name='buffer' type='char *' info='the output buffer '/> |
| 6971 | <arg name='node' type='xmlNodePtr' info='a node '/> |
| 6972 | <arg name='node2' type='xmlNodePtr' info='unused '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6973 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6974 | <functype name='xmlShellReadlineFunc' file='debugXML'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 6975 | <info>This is a generic signature for the XML shell input function.</info> |
| 6976 | <return type='char *' info='a string which will be freed by the Shell. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6977 | <arg name='prompt' type='char *' info='a string prompt '/> |
| 6978 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6979 | <function name='xmlShellSave' file='debugXML'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6980 | <info>Implements the XML shell function "save" Write the current document to the filename, or it's original name</info> |
| 6981 | <return type='int' info='0 or -1 in case of error '/> |
| 6982 | <arg name='ctxt' type='xmlShellCtxtPtr' info='the shell context '/> |
| 6983 | <arg name='filename' type='char *' info='the file name (optional) '/> |
| 6984 | <arg name='node' type='xmlNodePtr' info='unused '/> |
| 6985 | <arg name='node2' type='xmlNodePtr' info='unused '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6986 | </function> |
| 6987 | <function name='xmlShellValidate' file='debugXML'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6988 | <info>Implements the XML shell function "validate" Validate the document, if a DTD path is provided, then the validation is done against the given DTD.</info> |
| 6989 | <return type='int' info='0 or -1 in case of error '/> |
| 6990 | <arg name='ctxt' type='xmlShellCtxtPtr' info='the shell context '/> |
| 6991 | <arg name='dtd' type='char *' info='the DTD URI (optional) '/> |
| 6992 | <arg name='node' type='xmlNodePtr' info='unused '/> |
| 6993 | <arg name='node2' type='xmlNodePtr' info='unused '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 6994 | </function> |
| 6995 | <function name='xmlShellWrite' file='debugXML'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 6996 | <info>Implements the XML shell function "write" Write the current node to the filename, it saves the serialization of the subtree under the node specified</info> |
| 6997 | <return type='int' info='0 or -1 in case of error '/> |
| 6998 | <arg name='ctxt' type='xmlShellCtxtPtr' info='the shell context '/> |
| 6999 | <arg name='filename' type='char *' info='the file name '/> |
| 7000 | <arg name='node' type='xmlNodePtr' info='a node in the tree '/> |
| 7001 | <arg name='node2' type='xmlNodePtr' info='unused '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7002 | </function> |
| 7003 | <function name='xmlSkipBlankChars' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7004 | <info>skip all blanks character found at that point in the input streams. It pops up finished entities in the process if allowable at that point.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7005 | <return type='int' info='the number of space chars skipped '/> |
| 7006 | <arg name='ctxt' type='xmlParserCtxtPtr' info='the XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7007 | </function> |
| 7008 | <function name='xmlSnprintfElementContent' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7009 | <info>This will dump the content of the element content definition Intended just for the debug routine</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7010 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7011 | <arg name='buf' type='char *' info='an output buffer '/> |
| 7012 | <arg name='size' type='int' info='the buffer size '/> |
| 7013 | <arg name='content' type='xmlElementContentPtr' info='An element table '/> |
| 7014 | <arg name='glob' type='int' info='1 if one must print the englobing parenthesis, 0 otherwise '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7015 | </function> |
| 7016 | <function name='xmlSplitQName' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 7017 | <info>parse an UTF8 encoded XML qualified name string [NS 5] QName ::= (Prefix ':')? LocalPart [NS 6] Prefix ::= NCName [NS 7] LocalPart ::= NCName</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7018 | <return type='xmlChar *' info='the local part, and prefix is updated to get the Prefix if any. '/> |
| 7019 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
| 7020 | <arg name='name' type='const xmlChar *' info='an XML parser context '/> |
| 7021 | <arg name='prefix' type='xmlChar **' info='a xmlChar ** '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7022 | </function> |
| 7023 | <function name='xmlSplitQName2' file='valid'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 7024 | <info>parse an XML qualified name string [NS 5] QName ::= (Prefix ':')? LocalPart [NS 6] Prefix ::= NCName [NS 7] LocalPart ::= NCName</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7025 | <return type='xmlChar *' info='NULL if not a QName, otherwise the local part, and prefix is updated to get the Prefix if any. '/> |
| 7026 | <arg name='name' type='const xmlChar *' info='an XML parser context '/> |
| 7027 | <arg name='prefix' type='xmlChar **' info='a xmlChar ** '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7028 | </function> |
| 7029 | <function name='xmlSprintfElementContent' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7030 | <info>Deprecated, unsafe, use xmlSnprintfElementContent</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7031 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7032 | <arg name='buf' type='char *' info='an output buffer '/> |
| 7033 | <arg name='content' type='xmlElementContentPtr' info='An element table '/> |
| 7034 | <arg name='glob' type='int' info='1 if one must print the englobing parenthesis, 0 otherwise '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7035 | </function> |
| 7036 | <function name='xmlStopParser' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7037 | <info>Blocks further parser processing</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7038 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7039 | <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7040 | </function> |
| 7041 | <function name='xmlStrEqual' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7042 | <info>Check if both string are equal of have same content Should be a bit more readable and faster than xmlStrEqual()</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7043 | <return type='int' info='1 if they are equal, 0 if they are different '/> |
| 7044 | <arg name='str1' type='const xmlChar *' info='the first xmlChar * '/> |
| 7045 | <arg name='str2' type='const xmlChar *' info='the second xmlChar * '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7046 | </function> |
| 7047 | <function name='xmlStrcasecmp' file='parser'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7048 | <info>a strcasecmp for xmlChar's</info> |
| 7049 | <return type='int' info='the integer result of the comparison '/> |
| 7050 | <arg name='str1' type='const xmlChar *' info='the first xmlChar * '/> |
| 7051 | <arg name='str2' type='const xmlChar *' info='the second xmlChar * '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7052 | </function> |
| 7053 | <function name='xmlStrcasestr' file='parser'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7054 | <info>a case-ignoring strstr for xmlChar's</info> |
| 7055 | <return type='const xmlChar *' info='the xmlChar * for the first occurrence or NULL. '/> |
| 7056 | <arg name='str' type='const xmlChar *' info='the xmlChar * array (haystack) '/> |
| 7057 | <arg name='val' type='xmlChar *' info='the xmlChar to search (needle) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7058 | </function> |
| 7059 | <function name='xmlStrcat' file='parser'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7060 | <info>a strcat for array of xmlChar's. Since they are supposed to be encoded in UTF-8 or an encoding with 8bit based chars, we assume a termination mark of '0'.</info> |
| 7061 | <return type='xmlChar *' info='a new xmlChar * containing the concatenated string. '/> |
| 7062 | <arg name='cur' type='xmlChar *' info='the original xmlChar * array '/> |
| 7063 | <arg name='add' type='const xmlChar *' info='the xmlChar * array added '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7064 | </function> |
| 7065 | <function name='xmlStrchr' file='parser'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7066 | <info>a strchr for xmlChar's</info> |
| 7067 | <return type='const xmlChar *' info='the xmlChar * for the first occurrence or NULL. '/> |
| 7068 | <arg name='str' type='const xmlChar *' info='the xmlChar * array '/> |
| 7069 | <arg name='val' type='xmlChar' info='the xmlChar to search '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7070 | </function> |
| 7071 | <function name='xmlStrcmp' file='parser'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7072 | <info>a strcmp for xmlChar's</info> |
| 7073 | <return type='int' info='the integer result of the comparison '/> |
| 7074 | <arg name='str1' type='const xmlChar *' info='the first xmlChar * '/> |
| 7075 | <arg name='str2' type='const xmlChar *' info='the second xmlChar * '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7076 | </function> |
| 7077 | <function name='xmlStrdup' file='parser'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7078 | <info>a strdup for array of xmlChar's. Since they are supposed to be encoded in UTF-8 or an encoding with 8bit based chars, we assume a termination mark of '0'.</info> |
| 7079 | <return type='xmlChar *' info='a new xmlChar * or NULL '/> |
| 7080 | <arg name='cur' type='const xmlChar *' info='the input xmlChar * '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7081 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7082 | <functype name='xmlStrdupFunc' file='xmlmemory'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 7083 | <info>Signature for an strdup() implementation.</info> |
| 7084 | <return type='char *' info='the copy of the string or NULL in case of error. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7085 | <arg name='str' type='const char *' info='a zero terminated string '/> |
| 7086 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7087 | <function name='xmlStringCurrentChar' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7088 | <info>The current char value, if using UTF-8 this may actually span multiple bytes in the input buffer.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7089 | <return type='int' info='the current char value and its length '/> |
| 7090 | <arg name='ctxt' type='xmlParserCtxtPtr' info='the XML parser context '/> |
| 7091 | <arg name='cur' type='const xmlChar *' info='pointer to the beginning of the char '/> |
| 7092 | <arg name='len' type='int *' info='pointer to the length of the char read '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7093 | </function> |
| 7094 | <function name='xmlStringDecodeEntities' file='parserInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 7095 | <info>Takes a entity string content and process to do the adequate substitutions. [67] Reference ::= EntityRef | CharRef [69] PEReference ::= '%' Name ';'</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7096 | <return type='xmlChar *' info='A newly allocated string with the substitution done. The caller must deallocate it ! '/> |
| 7097 | <arg name='ctxt' type='xmlParserCtxtPtr' info='the parser context '/> |
| 7098 | <arg name='str' type='const xmlChar *' info='the input string '/> |
| 7099 | <arg name='what' type='int' info='combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF '/> |
| 7100 | <arg name='end' type='xmlChar' info='an end marker xmlChar, 0 if none '/> |
| 7101 | <arg name='end2' type='xmlChar' info='an end marker xmlChar, 0 if none '/> |
| 7102 | <arg name='end3' type='xmlChar' info='an end marker xmlChar, 0 if none '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7103 | </function> |
| 7104 | <function name='xmlStringGetNodeList' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7105 | <info>Parse the value string and build the node list associated. Should produce a flat tree with only TEXTs and ENTITY_REFs.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7106 | <return type='xmlNodePtr' info='a pointer to the first child '/> |
| 7107 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 7108 | <arg name='value' type='const xmlChar *' info='the value of the attribute '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7109 | </function> |
| 7110 | <function name='xmlStringLenGetNodeList' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7111 | <info>Parse the value string and build the node list associated. Should produce a flat tree with only TEXTs and ENTITY_REFs.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7112 | <return type='xmlNodePtr' info='a pointer to the first child '/> |
| 7113 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 7114 | <arg name='value' type='const xmlChar *' info='the value of the text '/> |
| 7115 | <arg name='len' type='int' info='the length of the string value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7116 | </function> |
| 7117 | <function name='xmlStrlen' file='parser'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7118 | <info>length of a xmlChar's string</info> |
| 7119 | <return type='int' info='the number of xmlChar contained in the ARRAY. '/> |
| 7120 | <arg name='str' type='const xmlChar *' info='the xmlChar * array '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7121 | </function> |
| 7122 | <function name='xmlStrncasecmp' file='parser'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7123 | <info>a strncasecmp for xmlChar's</info> |
| 7124 | <return type='int' info='the integer result of the comparison '/> |
| 7125 | <arg name='str1' type='const xmlChar *' info='the first xmlChar * '/> |
| 7126 | <arg name='str2' type='const xmlChar *' info='the second xmlChar * '/> |
| 7127 | <arg name='len' type='int' info='the max comparison length '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7128 | </function> |
| 7129 | <function name='xmlStrncat' file='parser'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7130 | <info>a strncat for array of xmlChar's, it will extend cur with the len first bytes of add.</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 7131 | <return type='xmlChar *' info='a new xmlChar *, the original cur is reallocated if needed and should not be freed '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7132 | <arg name='cur' type='xmlChar *' info='the original xmlChar * array '/> |
| 7133 | <arg name='add' type='const xmlChar *' info='the xmlChar * array added '/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 7134 | <arg name='len' type='int' info='the length of add'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7135 | </function> |
| 7136 | <function name='xmlStrncmp' file='parser'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7137 | <info>a strncmp for xmlChar's</info> |
| 7138 | <return type='int' info='the integer result of the comparison '/> |
| 7139 | <arg name='str1' type='const xmlChar *' info='the first xmlChar * '/> |
| 7140 | <arg name='str2' type='const xmlChar *' info='the second xmlChar * '/> |
| 7141 | <arg name='len' type='int' info='the max comparison length '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7142 | </function> |
| 7143 | <function name='xmlStrndup' file='parser'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7144 | <info>a strndup for array of xmlChar's</info> |
| 7145 | <return type='xmlChar *' info='a new xmlChar * or NULL '/> |
| 7146 | <arg name='cur' type='const xmlChar *' info='the input xmlChar * '/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 7147 | <arg name='len' type='int' info='the len of cur'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7148 | </function> |
| 7149 | <function name='xmlStrstr' file='parser'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7150 | <info>a strstr for xmlChar's</info> |
| 7151 | <return type='const xmlChar *' info='the xmlChar * for the first occurrence or NULL. '/> |
| 7152 | <arg name='str' type='const xmlChar *' info='the xmlChar * array (haystack) '/> |
| 7153 | <arg name='val' type='const xmlChar *' info='the xmlChar to search (needle) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7154 | </function> |
| 7155 | <function name='xmlStrsub' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7156 | <info>Extract a substring of a given string</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7157 | <return type='xmlChar *' info='the xmlChar * for the first occurrence or NULL. '/> |
| 7158 | <arg name='str' type='const xmlChar *' info='the xmlChar * array (haystack) '/> |
| 7159 | <arg name='start' type='int' info='the index of the first char (zero based) '/> |
| 7160 | <arg name='len' type='int' info='the length of the substring '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7161 | </function> |
| 7162 | <function name='xmlSubstituteEntitiesDefault' file='parser'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7163 | <info>Set and return the previous value for default entity support. Initially the parser always keep entity references instead of substituting entity values in the output. This function has to be used to change the default parser behavior SAX::substituteEntities() has to be used for changing that on a file by file basis.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7164 | <return type='int' info='the last value for 0 for no substitution, 1 for substitution. '/> |
| 7165 | <arg name='val' type='int' info='int 0 or 1 '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7166 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7167 | <macro name='xmlSubstituteEntitiesDefaultValue' file='globals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 7168 | <info>Global setting, indicate that the parser should not generate entity references but replace them with the actual content of the entity Disabled by default, this should be activated when using XPath since the XPath data model requires entities replacement and the XPath engine does not handle entities references transparently.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7169 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7170 | <function name='xmlSwitchEncoding' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7171 | <info>change the input functions when discovering the character encoding of a given entity.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7172 | <return type='int' info='0 in case of success, -1 otherwise '/> |
| 7173 | <arg name='ctxt' type='xmlParserCtxtPtr' info='the parser context '/> |
| 7174 | <arg name='enc' type='xmlCharEncoding' info='the encoding value (number) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7175 | </function> |
| 7176 | <function name='xmlSwitchToEncoding' file='parserInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7177 | <info>change the input functions when discovering the character encoding of a given entity.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7178 | <return type='int' info='0 in case of success, -1 otherwise '/> |
| 7179 | <arg name='ctxt' type='xmlParserCtxtPtr' info='the parser context '/> |
| 7180 | <arg name='handler' type='xmlCharEncodingHandlerPtr' info='the encoding handler '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7181 | </function> |
| 7182 | <function name='xmlTextConcat' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7183 | <info>Concat the given string at the end of the existing node content</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7184 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7185 | <arg name='node' type='xmlNodePtr' info='the node '/> |
| 7186 | <arg name='content' type='const xmlChar *' info='the content '/> |
| 7187 | <arg name='len' type='int' info='content length '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7188 | </function> |
| 7189 | <function name='xmlTextMerge' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7190 | <info>Merge two text nodes into one</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7191 | <return type='xmlNodePtr' info='the first text node augmented '/> |
| 7192 | <arg name='first' type='xmlNodePtr' info='the first text node '/> |
| 7193 | <arg name='second' type='xmlNodePtr' info='the second text node being merged '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7194 | </function> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 7195 | <macro name='xmlTreeIndentString' file='globals'> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 7196 | <info>The string used to do one-level indent. By default is equal to " " (two spaces)</info> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 7197 | </macro> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 7198 | <function name='xmlUCSIsAlphabeticPresentationForms' file='xmlunicode'> |
| 7199 | <info>Check whether the character is part of AlphabeticPresentationForms UCS Block</info> |
| 7200 | <return type='int'/> |
| 7201 | <arg name='code' type='int'/> |
| 7202 | </function> |
| 7203 | <function name='xmlUCSIsArabic' file='xmlunicode'> |
| 7204 | <info>Check whether the character is part of Arabic UCS Block</info> |
| 7205 | <return type='int'/> |
| 7206 | <arg name='code' type='int'/> |
| 7207 | </function> |
| 7208 | <function name='xmlUCSIsArabicPresentationFormsA' file='xmlunicode'> |
| 7209 | <info>Check whether the character is part of ArabicPresentationForms-A UCS Block</info> |
| 7210 | <return type='int'/> |
| 7211 | <arg name='code' type='int'/> |
| 7212 | </function> |
| 7213 | <function name='xmlUCSIsArabicPresentationFormsB' file='xmlunicode'> |
| 7214 | <info>Check whether the character is part of ArabicPresentationForms-B UCS Block</info> |
| 7215 | <return type='int'/> |
| 7216 | <arg name='code' type='int'/> |
| 7217 | </function> |
| 7218 | <function name='xmlUCSIsArmenian' file='xmlunicode'> |
| 7219 | <info>Check whether the character is part of Armenian UCS Block</info> |
| 7220 | <return type='int'/> |
| 7221 | <arg name='code' type='int'/> |
| 7222 | </function> |
| 7223 | <function name='xmlUCSIsArrows' file='xmlunicode'> |
| 7224 | <info>Check whether the character is part of Arrows UCS Block</info> |
| 7225 | <return type='int'/> |
| 7226 | <arg name='code' type='int'/> |
| 7227 | </function> |
| 7228 | <function name='xmlUCSIsBasicLatin' file='xmlunicode'> |
| 7229 | <info>Check whether the character is part of BasicLatin UCS Block</info> |
| 7230 | <return type='int'/> |
| 7231 | <arg name='code' type='int'/> |
| 7232 | </function> |
| 7233 | <function name='xmlUCSIsBengali' file='xmlunicode'> |
| 7234 | <info>Check whether the character is part of Bengali UCS Block</info> |
| 7235 | <return type='int'/> |
| 7236 | <arg name='code' type='int'/> |
| 7237 | </function> |
| 7238 | <function name='xmlUCSIsBlock' file='xmlunicode'> |
| 7239 | <info>Check whether the caracter is part of the UCS Block</info> |
| 7240 | <return type='int'/> |
| 7241 | <arg name='code' type='int'/> |
| 7242 | <arg name='block' type='const char *'/> |
| 7243 | </function> |
| 7244 | <function name='xmlUCSIsBlockElements' file='xmlunicode'> |
| 7245 | <info>Check whether the character is part of BlockElements UCS Block</info> |
| 7246 | <return type='int'/> |
| 7247 | <arg name='code' type='int'/> |
| 7248 | </function> |
| 7249 | <function name='xmlUCSIsBopomofo' file='xmlunicode'> |
| 7250 | <info>Check whether the character is part of Bopomofo UCS Block</info> |
| 7251 | <return type='int'/> |
| 7252 | <arg name='code' type='int'/> |
| 7253 | </function> |
| 7254 | <function name='xmlUCSIsBopomofoExtended' file='xmlunicode'> |
| 7255 | <info>Check whether the character is part of BopomofoExtended UCS Block</info> |
| 7256 | <return type='int'/> |
| 7257 | <arg name='code' type='int'/> |
| 7258 | </function> |
| 7259 | <function name='xmlUCSIsBoxDrawing' file='xmlunicode'> |
| 7260 | <info>Check whether the character is part of BoxDrawing UCS Block</info> |
| 7261 | <return type='int'/> |
| 7262 | <arg name='code' type='int'/> |
| 7263 | </function> |
| 7264 | <function name='xmlUCSIsBraillePatterns' file='xmlunicode'> |
| 7265 | <info>Check whether the character is part of BraillePatterns UCS Block</info> |
| 7266 | <return type='int'/> |
| 7267 | <arg name='code' type='int'/> |
| 7268 | </function> |
| 7269 | <function name='xmlUCSIsByzantineMusicalSymbols' file='xmlunicode'> |
| 7270 | <info>Check whether the character is part of ByzantineMusicalSymbols UCS Block</info> |
| 7271 | <return type='int'/> |
| 7272 | <arg name='code' type='int'/> |
| 7273 | </function> |
| 7274 | <function name='xmlUCSIsCJKCompatibility' file='xmlunicode'> |
| 7275 | <info>Check whether the character is part of CJKCompatibility UCS Block</info> |
| 7276 | <return type='int'/> |
| 7277 | <arg name='code' type='int'/> |
| 7278 | </function> |
| 7279 | <function name='xmlUCSIsCJKCompatibilityForms' file='xmlunicode'> |
| 7280 | <info>Check whether the character is part of CJKCompatibilityForms UCS Block</info> |
| 7281 | <return type='int'/> |
| 7282 | <arg name='code' type='int'/> |
| 7283 | </function> |
| 7284 | <function name='xmlUCSIsCJKCompatibilityIdeographs' file='xmlunicode'> |
| 7285 | <info>Check whether the character is part of CJKCompatibilityIdeographs UCS Block</info> |
| 7286 | <return type='int'/> |
| 7287 | <arg name='code' type='int'/> |
| 7288 | </function> |
| 7289 | <function name='xmlUCSIsCJKCompatibilityIdeographsSupplement' file='xmlunicode'> |
| 7290 | <info>Check whether the character is part of CJKCompatibilityIdeographsSupplement UCS Block</info> |
| 7291 | <return type='int'/> |
| 7292 | <arg name='code' type='int'/> |
| 7293 | </function> |
| 7294 | <function name='xmlUCSIsCJKRadicalsSupplement' file='xmlunicode'> |
| 7295 | <info>Check whether the character is part of CJKRadicalsSupplement UCS Block</info> |
| 7296 | <return type='int'/> |
| 7297 | <arg name='code' type='int'/> |
| 7298 | </function> |
| 7299 | <function name='xmlUCSIsCJKSymbolsandPunctuation' file='xmlunicode'> |
| 7300 | <info>Check whether the character is part of CJKSymbolsandPunctuation UCS Block</info> |
| 7301 | <return type='int'/> |
| 7302 | <arg name='code' type='int'/> |
| 7303 | </function> |
| 7304 | <function name='xmlUCSIsCJKUnifiedIdeographs' file='xmlunicode'> |
| 7305 | <info>Check whether the character is part of CJKUnifiedIdeographs UCS Block</info> |
| 7306 | <return type='int'/> |
| 7307 | <arg name='code' type='int'/> |
| 7308 | </function> |
| 7309 | <function name='xmlUCSIsCJKUnifiedIdeographsExtensionA' file='xmlunicode'> |
| 7310 | <info>Check whether the character is part of CJKUnifiedIdeographsExtensionA UCS Block</info> |
| 7311 | <return type='int'/> |
| 7312 | <arg name='code' type='int'/> |
| 7313 | </function> |
| 7314 | <function name='xmlUCSIsCJKUnifiedIdeographsExtensionB' file='xmlunicode'> |
| 7315 | <info>Check whether the character is part of CJKUnifiedIdeographsExtensionB UCS Block</info> |
| 7316 | <return type='int'/> |
| 7317 | <arg name='code' type='int'/> |
| 7318 | </function> |
| 7319 | <function name='xmlUCSIsCat' file='xmlunicode'> |
| 7320 | <info>Check whether the caracter is part of the UCS Category</info> |
| 7321 | <return type='int'/> |
| 7322 | <arg name='code' type='int'/> |
| 7323 | <arg name='cat' type='const char *'/> |
| 7324 | </function> |
| 7325 | <function name='xmlUCSIsCatC' file='xmlunicode'> |
| 7326 | <info>Check whether the character is part of C UCS Category</info> |
| 7327 | <return type='int'/> |
| 7328 | <arg name='code' type='int'/> |
| 7329 | </function> |
| 7330 | <function name='xmlUCSIsCatCc' file='xmlunicode'> |
| 7331 | <info>Check whether the character is part of Cc UCS Category</info> |
| 7332 | <return type='int'/> |
| 7333 | <arg name='code' type='int'/> |
| 7334 | </function> |
| 7335 | <function name='xmlUCSIsCatCf' file='xmlunicode'> |
| 7336 | <info>Check whether the character is part of Cf UCS Category</info> |
| 7337 | <return type='int'/> |
| 7338 | <arg name='code' type='int'/> |
| 7339 | </function> |
| 7340 | <function name='xmlUCSIsCatCo' file='xmlunicode'> |
| 7341 | <info>Check whether the character is part of Co UCS Category</info> |
| 7342 | <return type='int'/> |
| 7343 | <arg name='code' type='int'/> |
| 7344 | </function> |
| 7345 | <function name='xmlUCSIsCatCs' file='xmlunicode'> |
| 7346 | <info>Check whether the character is part of Cs UCS Category</info> |
| 7347 | <return type='int'/> |
| 7348 | <arg name='code' type='int'/> |
| 7349 | </function> |
| 7350 | <function name='xmlUCSIsCatL' file='xmlunicode'> |
| 7351 | <info>Check whether the character is part of L UCS Category</info> |
| 7352 | <return type='int'/> |
| 7353 | <arg name='code' type='int'/> |
| 7354 | </function> |
| 7355 | <function name='xmlUCSIsCatLl' file='xmlunicode'> |
| 7356 | <info>Check whether the character is part of Ll UCS Category</info> |
| 7357 | <return type='int'/> |
| 7358 | <arg name='code' type='int'/> |
| 7359 | </function> |
| 7360 | <function name='xmlUCSIsCatLm' file='xmlunicode'> |
| 7361 | <info>Check whether the character is part of Lm UCS Category</info> |
| 7362 | <return type='int'/> |
| 7363 | <arg name='code' type='int'/> |
| 7364 | </function> |
| 7365 | <function name='xmlUCSIsCatLo' file='xmlunicode'> |
| 7366 | <info>Check whether the character is part of Lo UCS Category</info> |
| 7367 | <return type='int'/> |
| 7368 | <arg name='code' type='int'/> |
| 7369 | </function> |
| 7370 | <function name='xmlUCSIsCatLt' file='xmlunicode'> |
| 7371 | <info>Check whether the character is part of Lt UCS Category</info> |
| 7372 | <return type='int'/> |
| 7373 | <arg name='code' type='int'/> |
| 7374 | </function> |
| 7375 | <function name='xmlUCSIsCatLu' file='xmlunicode'> |
| 7376 | <info>Check whether the character is part of Lu UCS Category</info> |
| 7377 | <return type='int'/> |
| 7378 | <arg name='code' type='int'/> |
| 7379 | </function> |
| 7380 | <function name='xmlUCSIsCatM' file='xmlunicode'> |
| 7381 | <info>Check whether the character is part of M UCS Category</info> |
| 7382 | <return type='int'/> |
| 7383 | <arg name='code' type='int'/> |
| 7384 | </function> |
| 7385 | <function name='xmlUCSIsCatMc' file='xmlunicode'> |
| 7386 | <info>Check whether the character is part of Mc UCS Category</info> |
| 7387 | <return type='int'/> |
| 7388 | <arg name='code' type='int'/> |
| 7389 | </function> |
| 7390 | <function name='xmlUCSIsCatMe' file='xmlunicode'> |
| 7391 | <info>Check whether the character is part of Me UCS Category</info> |
| 7392 | <return type='int'/> |
| 7393 | <arg name='code' type='int'/> |
| 7394 | </function> |
| 7395 | <function name='xmlUCSIsCatMn' file='xmlunicode'> |
| 7396 | <info>Check whether the character is part of Mn UCS Category</info> |
| 7397 | <return type='int'/> |
| 7398 | <arg name='code' type='int'/> |
| 7399 | </function> |
| 7400 | <function name='xmlUCSIsCatN' file='xmlunicode'> |
| 7401 | <info>Check whether the character is part of N UCS Category</info> |
| 7402 | <return type='int'/> |
| 7403 | <arg name='code' type='int'/> |
| 7404 | </function> |
| 7405 | <function name='xmlUCSIsCatNd' file='xmlunicode'> |
| 7406 | <info>Check whether the character is part of Nd UCS Category</info> |
| 7407 | <return type='int'/> |
| 7408 | <arg name='code' type='int'/> |
| 7409 | </function> |
| 7410 | <function name='xmlUCSIsCatNl' file='xmlunicode'> |
| 7411 | <info>Check whether the character is part of Nl UCS Category</info> |
| 7412 | <return type='int'/> |
| 7413 | <arg name='code' type='int'/> |
| 7414 | </function> |
| 7415 | <function name='xmlUCSIsCatNo' file='xmlunicode'> |
| 7416 | <info>Check whether the character is part of No UCS Category</info> |
| 7417 | <return type='int'/> |
| 7418 | <arg name='code' type='int'/> |
| 7419 | </function> |
| 7420 | <function name='xmlUCSIsCatP' file='xmlunicode'> |
| 7421 | <info>Check whether the character is part of P UCS Category</info> |
| 7422 | <return type='int'/> |
| 7423 | <arg name='code' type='int'/> |
| 7424 | </function> |
| 7425 | <function name='xmlUCSIsCatPc' file='xmlunicode'> |
| 7426 | <info>Check whether the character is part of Pc UCS Category</info> |
| 7427 | <return type='int'/> |
| 7428 | <arg name='code' type='int'/> |
| 7429 | </function> |
| 7430 | <function name='xmlUCSIsCatPd' file='xmlunicode'> |
| 7431 | <info>Check whether the character is part of Pd UCS Category</info> |
| 7432 | <return type='int'/> |
| 7433 | <arg name='code' type='int'/> |
| 7434 | </function> |
| 7435 | <function name='xmlUCSIsCatPe' file='xmlunicode'> |
| 7436 | <info>Check whether the character is part of Pe UCS Category</info> |
| 7437 | <return type='int'/> |
| 7438 | <arg name='code' type='int'/> |
| 7439 | </function> |
| 7440 | <function name='xmlUCSIsCatPf' file='xmlunicode'> |
| 7441 | <info>Check whether the character is part of Pf UCS Category</info> |
| 7442 | <return type='int'/> |
| 7443 | <arg name='code' type='int'/> |
| 7444 | </function> |
| 7445 | <function name='xmlUCSIsCatPi' file='xmlunicode'> |
| 7446 | <info>Check whether the character is part of Pi UCS Category</info> |
| 7447 | <return type='int'/> |
| 7448 | <arg name='code' type='int'/> |
| 7449 | </function> |
| 7450 | <function name='xmlUCSIsCatPo' file='xmlunicode'> |
| 7451 | <info>Check whether the character is part of Po UCS Category</info> |
| 7452 | <return type='int'/> |
| 7453 | <arg name='code' type='int'/> |
| 7454 | </function> |
| 7455 | <function name='xmlUCSIsCatPs' file='xmlunicode'> |
| 7456 | <info>Check whether the character is part of Ps UCS Category</info> |
| 7457 | <return type='int'/> |
| 7458 | <arg name='code' type='int'/> |
| 7459 | </function> |
| 7460 | <function name='xmlUCSIsCatS' file='xmlunicode'> |
| 7461 | <info>Check whether the character is part of S UCS Category</info> |
| 7462 | <return type='int'/> |
| 7463 | <arg name='code' type='int'/> |
| 7464 | </function> |
| 7465 | <function name='xmlUCSIsCatSc' file='xmlunicode'> |
| 7466 | <info>Check whether the character is part of Sc UCS Category</info> |
| 7467 | <return type='int'/> |
| 7468 | <arg name='code' type='int'/> |
| 7469 | </function> |
| 7470 | <function name='xmlUCSIsCatSk' file='xmlunicode'> |
| 7471 | <info>Check whether the character is part of Sk UCS Category</info> |
| 7472 | <return type='int'/> |
| 7473 | <arg name='code' type='int'/> |
| 7474 | </function> |
| 7475 | <function name='xmlUCSIsCatSm' file='xmlunicode'> |
| 7476 | <info>Check whether the character is part of Sm UCS Category</info> |
| 7477 | <return type='int'/> |
| 7478 | <arg name='code' type='int'/> |
| 7479 | </function> |
| 7480 | <function name='xmlUCSIsCatSo' file='xmlunicode'> |
| 7481 | <info>Check whether the character is part of So UCS Category</info> |
| 7482 | <return type='int'/> |
| 7483 | <arg name='code' type='int'/> |
| 7484 | </function> |
| 7485 | <function name='xmlUCSIsCatZ' file='xmlunicode'> |
| 7486 | <info>Check whether the character is part of Z UCS Category</info> |
| 7487 | <return type='int'/> |
| 7488 | <arg name='code' type='int'/> |
| 7489 | </function> |
| 7490 | <function name='xmlUCSIsCatZl' file='xmlunicode'> |
| 7491 | <info>Check whether the character is part of Zl UCS Category</info> |
| 7492 | <return type='int'/> |
| 7493 | <arg name='code' type='int'/> |
| 7494 | </function> |
| 7495 | <function name='xmlUCSIsCatZp' file='xmlunicode'> |
| 7496 | <info>Check whether the character is part of Zp UCS Category</info> |
| 7497 | <return type='int'/> |
| 7498 | <arg name='code' type='int'/> |
| 7499 | </function> |
| 7500 | <function name='xmlUCSIsCatZs' file='xmlunicode'> |
| 7501 | <info>Check whether the character is part of Zs UCS Category</info> |
| 7502 | <return type='int'/> |
| 7503 | <arg name='code' type='int'/> |
| 7504 | </function> |
| 7505 | <function name='xmlUCSIsCherokee' file='xmlunicode'> |
| 7506 | <info>Check whether the character is part of Cherokee UCS Block</info> |
| 7507 | <return type='int'/> |
| 7508 | <arg name='code' type='int'/> |
| 7509 | </function> |
| 7510 | <function name='xmlUCSIsCombiningDiacriticalMarks' file='xmlunicode'> |
| 7511 | <info>Check whether the character is part of CombiningDiacriticalMarks UCS Block</info> |
| 7512 | <return type='int'/> |
| 7513 | <arg name='code' type='int'/> |
| 7514 | </function> |
| 7515 | <function name='xmlUCSIsCombiningHalfMarks' file='xmlunicode'> |
| 7516 | <info>Check whether the character is part of CombiningHalfMarks UCS Block</info> |
| 7517 | <return type='int'/> |
| 7518 | <arg name='code' type='int'/> |
| 7519 | </function> |
| 7520 | <function name='xmlUCSIsCombiningMarksforSymbols' file='xmlunicode'> |
| 7521 | <info>Check whether the character is part of CombiningMarksforSymbols UCS Block</info> |
| 7522 | <return type='int'/> |
| 7523 | <arg name='code' type='int'/> |
| 7524 | </function> |
| 7525 | <function name='xmlUCSIsControlPictures' file='xmlunicode'> |
| 7526 | <info>Check whether the character is part of ControlPictures UCS Block</info> |
| 7527 | <return type='int'/> |
| 7528 | <arg name='code' type='int'/> |
| 7529 | </function> |
| 7530 | <function name='xmlUCSIsCurrencySymbols' file='xmlunicode'> |
| 7531 | <info>Check whether the character is part of CurrencySymbols UCS Block</info> |
| 7532 | <return type='int'/> |
| 7533 | <arg name='code' type='int'/> |
| 7534 | </function> |
| 7535 | <function name='xmlUCSIsCyrillic' file='xmlunicode'> |
| 7536 | <info>Check whether the character is part of Cyrillic UCS Block</info> |
| 7537 | <return type='int'/> |
| 7538 | <arg name='code' type='int'/> |
| 7539 | </function> |
| 7540 | <function name='xmlUCSIsDeseret' file='xmlunicode'> |
| 7541 | <info>Check whether the character is part of Deseret UCS Block</info> |
| 7542 | <return type='int'/> |
| 7543 | <arg name='code' type='int'/> |
| 7544 | </function> |
| 7545 | <function name='xmlUCSIsDevanagari' file='xmlunicode'> |
| 7546 | <info>Check whether the character is part of Devanagari UCS Block</info> |
| 7547 | <return type='int'/> |
| 7548 | <arg name='code' type='int'/> |
| 7549 | </function> |
| 7550 | <function name='xmlUCSIsDingbats' file='xmlunicode'> |
| 7551 | <info>Check whether the character is part of Dingbats UCS Block</info> |
| 7552 | <return type='int'/> |
| 7553 | <arg name='code' type='int'/> |
| 7554 | </function> |
| 7555 | <function name='xmlUCSIsEnclosedAlphanumerics' file='xmlunicode'> |
| 7556 | <info>Check whether the character is part of EnclosedAlphanumerics UCS Block</info> |
| 7557 | <return type='int'/> |
| 7558 | <arg name='code' type='int'/> |
| 7559 | </function> |
| 7560 | <function name='xmlUCSIsEnclosedCJKLettersandMonths' file='xmlunicode'> |
| 7561 | <info>Check whether the character is part of EnclosedCJKLettersandMonths UCS Block</info> |
| 7562 | <return type='int'/> |
| 7563 | <arg name='code' type='int'/> |
| 7564 | </function> |
| 7565 | <function name='xmlUCSIsEthiopic' file='xmlunicode'> |
| 7566 | <info>Check whether the character is part of Ethiopic UCS Block</info> |
| 7567 | <return type='int'/> |
| 7568 | <arg name='code' type='int'/> |
| 7569 | </function> |
| 7570 | <function name='xmlUCSIsGeneralPunctuation' file='xmlunicode'> |
| 7571 | <info>Check whether the character is part of GeneralPunctuation UCS Block</info> |
| 7572 | <return type='int'/> |
| 7573 | <arg name='code' type='int'/> |
| 7574 | </function> |
| 7575 | <function name='xmlUCSIsGeometricShapes' file='xmlunicode'> |
| 7576 | <info>Check whether the character is part of GeometricShapes UCS Block</info> |
| 7577 | <return type='int'/> |
| 7578 | <arg name='code' type='int'/> |
| 7579 | </function> |
| 7580 | <function name='xmlUCSIsGeorgian' file='xmlunicode'> |
| 7581 | <info>Check whether the character is part of Georgian UCS Block</info> |
| 7582 | <return type='int'/> |
| 7583 | <arg name='code' type='int'/> |
| 7584 | </function> |
| 7585 | <function name='xmlUCSIsGothic' file='xmlunicode'> |
| 7586 | <info>Check whether the character is part of Gothic UCS Block</info> |
| 7587 | <return type='int'/> |
| 7588 | <arg name='code' type='int'/> |
| 7589 | </function> |
| 7590 | <function name='xmlUCSIsGreek' file='xmlunicode'> |
| 7591 | <info>Check whether the character is part of Greek UCS Block</info> |
| 7592 | <return type='int'/> |
| 7593 | <arg name='code' type='int'/> |
| 7594 | </function> |
| 7595 | <function name='xmlUCSIsGreekExtended' file='xmlunicode'> |
| 7596 | <info>Check whether the character is part of GreekExtended UCS Block</info> |
| 7597 | <return type='int'/> |
| 7598 | <arg name='code' type='int'/> |
| 7599 | </function> |
| 7600 | <function name='xmlUCSIsGujarati' file='xmlunicode'> |
| 7601 | <info>Check whether the character is part of Gujarati UCS Block</info> |
| 7602 | <return type='int'/> |
| 7603 | <arg name='code' type='int'/> |
| 7604 | </function> |
| 7605 | <function name='xmlUCSIsGurmukhi' file='xmlunicode'> |
| 7606 | <info>Check whether the character is part of Gurmukhi UCS Block</info> |
| 7607 | <return type='int'/> |
| 7608 | <arg name='code' type='int'/> |
| 7609 | </function> |
| 7610 | <function name='xmlUCSIsHalfwidthandFullwidthForms' file='xmlunicode'> |
| 7611 | <info>Check whether the character is part of HalfwidthandFullwidthForms UCS Block</info> |
| 7612 | <return type='int'/> |
| 7613 | <arg name='code' type='int'/> |
| 7614 | </function> |
| 7615 | <function name='xmlUCSIsHangulCompatibilityJamo' file='xmlunicode'> |
| 7616 | <info>Check whether the character is part of HangulCompatibilityJamo UCS Block</info> |
| 7617 | <return type='int'/> |
| 7618 | <arg name='code' type='int'/> |
| 7619 | </function> |
| 7620 | <function name='xmlUCSIsHangulJamo' file='xmlunicode'> |
| 7621 | <info>Check whether the character is part of HangulJamo UCS Block</info> |
| 7622 | <return type='int'/> |
| 7623 | <arg name='code' type='int'/> |
| 7624 | </function> |
| 7625 | <function name='xmlUCSIsHangulSyllables' file='xmlunicode'> |
| 7626 | <info>Check whether the character is part of HangulSyllables UCS Block</info> |
| 7627 | <return type='int'/> |
| 7628 | <arg name='code' type='int'/> |
| 7629 | </function> |
| 7630 | <function name='xmlUCSIsHebrew' file='xmlunicode'> |
| 7631 | <info>Check whether the character is part of Hebrew UCS Block</info> |
| 7632 | <return type='int'/> |
| 7633 | <arg name='code' type='int'/> |
| 7634 | </function> |
| 7635 | <function name='xmlUCSIsHighPrivateUseSurrogates' file='xmlunicode'> |
| 7636 | <info>Check whether the character is part of HighPrivateUseSurrogates UCS Block</info> |
| 7637 | <return type='int'/> |
| 7638 | <arg name='code' type='int'/> |
| 7639 | </function> |
| 7640 | <function name='xmlUCSIsHighSurrogates' file='xmlunicode'> |
| 7641 | <info>Check whether the character is part of HighSurrogates UCS Block</info> |
| 7642 | <return type='int'/> |
| 7643 | <arg name='code' type='int'/> |
| 7644 | </function> |
| 7645 | <function name='xmlUCSIsHiragana' file='xmlunicode'> |
| 7646 | <info>Check whether the character is part of Hiragana UCS Block</info> |
| 7647 | <return type='int'/> |
| 7648 | <arg name='code' type='int'/> |
| 7649 | </function> |
| 7650 | <function name='xmlUCSIsIPAExtensions' file='xmlunicode'> |
| 7651 | <info>Check whether the character is part of IPAExtensions UCS Block</info> |
| 7652 | <return type='int'/> |
| 7653 | <arg name='code' type='int'/> |
| 7654 | </function> |
| 7655 | <function name='xmlUCSIsIdeographicDescriptionCharacters' file='xmlunicode'> |
| 7656 | <info>Check whether the character is part of IdeographicDescriptionCharacters UCS Block</info> |
| 7657 | <return type='int'/> |
| 7658 | <arg name='code' type='int'/> |
| 7659 | </function> |
| 7660 | <function name='xmlUCSIsKanbun' file='xmlunicode'> |
| 7661 | <info>Check whether the character is part of Kanbun UCS Block</info> |
| 7662 | <return type='int'/> |
| 7663 | <arg name='code' type='int'/> |
| 7664 | </function> |
| 7665 | <function name='xmlUCSIsKangxiRadicals' file='xmlunicode'> |
| 7666 | <info>Check whether the character is part of KangxiRadicals UCS Block</info> |
| 7667 | <return type='int'/> |
| 7668 | <arg name='code' type='int'/> |
| 7669 | </function> |
| 7670 | <function name='xmlUCSIsKannada' file='xmlunicode'> |
| 7671 | <info>Check whether the character is part of Kannada UCS Block</info> |
| 7672 | <return type='int'/> |
| 7673 | <arg name='code' type='int'/> |
| 7674 | </function> |
| 7675 | <function name='xmlUCSIsKatakana' file='xmlunicode'> |
| 7676 | <info>Check whether the character is part of Katakana UCS Block</info> |
| 7677 | <return type='int'/> |
| 7678 | <arg name='code' type='int'/> |
| 7679 | </function> |
| 7680 | <function name='xmlUCSIsKhmer' file='xmlunicode'> |
| 7681 | <info>Check whether the character is part of Khmer UCS Block</info> |
| 7682 | <return type='int'/> |
| 7683 | <arg name='code' type='int'/> |
| 7684 | </function> |
| 7685 | <function name='xmlUCSIsLao' file='xmlunicode'> |
| 7686 | <info>Check whether the character is part of Lao UCS Block</info> |
| 7687 | <return type='int'/> |
| 7688 | <arg name='code' type='int'/> |
| 7689 | </function> |
| 7690 | <function name='xmlUCSIsLatin1Supplement' file='xmlunicode'> |
| 7691 | <info>Check whether the character is part of Latin-1Supplement UCS Block</info> |
| 7692 | <return type='int'/> |
| 7693 | <arg name='code' type='int'/> |
| 7694 | </function> |
| 7695 | <function name='xmlUCSIsLatinExtendedA' file='xmlunicode'> |
| 7696 | <info>Check whether the character is part of LatinExtended-A UCS Block</info> |
| 7697 | <return type='int'/> |
| 7698 | <arg name='code' type='int'/> |
| 7699 | </function> |
| 7700 | <function name='xmlUCSIsLatinExtendedAdditional' file='xmlunicode'> |
| 7701 | <info>Check whether the character is part of LatinExtendedAdditional UCS Block</info> |
| 7702 | <return type='int'/> |
| 7703 | <arg name='code' type='int'/> |
| 7704 | </function> |
| 7705 | <function name='xmlUCSIsLatinExtendedB' file='xmlunicode'> |
| 7706 | <info>Check whether the character is part of LatinExtended-B UCS Block</info> |
| 7707 | <return type='int'/> |
| 7708 | <arg name='code' type='int'/> |
| 7709 | </function> |
| 7710 | <function name='xmlUCSIsLetterlikeSymbols' file='xmlunicode'> |
| 7711 | <info>Check whether the character is part of LetterlikeSymbols UCS Block</info> |
| 7712 | <return type='int'/> |
| 7713 | <arg name='code' type='int'/> |
| 7714 | </function> |
| 7715 | <function name='xmlUCSIsLowSurrogates' file='xmlunicode'> |
| 7716 | <info>Check whether the character is part of LowSurrogates UCS Block</info> |
| 7717 | <return type='int'/> |
| 7718 | <arg name='code' type='int'/> |
| 7719 | </function> |
| 7720 | <function name='xmlUCSIsMalayalam' file='xmlunicode'> |
| 7721 | <info>Check whether the character is part of Malayalam UCS Block</info> |
| 7722 | <return type='int'/> |
| 7723 | <arg name='code' type='int'/> |
| 7724 | </function> |
| 7725 | <function name='xmlUCSIsMathematicalAlphanumericSymbols' file='xmlunicode'> |
| 7726 | <info>Check whether the character is part of MathematicalAlphanumericSymbols UCS Block</info> |
| 7727 | <return type='int'/> |
| 7728 | <arg name='code' type='int'/> |
| 7729 | </function> |
| 7730 | <function name='xmlUCSIsMathematicalOperators' file='xmlunicode'> |
| 7731 | <info>Check whether the character is part of MathematicalOperators UCS Block</info> |
| 7732 | <return type='int'/> |
| 7733 | <arg name='code' type='int'/> |
| 7734 | </function> |
| 7735 | <function name='xmlUCSIsMiscellaneousSymbols' file='xmlunicode'> |
| 7736 | <info>Check whether the character is part of MiscellaneousSymbols UCS Block</info> |
| 7737 | <return type='int'/> |
| 7738 | <arg name='code' type='int'/> |
| 7739 | </function> |
| 7740 | <function name='xmlUCSIsMiscellaneousTechnical' file='xmlunicode'> |
| 7741 | <info>Check whether the character is part of MiscellaneousTechnical UCS Block</info> |
| 7742 | <return type='int'/> |
| 7743 | <arg name='code' type='int'/> |
| 7744 | </function> |
| 7745 | <function name='xmlUCSIsMongolian' file='xmlunicode'> |
| 7746 | <info>Check whether the character is part of Mongolian UCS Block</info> |
| 7747 | <return type='int'/> |
| 7748 | <arg name='code' type='int'/> |
| 7749 | </function> |
| 7750 | <function name='xmlUCSIsMusicalSymbols' file='xmlunicode'> |
| 7751 | <info>Check whether the character is part of MusicalSymbols UCS Block</info> |
| 7752 | <return type='int'/> |
| 7753 | <arg name='code' type='int'/> |
| 7754 | </function> |
| 7755 | <function name='xmlUCSIsMyanmar' file='xmlunicode'> |
| 7756 | <info>Check whether the character is part of Myanmar UCS Block</info> |
| 7757 | <return type='int'/> |
| 7758 | <arg name='code' type='int'/> |
| 7759 | </function> |
| 7760 | <function name='xmlUCSIsNumberForms' file='xmlunicode'> |
| 7761 | <info>Check whether the character is part of NumberForms UCS Block</info> |
| 7762 | <return type='int'/> |
| 7763 | <arg name='code' type='int'/> |
| 7764 | </function> |
| 7765 | <function name='xmlUCSIsOgham' file='xmlunicode'> |
| 7766 | <info>Check whether the character is part of Ogham UCS Block</info> |
| 7767 | <return type='int'/> |
| 7768 | <arg name='code' type='int'/> |
| 7769 | </function> |
| 7770 | <function name='xmlUCSIsOldItalic' file='xmlunicode'> |
| 7771 | <info>Check whether the character is part of OldItalic UCS Block</info> |
| 7772 | <return type='int'/> |
| 7773 | <arg name='code' type='int'/> |
| 7774 | </function> |
| 7775 | <function name='xmlUCSIsOpticalCharacterRecognition' file='xmlunicode'> |
| 7776 | <info>Check whether the character is part of OpticalCharacterRecognition UCS Block</info> |
| 7777 | <return type='int'/> |
| 7778 | <arg name='code' type='int'/> |
| 7779 | </function> |
| 7780 | <function name='xmlUCSIsOriya' file='xmlunicode'> |
| 7781 | <info>Check whether the character is part of Oriya UCS Block</info> |
| 7782 | <return type='int'/> |
| 7783 | <arg name='code' type='int'/> |
| 7784 | </function> |
| 7785 | <function name='xmlUCSIsPrivateUse' file='xmlunicode'> |
| 7786 | <info>Check whether the character is part of PrivateUse UCS Block</info> |
| 7787 | <return type='int'/> |
| 7788 | <arg name='code' type='int'/> |
| 7789 | </function> |
| 7790 | <function name='xmlUCSIsRunic' file='xmlunicode'> |
| 7791 | <info>Check whether the character is part of Runic UCS Block</info> |
| 7792 | <return type='int'/> |
| 7793 | <arg name='code' type='int'/> |
| 7794 | </function> |
| 7795 | <function name='xmlUCSIsSinhala' file='xmlunicode'> |
| 7796 | <info>Check whether the character is part of Sinhala UCS Block</info> |
| 7797 | <return type='int'/> |
| 7798 | <arg name='code' type='int'/> |
| 7799 | </function> |
| 7800 | <function name='xmlUCSIsSmallFormVariants' file='xmlunicode'> |
| 7801 | <info>Check whether the character is part of SmallFormVariants UCS Block</info> |
| 7802 | <return type='int'/> |
| 7803 | <arg name='code' type='int'/> |
| 7804 | </function> |
| 7805 | <function name='xmlUCSIsSpacingModifierLetters' file='xmlunicode'> |
| 7806 | <info>Check whether the character is part of SpacingModifierLetters UCS Block</info> |
| 7807 | <return type='int'/> |
| 7808 | <arg name='code' type='int'/> |
| 7809 | </function> |
| 7810 | <function name='xmlUCSIsSpecials' file='xmlunicode'> |
| 7811 | <info>Check whether the character is part of Specials UCS Block</info> |
| 7812 | <return type='int'/> |
| 7813 | <arg name='code' type='int'/> |
| 7814 | </function> |
| 7815 | <function name='xmlUCSIsSuperscriptsandSubscripts' file='xmlunicode'> |
| 7816 | <info>Check whether the character is part of SuperscriptsandSubscripts UCS Block</info> |
| 7817 | <return type='int'/> |
| 7818 | <arg name='code' type='int'/> |
| 7819 | </function> |
| 7820 | <function name='xmlUCSIsSyriac' file='xmlunicode'> |
| 7821 | <info>Check whether the character is part of Syriac UCS Block</info> |
| 7822 | <return type='int'/> |
| 7823 | <arg name='code' type='int'/> |
| 7824 | </function> |
| 7825 | <function name='xmlUCSIsTags' file='xmlunicode'> |
| 7826 | <info>Check whether the character is part of Tags UCS Block</info> |
| 7827 | <return type='int'/> |
| 7828 | <arg name='code' type='int'/> |
| 7829 | </function> |
| 7830 | <function name='xmlUCSIsTamil' file='xmlunicode'> |
| 7831 | <info>Check whether the character is part of Tamil UCS Block</info> |
| 7832 | <return type='int'/> |
| 7833 | <arg name='code' type='int'/> |
| 7834 | </function> |
| 7835 | <function name='xmlUCSIsTelugu' file='xmlunicode'> |
| 7836 | <info>Check whether the character is part of Telugu UCS Block</info> |
| 7837 | <return type='int'/> |
| 7838 | <arg name='code' type='int'/> |
| 7839 | </function> |
| 7840 | <function name='xmlUCSIsThaana' file='xmlunicode'> |
| 7841 | <info>Check whether the character is part of Thaana UCS Block</info> |
| 7842 | <return type='int'/> |
| 7843 | <arg name='code' type='int'/> |
| 7844 | </function> |
| 7845 | <function name='xmlUCSIsThai' file='xmlunicode'> |
| 7846 | <info>Check whether the character is part of Thai UCS Block</info> |
| 7847 | <return type='int'/> |
| 7848 | <arg name='code' type='int'/> |
| 7849 | </function> |
| 7850 | <function name='xmlUCSIsTibetan' file='xmlunicode'> |
| 7851 | <info>Check whether the character is part of Tibetan UCS Block</info> |
| 7852 | <return type='int'/> |
| 7853 | <arg name='code' type='int'/> |
| 7854 | </function> |
| 7855 | <function name='xmlUCSIsUnifiedCanadianAboriginalSyllabics' file='xmlunicode'> |
| 7856 | <info>Check whether the character is part of UnifiedCanadianAboriginalSyllabics UCS Block</info> |
| 7857 | <return type='int'/> |
| 7858 | <arg name='code' type='int'/> |
| 7859 | </function> |
| 7860 | <function name='xmlUCSIsYiRadicals' file='xmlunicode'> |
| 7861 | <info>Check whether the character is part of YiRadicals UCS Block</info> |
| 7862 | <return type='int'/> |
| 7863 | <arg name='code' type='int'/> |
| 7864 | </function> |
| 7865 | <function name='xmlUCSIsYiSyllables' file='xmlunicode'> |
| 7866 | <info>Check whether the character is part of YiSyllables UCS Block</info> |
| 7867 | <return type='int'/> |
| 7868 | <arg name='code' type='int'/> |
| 7869 | </function> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 7870 | <struct name='xmlURI' file='uri'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7871 | <function name='xmlURIEscape' file='uri'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7872 | <info>Escaping routine, does not do validity checks ! It will try to escape the chars needing this, but this is heuristic based it's impossible to be sure.</info> |
| 7873 | <return type='xmlChar *' info='an copy of the string, but escaped 25 May 2001 Uses xmlParseURI and xmlURIEscapeStr to try to escape correctly according to RFC2396. - Carl Douglas '/> |
| 7874 | <arg name='str' type='const xmlChar *' info='the string of the URI to escape '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7875 | </function> |
| 7876 | <function name='xmlURIEscapeStr' file='uri'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7877 | <info>This routine escapes a string to hex, ignoring reserved characters (a-z) and the characters in the exception list.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7878 | <return type='xmlChar *' info='a new escaped string or NULL in case of error. '/> |
| 7879 | <arg name='str' type='const xmlChar *' info='string to escape '/> |
| 7880 | <arg name='list' type='const xmlChar *' info='exception list string of chars not to escape '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7881 | </function> |
| 7882 | <typedef name='xmlURIPtr' file='uri'/> |
| 7883 | <function name='xmlURIUnescapeString' file='uri'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7884 | <info>Unescaping routine, does not do validity checks ! Output is direct unsigned char translation of XX values (no encoding)</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7885 | <return type='char *' info='an copy of the string, but unescaped '/> |
| 7886 | <arg name='str' type='const char *' info='the string to unescape '/> |
| 7887 | <arg name='len' type='int' info='the length in bytes to unescape (or <= 0 to indicate full string) '/> |
| 7888 | <arg name='target' type='char *' info='optional destination buffer '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7889 | </function> |
| 7890 | <function name='xmlUTF8Strlen' file='encoding'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7891 | <info>compute the length of an UTF8 string, it doesn't do a full UTF8 checking of the content of the string.</info> |
| 7892 | <return type='int' info='the number of characters in the string or -1 in case of error '/> |
| 7893 | <arg name='utf' type='const xmlChar *' info='a sequence of UTF-8 encoded bytes '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7894 | </function> |
| 7895 | <function name='xmlUTF8Strloc' file='encoding'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7896 | <info>a function to provide relative location of a UTF8 char</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7897 | <return type='int' info='the relative character position of the desired char or -1 if not found '/> |
| 7898 | <arg name='utf' type='const xmlChar *' info='the input UTF8 * '/> |
| 7899 | <arg name='utfchar' type='const xmlChar *' info='the UTF8 character to be found '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7900 | </function> |
| 7901 | <function name='xmlUTF8Strndup' file='encoding'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7902 | <info>a strndup for array of UTF8's</info> |
| 7903 | <return type='xmlChar *' info='a new UTF8 * or NULL '/> |
| 7904 | <arg name='utf' type='const xmlChar *' info='the input UTF8 * '/> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 7905 | <arg name='len' type='int' info='the len of utf (in chars) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7906 | </function> |
| 7907 | <function name='xmlUTF8Strpos' file='encoding'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7908 | <info>a function to provide the equivalent of fetching a character from a string array</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7909 | <return type='xmlChar *' info='a pointer to the UTF8 character or NULL '/> |
| 7910 | <arg name='utf' type='const xmlChar *' info='the input UTF8 * '/> |
| 7911 | <arg name='pos' type='int' info='the position of the desired UTF8 char (in chars) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7912 | </function> |
| 7913 | <function name='xmlUTF8Strsize' file='encoding'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7914 | <info>storage size of an UTF8 string</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7915 | <return type='int' info='the storage size of the first 'len' characters of ARRAY '/> |
| 7916 | <arg name='utf' type='const xmlChar *' info='a sequence of UTF-8 encoded bytes '/> |
| 7917 | <arg name='len' type='int' info='the number of characters in the array '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7918 | </function> |
| 7919 | <function name='xmlUTF8Strsub' file='encoding'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7920 | <info>Note: positions are given in units of UTF-8 chars</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7921 | <return type='xmlChar *' info='a pointer to a newly created string or NULL if any problem '/> |
| 7922 | <arg name='utf' type='const xmlChar *' info='a sequence of UTF-8 encoded bytes '/> |
| 7923 | <arg name='start' type='int' info='relative pos of first char '/> |
| 7924 | <arg name='len' type='int' info='total number to copy '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7925 | </function> |
| 7926 | <function name='xmlUnlinkNode' file='tree'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7927 | <info>Unlink a node from it's current context, the node is not freed</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7928 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7929 | <arg name='cur' type='xmlNodePtr' info='the node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7930 | </function> |
| 7931 | <function name='xmlUnlockLibrary' file='threads'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7932 | <info>xmlUnlockLibrary() is used to release a re-entrant lock on the libxml2 library.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7933 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7934 | </function> |
| 7935 | <function name='xmlUnsetNsProp' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7936 | <info>Remove an attribute carried by a node.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7937 | <return type='int' info='0 if successful, -1 if not found '/> |
| 7938 | <arg name='node' type='xmlNodePtr' info='the node '/> |
| 7939 | <arg name='ns' type='xmlNsPtr' info='the namespace definition '/> |
| 7940 | <arg name='name' type='const xmlChar *' info='the attribute name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7941 | </function> |
| 7942 | <function name='xmlUnsetProp' file='tree'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7943 | <info>Remove an attribute carried by a node.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7944 | <return type='int' info='0 if successful, -1 if not found '/> |
| 7945 | <arg name='node' type='xmlNodePtr' info='the node '/> |
| 7946 | <arg name='name' type='const xmlChar *' info='the attribute name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7947 | </function> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 7948 | <function name='xmlValidBuildContentModel' file='valid'> |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame] | 7949 | <info>(Re)Build the automata associated to the content model of this element</info> |
| 7950 | <return type='int' info='1 in case of success, 0 in case of error '/> |
| 7951 | <arg name='ctxt' type='xmlValidCtxtPtr' info='a validation context '/> |
| 7952 | <arg name='elem' type='xmlElementPtr' info='an element declaration node '/> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 7953 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7954 | <struct name='xmlValidCtxt' file='valid'/> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 7955 | <function name='xmlValidCtxtNormalizeAttributeValue' file='valid'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 7956 | <info>Does the validation related extra step of the normalization of attribute values: If the declared value is not CDATA, then the XML processor must further process the normalized attribute value by discarding any leading and trailing space (x20) characters, and by replacing sequences of space (x20) characters by single space (x20) character. Also check VC: Standalone Document Declaration in P32, and update ctxt->valid accordingly</info> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 7957 | <return type='xmlChar *' info='a new normalized string if normalization is needed, NULL otherwise the caller must free the returned value. '/> |
| 7958 | <arg name='ctxt' type='xmlValidCtxtPtr' info='the validation context '/> |
| 7959 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 7960 | <arg name='elem' type='xmlNodePtr' info='the parent '/> |
| 7961 | <arg name='name' type='const xmlChar *' info='the attribute name '/> |
| 7962 | <arg name='value' type='const xmlChar *' info='the attribute value '/> |
| 7963 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7964 | <typedef name='xmlValidCtxtPtr' file='valid'/> |
| 7965 | <function name='xmlValidGetPotentialChildren' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 7966 | <info>Build/extend a list of potential children allowed by the content tree</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7967 | <return type='int' info='the number of element in the list, or -1 in case of error. '/> |
| 7968 | <arg name='ctree' type='xmlElementContent *' info='an element content tree '/> |
| 7969 | <arg name='list' type='const xmlChar **' info='an array to store the list of child names '/> |
| 7970 | <arg name='len' type='int *' info='a pointer to the number of element in the list '/> |
| 7971 | <arg name='max' type='int' info='the size of the array '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7972 | </function> |
| 7973 | <function name='xmlValidGetValidElements' file='valid'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 7974 | <info>This function returns the list of authorized children to insert within an existing tree while respecting the validity constraints forced by the Dtd. The insertion point is defined using prev and next in the following ways: to insert before 'node': xmlValidGetValidElements(node->prev, node, ... to insert next 'node': xmlValidGetValidElements(node, node->next, ... to replace 'node': xmlValidGetValidElements(node->prev, node->next, ... to prepend a child to 'node': xmlValidGetValidElements(NULL, node->childs, to append a child to 'node': xmlValidGetValidElements(node->last, NULL, ... pointers to the element names are inserted at the beginning of the array and do not need to be freed.</info> |
| 7975 | <return type='int' info='the number of element in the list, or -1 in case of error. If the function returns the value max the caller is invited to grow the receiving array and retry. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7976 | <arg name='prev' type='xmlNode *' info='an element to insert after '/> |
| 7977 | <arg name='next' type='xmlNode *' info='an element to insert next '/> |
| 7978 | <arg name='list' type='const xmlChar **' info='an array to store the list of child names '/> |
| 7979 | <arg name='max' type='int' info='the size of the array '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7980 | </function> |
| 7981 | <function name='xmlValidNormalizeAttributeValue' file='valid'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 7982 | <info>Does the validation related extra step of the normalization of attribute values: If the declared value is not CDATA, then the XML processor must further process the normalized attribute value by discarding any leading and trailing space (x20) characters, and by replacing sequences of space (x20) characters by single space (x20) character.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7983 | <return type='xmlChar *' info='a new normalized string if normalization is needed, NULL otherwise the caller must free the returned value. '/> |
| 7984 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 7985 | <arg name='elem' type='xmlNodePtr' info='the parent '/> |
| 7986 | <arg name='name' type='const xmlChar *' info='the attribute name '/> |
| 7987 | <arg name='value' type='const xmlChar *' info='the attribute value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7988 | </function> |
| 7989 | <struct name='xmlValidState' file='valid'/> |
| 7990 | <typedef name='xmlValidStatePtr' file='valid'/> |
| 7991 | <function name='xmlValidateAttributeDecl' file='valid'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 7992 | <info>Try to validate a single attribute definition basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Attribute Default Legal ] - [ VC: Enumeration ] - [ VC: ID Attribute Default ] The ID/IDREF uniqueness and matching are done separately</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 7993 | <return type='int' info='1 if valid or 0 otherwise '/> |
| 7994 | <arg name='ctxt' type='xmlValidCtxtPtr' info='the validation context '/> |
| 7995 | <arg name='doc' type='xmlDocPtr' info='a document instance '/> |
| 7996 | <arg name='attr' type='xmlAttributePtr' info='an attribute definition '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 7997 | </function> |
| 7998 | <function name='xmlValidateAttributeValue' file='valid'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 7999 | <info>Validate that the given attribute value match the proper production [ VC: ID ] Values of type ID must match the Name production.... [ VC: IDREF ] Values of type IDREF must match the Name production, and values of type IDREFS must match Names ... [ VC: Entity Name ] Values of type ENTITY must match the Name production, values of type ENTITIES must match Names ... [ VC: Name Token ] Values of type NMTOKEN must match the Nmtoken production; values of type NMTOKENS must match Nmtokens.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8000 | <return type='int' info='1 if valid or 0 otherwise '/> |
| 8001 | <arg name='type' type='xmlAttributeType' info='an attribute type '/> |
| 8002 | <arg name='value' type='const xmlChar *' info='an attribute value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8003 | </function> |
| 8004 | <function name='xmlValidateDocument' file='valid'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8005 | <info>Try to validate the document instance basically it does the all the checks described by the XML Rec i.e. validates the internal and external subset (if present) and validate the document tree.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8006 | <return type='int' info='1 if valid or 0 otherwise '/> |
| 8007 | <arg name='ctxt' type='xmlValidCtxtPtr' info='the validation context '/> |
| 8008 | <arg name='doc' type='xmlDocPtr' info='a document instance '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8009 | </function> |
| 8010 | <function name='xmlValidateDocumentFinal' file='valid'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8011 | <info>Does the final step for the document validation once all the incremental validation steps have been completed basically it does the following checks described by the XML Rec</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8012 | <return type='int' info='1 if valid or 0 otherwise '/> |
| 8013 | <arg name='ctxt' type='xmlValidCtxtPtr' info='the validation context '/> |
| 8014 | <arg name='doc' type='xmlDocPtr' info='a document instance '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8015 | </function> |
| 8016 | <function name='xmlValidateDtd' file='valid'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8017 | <info>Try to validate the document against the dtd instance basically it does check all the definitions in the DtD.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8018 | <return type='int' info='1 if valid or 0 otherwise '/> |
| 8019 | <arg name='ctxt' type='xmlValidCtxtPtr' info='the validation context '/> |
| 8020 | <arg name='doc' type='xmlDocPtr' info='a document instance '/> |
| 8021 | <arg name='dtd' type='xmlDtdPtr' info='a dtd instance '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8022 | </function> |
| 8023 | <function name='xmlValidateDtdFinal' file='valid'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8024 | <info>Does the final step for the dtds validation once all the subsets have been parsed basically it does the following checks described by the XML Rec - check that ENTITY and ENTITIES type attributes default or possible values matches one of the defined entities. - check that NOTATION type attributes default or possible values matches one of the defined notations.</info> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 8025 | <return type='int' info='1 if valid or 0 if invalid and -1 if not well-formed '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8026 | <arg name='ctxt' type='xmlValidCtxtPtr' info='the validation context '/> |
| 8027 | <arg name='doc' type='xmlDocPtr' info='a document instance '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8028 | </function> |
| 8029 | <function name='xmlValidateElement' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8030 | <info>Try to validate the subtree under an element</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8031 | <return type='int' info='1 if valid or 0 otherwise '/> |
| 8032 | <arg name='ctxt' type='xmlValidCtxtPtr' info='the validation context '/> |
| 8033 | <arg name='doc' type='xmlDocPtr' info='a document instance '/> |
| 8034 | <arg name='elem' type='xmlNodePtr' info='an element instance '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8035 | </function> |
| 8036 | <function name='xmlValidateElementDecl' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8037 | <info>Try to validate a single element definition basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: One ID per Element Type ] - [ VC: No Duplicate Types ] - [ VC: Unique Element Type Declaration ]</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8038 | <return type='int' info='1 if valid or 0 otherwise '/> |
| 8039 | <arg name='ctxt' type='xmlValidCtxtPtr' info='the validation context '/> |
| 8040 | <arg name='doc' type='xmlDocPtr' info='a document instance '/> |
| 8041 | <arg name='elem' type='xmlElementPtr' info='an element definition '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8042 | </function> |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame] | 8043 | <function name='xmlValidateNameValue' file='valid'> |
| 8044 | <info>Validate that the given value match Name production</info> |
| 8045 | <return type='int' info='1 if valid or 0 otherwise '/> |
| 8046 | <arg name='value' type='const xmlChar *' info='an Name value '/> |
| 8047 | </function> |
| 8048 | <function name='xmlValidateNamesValue' file='valid'> |
| 8049 | <info>Validate that the given value match Names production</info> |
| 8050 | <return type='int' info='1 if valid or 0 otherwise '/> |
| 8051 | <arg name='value' type='const xmlChar *' info='an Names value '/> |
| 8052 | </function> |
| 8053 | <function name='xmlValidateNmtokenValue' file='valid'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8054 | <info>Validate that the given value match Nmtoken production [ VC: Name Token ]</info> |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame] | 8055 | <return type='int' info='1 if valid or 0 otherwise '/> |
| 8056 | <arg name='value' type='const xmlChar *' info='an Nmtoken value '/> |
| 8057 | </function> |
| 8058 | <function name='xmlValidateNmtokensValue' file='valid'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8059 | <info>Validate that the given value match Nmtokens production [ VC: Name Token ]</info> |
Daniel Veillard | a7084cd | 2002-04-15 17:12:47 +0000 | [diff] [blame] | 8060 | <return type='int' info='1 if valid or 0 otherwise '/> |
| 8061 | <arg name='value' type='const xmlChar *' info='an Nmtokens value '/> |
| 8062 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8063 | <function name='xmlValidateNotationDecl' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8064 | <info>Try to validate a single notation definition basically it does the following checks as described by the XML-1.0 recommendation: - it seems that no validity constraint exists on notation declarations But this function get called anyway ...</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8065 | <return type='int' info='1 if valid or 0 otherwise '/> |
| 8066 | <arg name='ctxt' type='xmlValidCtxtPtr' info='the validation context '/> |
| 8067 | <arg name='doc' type='xmlDocPtr' info='a document instance '/> |
| 8068 | <arg name='nota' type='xmlNotationPtr' info='a notation definition '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8069 | </function> |
| 8070 | <function name='xmlValidateNotationUse' file='valid'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8071 | <info>Validate that the given name match a notation declaration. - [ VC: Notation Declared ]</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8072 | <return type='int' info='1 if valid or 0 otherwise '/> |
| 8073 | <arg name='ctxt' type='xmlValidCtxtPtr' info='the validation context '/> |
| 8074 | <arg name='doc' type='xmlDocPtr' info='the document '/> |
| 8075 | <arg name='notationName' type='const xmlChar *' info='the notation name to check '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8076 | </function> |
| 8077 | <function name='xmlValidateOneAttribute' file='valid'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8078 | <info>Try to validate a single attribute for an element basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Attribute Value Type ] - [ VC: Fixed Attribute Default ] - [ VC: Entity Name ] - [ VC: Name Token ] - [ VC: ID ] - [ VC: IDREF ] - [ VC: Entity Name ] - [ VC: Notation Attributes ] The ID/IDREF uniqueness and matching are done separately</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8079 | <return type='int' info='1 if valid or 0 otherwise '/> |
| 8080 | <arg name='ctxt' type='xmlValidCtxtPtr' info='the validation context '/> |
| 8081 | <arg name='doc' type='xmlDocPtr' info='a document instance '/> |
| 8082 | <arg name='elem' type='xmlNodePtr' info='an element instance '/> |
| 8083 | <arg name='attr' type='xmlAttrPtr' info='an attribute instance '/> |
| 8084 | <arg name='value' type='const xmlChar *' info='the attribute value (without entities processing) '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8085 | </function> |
| 8086 | <function name='xmlValidateOneElement' file='valid'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8087 | <info>Try to validate a single element and it's attributes, basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Element Valid ] - [ VC: Required Attribute ] Then call xmlValidateOneAttribute() for each attribute present. The ID/IDREF checkings are done separately</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8088 | <return type='int' info='1 if valid or 0 otherwise '/> |
| 8089 | <arg name='ctxt' type='xmlValidCtxtPtr' info='the validation context '/> |
| 8090 | <arg name='doc' type='xmlDocPtr' info='a document instance '/> |
| 8091 | <arg name='elem' type='xmlNodePtr' info='an element instance '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8092 | </function> |
Daniel Veillard | e16b574 | 2002-09-26 17:50:03 +0000 | [diff] [blame] | 8093 | <function name='xmlValidateOneNamespace' file='valid'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8094 | <info>Try to validate a single namespace declaration for an element basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Attribute Value Type ] - [ VC: Fixed Attribute Default ] - [ VC: Entity Name ] - [ VC: Name Token ] - [ VC: ID ] - [ VC: IDREF ] - [ VC: Entity Name ] - [ VC: Notation Attributes ] The ID/IDREF uniqueness and matching are done separately</info> |
Daniel Veillard | 5ede35e | 2002-10-01 11:37:35 +0000 | [diff] [blame] | 8095 | <return type='int' info='1 if valid or 0 otherwise '/> |
| 8096 | <arg name='ctxt' type='xmlValidCtxtPtr' info='the validation context '/> |
| 8097 | <arg name='doc' type='xmlDocPtr' info='a document instance '/> |
| 8098 | <arg name='elem' type='xmlNodePtr' info='an element instance '/> |
Daniel Veillard | e16b574 | 2002-09-26 17:50:03 +0000 | [diff] [blame] | 8099 | <arg name='prefix' type='const xmlChar *'/> |
Daniel Veillard | 5ede35e | 2002-10-01 11:37:35 +0000 | [diff] [blame] | 8100 | <arg name='ns' type='xmlNsPtr' info='an namespace declaration instance '/> |
| 8101 | <arg name='value' type='const xmlChar *' info='the attribute value (without entities processing) '/> |
Daniel Veillard | e16b574 | 2002-09-26 17:50:03 +0000 | [diff] [blame] | 8102 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8103 | <function name='xmlValidateRoot' file='valid'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8104 | <info>Try to validate a the root element basically it does the following check as described by the XML-1.0 recommendation: - [ VC: Root Element Type ] it doesn't try to recurse or apply other check to the element</info> |
| 8105 | <return type='int' info='1 if valid or 0 otherwise '/> |
| 8106 | <arg name='ctxt' type='xmlValidCtxtPtr' info='the validation context '/> |
| 8107 | <arg name='doc' type='xmlDocPtr' info='a document instance '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8108 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8109 | <functype name='xmlValidityErrorFunc' file='valid'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8110 | <info>Callback called when a validity error is found. This is a message oriented function similar to an *printf function.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8111 | <return type='void'/> |
| 8112 | <arg name='ctx' type='void *' info='an xmlValidCtxtPtr validity error context '/> |
| 8113 | <arg name='msg' type='const char *' info='the string to format *printf like vararg '/> |
| 8114 | <arg name='' type='...'/> |
| 8115 | </functype> |
| 8116 | <functype name='xmlValidityWarningFunc' file='valid'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8117 | <info>Callback called when a validity warning is found. This is a message oriented function similar to an *printf function.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8118 | <return type='void'/> |
| 8119 | <arg name='ctx' type='void *' info='an xmlValidCtxtPtr validity error context '/> |
| 8120 | <arg name='msg' type='const char *' info='the string to format *printf like vararg '/> |
| 8121 | <arg name='' type='...'/> |
| 8122 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8123 | <function name='xmlXIncludeProcess' file='xinclude'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8124 | <info>Implement the XInclude substitution on the XML document doc</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8125 | <return type='int' info='0 if no substitution were done, -1 if some processing failed or the number of substitutions done. '/> |
| 8126 | <arg name='doc' type='xmlDocPtr' info='an XML document '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8127 | </function> |
| 8128 | <function name='xmlXPathAddValues' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8129 | <info>Implement the add operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8130 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8131 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8132 | </function> |
| 8133 | <struct name='xmlXPathAxis' file='xpath'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8134 | <functype name='xmlXPathAxisFunc' file='xpath'> |
| 8135 | <info>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.</info> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8136 | <return type='xmlXPathObjectPtr' info='the next node in that axis or NULL if at the end of the axis. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8137 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath interpreter context '/> |
| 8138 | <arg name='cur' type='xmlXPathObjectPtr' info='the previous node being explored on that axis '/> |
| 8139 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8140 | <typedef name='xmlXPathAxisPtr' file='xpath'/> |
| 8141 | <function name='xmlXPathBooleanFunction' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8142 | <info>Implement the boolean() XPath function boolean boolean(object) he boolean function converts its argument to a boolean as follows: - a number is true if and only if it is neither positive or negative zero nor NaN - a node-set is true if and only if it is non-empty - a string is true if and only if its length is non-zero</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8143 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8144 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8145 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8146 | </function> |
| 8147 | <function name='xmlXPathCastBooleanToNumber' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8148 | <info>Converts a boolean to its number value</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8149 | <return type='double' info='the number value '/> |
| 8150 | <arg name='val' type='int' info='a boolean '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8151 | </function> |
| 8152 | <function name='xmlXPathCastBooleanToString' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8153 | <info>Converts a boolean to its string value.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8154 | <return type='xmlChar *' info='a newly allocated string. '/> |
| 8155 | <arg name='val' type='int' info='a boolean '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8156 | </function> |
| 8157 | <function name='xmlXPathCastNodeSetToBoolean' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8158 | <info>Converts a node-set to its boolean value</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8159 | <return type='int' info='the boolean value '/> |
| 8160 | <arg name='ns' type='xmlNodeSetPtr' info='a node-set '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8161 | </function> |
| 8162 | <function name='xmlXPathCastNodeSetToNumber' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8163 | <info>Converts a node-set to its number value</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8164 | <return type='double' info='the number value '/> |
| 8165 | <arg name='ns' type='xmlNodeSetPtr' info='a node-set '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8166 | </function> |
| 8167 | <function name='xmlXPathCastNodeSetToString' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8168 | <info>Converts a node-set to its string value.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8169 | <return type='xmlChar *' info='a newly allocated string. '/> |
| 8170 | <arg name='ns' type='xmlNodeSetPtr' info='a node-set '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8171 | </function> |
| 8172 | <function name='xmlXPathCastNodeToNumber' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8173 | <info>Converts a node to its number value</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8174 | <return type='double' info='the number value '/> |
| 8175 | <arg name='node' type='xmlNodePtr' info='a node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8176 | </function> |
| 8177 | <function name='xmlXPathCastNodeToString' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8178 | <info>Converts a node to its string value.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8179 | <return type='xmlChar *' info='a newly allocated string. '/> |
| 8180 | <arg name='node' type='xmlNodePtr' info='a node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8181 | </function> |
| 8182 | <function name='xmlXPathCastNumberToBoolean' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8183 | <info>Converts a number to its boolean value</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8184 | <return type='int' info='the boolean value '/> |
| 8185 | <arg name='val' type='double' info='a number '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8186 | </function> |
| 8187 | <function name='xmlXPathCastNumberToString' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8188 | <info>Converts a number to its string value.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8189 | <return type='xmlChar *' info='a newly allocated string. '/> |
| 8190 | <arg name='val' type='double' info='a number '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8191 | </function> |
| 8192 | <function name='xmlXPathCastStringToBoolean' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8193 | <info>Converts a string to its boolean value</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8194 | <return type='int' info='the boolean value '/> |
| 8195 | <arg name='val' type='const xmlChar *' info='a string '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8196 | </function> |
| 8197 | <function name='xmlXPathCastStringToNumber' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8198 | <info>Converts a string to its number value</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8199 | <return type='double' info='the number value '/> |
| 8200 | <arg name='val' type='const xmlChar *' info='a string '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8201 | </function> |
| 8202 | <function name='xmlXPathCastToBoolean' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8203 | <info>Converts an XPath object to its boolean value</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8204 | <return type='int' info='the boolean value '/> |
| 8205 | <arg name='val' type='xmlXPathObjectPtr' info='an XPath object '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8206 | </function> |
| 8207 | <function name='xmlXPathCastToNumber' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8208 | <info>Converts an XPath object to its number value</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8209 | <return type='double' info='the number value '/> |
| 8210 | <arg name='val' type='xmlXPathObjectPtr' info='an XPath object '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8211 | </function> |
| 8212 | <function name='xmlXPathCastToString' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8213 | <info>Converts an existing object to its string() equivalent</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8214 | <return type='xmlChar *' info='the string value of the object, NULL in case of error. A new string is allocated only if needed (val isn't a string object). '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8215 | <arg name='val' type='xmlXPathObjectPtr' info='an XPath object '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8216 | </function> |
| 8217 | <function name='xmlXPathCeilingFunction' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8218 | <info>Implement the ceiling() XPath function number ceiling(number) The ceiling function returns the smallest (closest to negative infinity) number that is not less than the argument and that is an integer.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8219 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8220 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8221 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8222 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8223 | <macro name='xmlXPathCheckError' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8224 | <info>Check if an XPath error was raised.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8225 | <arg name='ctxt' info='an XPath parser context '/> |
| 8226 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8227 | <function name='xmlXPathCmpNodes' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8228 | <info>Compare two nodes w.r.t document order</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8229 | <return type='int' info='-2 in case of error 1 if first point < second point, 0 if that's the same node, -1 otherwise '/> |
| 8230 | <arg name='node1' type='xmlNodePtr' info='the first node '/> |
| 8231 | <arg name='node2' type='xmlNodePtr' info='the second node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8232 | </function> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8233 | <struct name='xmlXPathCompExpr' file='xpath'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8234 | <typedef name='xmlXPathCompExprPtr' file='xpath'/> |
| 8235 | <function name='xmlXPathCompareValues' file='xpathInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8236 | <info>Implement the compare operation on XPath objects: arg1 <arg2 (1, 1, ... arg1 <= arg2 (1, 0, ... arg1 >arg2 (0, 1, ... arg1 >= arg2 (0, 0, ... When neither object to be compared is a node-set and the operator is <=, <, >=, >, then the objects are compared by converted both objects to numbers and comparing the numbers according to IEEE 754. The < comparison will be true if and only if the first number is less than the second number. The <= comparison will be true if and only if the first number is less than or equal to the second number. The > comparison will be true if and only if the first number is greater than the second number. The >= comparison will be true if and only if the first number is greater than or equal to the second number.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8237 | <return type='int' info='1 if the comparison succeeded, 0 if it failed '/> |
| 8238 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8239 | <arg name='inf' type='int' info='less than (1) or greater than (0) '/> |
| 8240 | <arg name='strict' type='int' info='is the comparison strict '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8241 | </function> |
| 8242 | <function name='xmlXPathCompile' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8243 | <info>Compile an XPath expression</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8244 | <return type='xmlXPathCompExprPtr' info='the xmlXPathObjectPtr resulting from the evaluation or NULL. the caller has to free the object. '/> |
| 8245 | <arg name='str' type='const xmlChar *' info='the XPath expression '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8246 | </function> |
| 8247 | <function name='xmlXPathCompiledEval' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8248 | <info>Evaluate the Precompiled XPath expression in the given context.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8249 | <return type='xmlXPathObjectPtr' info='the xmlXPathObjectPtr resulting from the evaluation or NULL. the caller has to free the object. '/> |
| 8250 | <arg name='comp' type='xmlXPathCompExprPtr' info='the compiled XPath expression '/> |
| 8251 | <arg name='ctx' type='xmlXPathContextPtr' info='the XPath context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8252 | </function> |
| 8253 | <function name='xmlXPathConcatFunction' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8254 | <info>Implement the concat() XPath function string concat(string, string, string*) The concat function returns the concatenation of its arguments.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8255 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8256 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8257 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8258 | </function> |
| 8259 | <function name='xmlXPathContainsFunction' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8260 | <info>Implement the contains() XPath function boolean contains(string, string) The contains function returns true if the first argument string contains the second argument string, and otherwise returns false.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8261 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8262 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8263 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8264 | </function> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8265 | <struct name='xmlXPathContext' file='xpath'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8266 | <typedef name='xmlXPathContextPtr' file='xpath'/> |
| 8267 | <function name='xmlXPathConvertBoolean' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8268 | <info>Converts an existing object to its boolean() equivalent</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8269 | <return type='xmlXPathObjectPtr' info='the new object, the old one is freed (or the operation is done directly on val) '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8270 | <arg name='val' type='xmlXPathObjectPtr' info='an XPath object '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8271 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8272 | <functype name='xmlXPathConvertFunc' file='xpath'> |
| 8273 | <info>A conversion function is associated to a type and used to cast the new type to primitive values.</info> |
| 8274 | <return type='int' info='-1 in case of error, 0 otherwise '/> |
| 8275 | <arg name='obj' type='xmlXPathObjectPtr' info='an XPath object '/> |
| 8276 | <arg name='type' type='int' info='the number of the target type '/> |
| 8277 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8278 | <function name='xmlXPathConvertNumber' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8279 | <info>Converts an existing object to its number() equivalent</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8280 | <return type='xmlXPathObjectPtr' info='the new object, the old one is freed (or the operation is done directly on val) '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8281 | <arg name='val' type='xmlXPathObjectPtr' info='an XPath object '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8282 | </function> |
| 8283 | <function name='xmlXPathConvertString' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8284 | <info>Converts an existing object to its string() equivalent</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8285 | <return type='xmlXPathObjectPtr' info='the new object, the old one is freed (or the operation is done directly on val) '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8286 | <arg name='val' type='xmlXPathObjectPtr' info='an XPath object '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8287 | </function> |
| 8288 | <function name='xmlXPathCountFunction' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8289 | <info>Implement the count() XPath function number count(node-set)</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8290 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8291 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8292 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8293 | </function> |
| 8294 | <function name='xmlXPathDebugDumpCompExpr' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8295 | <info>Dumps the tree of the compiled XPath expression.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8296 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8297 | <arg name='output' type='FILE *' info='the FILE * for the output '/> |
| 8298 | <arg name='comp' type='xmlXPathCompExprPtr' info='the precompiled XPath expression '/> |
| 8299 | <arg name='depth' type='int' info='the indentation level. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8300 | </function> |
| 8301 | <function name='xmlXPathDebugDumpObject' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8302 | <info>Dump the content of the object for debugging purposes</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8303 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8304 | <arg name='output' type='FILE *' info='the FILE * to dump the output '/> |
| 8305 | <arg name='cur' type='xmlXPathObjectPtr' info='the object to inspect '/> |
| 8306 | <arg name='depth' type='int' info='indentation level '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8307 | </function> |
| 8308 | <function name='xmlXPathDifference' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8309 | <info>Implements the EXSLT - Sets difference() function: node-set set:difference (node-set, node-set)</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8310 | <return type='xmlNodeSetPtr' info='the difference between the two node sets, or nodes1 if nodes2 is empty '/> |
| 8311 | <arg name='nodes1' type='xmlNodeSetPtr' info='a node-set '/> |
| 8312 | <arg name='nodes2' type='xmlNodeSetPtr' info='a node-set '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8313 | </function> |
| 8314 | <function name='xmlXPathDistinct' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8315 | <info>Implements the EXSLT - Sets distinct() function: node-set set:distinct (node-set) nodes is sorted by document order, then exslSetsDistinctSorted is called with the sorted node-set</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8316 | <return type='xmlNodeSetPtr' info='a subset of the nodes contained in nodes, or nodes if it is empty '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8317 | <arg name='nodes' type='xmlNodeSetPtr' info='a node-set '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8318 | </function> |
| 8319 | <function name='xmlXPathDistinctSorted' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8320 | <info>Implements the EXSLT - Sets distinct() function: node-set set:distinct (node-set)</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8321 | <return type='xmlNodeSetPtr' info='a subset of the nodes contained in nodes, or nodes if it is empty '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8322 | <arg name='nodes' type='xmlNodeSetPtr' info='a node-set, sorted by document order '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8323 | </function> |
| 8324 | <function name='xmlXPathDivValues' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8325 | <info>Implement the div operation on XPath objects arg1 / arg2: The numeric operators convert their operands to numbers as if by calling the number function.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8326 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8327 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8328 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8329 | <macro name='xmlXPathEmptyNodeSet' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8330 | <info>Empties a node-set.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8331 | <arg name='ns' info='a node-set '/> |
| 8332 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8333 | <function name='xmlXPathEqualValues' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8334 | <info>Implement the equal operation on XPath objects content: arg1 == arg2</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8335 | <return type='int' info='0 or 1 depending on the results of the test. '/> |
| 8336 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8337 | </function> |
| 8338 | <enum name='xmlXPathError' file='xpath'/> |
| 8339 | <function name='xmlXPathEval' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8340 | <info>Evaluate the XPath Location Path in the given context.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8341 | <return type='xmlXPathObjectPtr' info='the xmlXPathObjectPtr resulting from the evaluation or NULL. the caller has to free the object. '/> |
| 8342 | <arg name='str' type='const xmlChar *' info='the XPath expression '/> |
| 8343 | <arg name='ctx' type='xmlXPathContextPtr' info='the XPath context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8344 | </function> |
| 8345 | <function name='xmlXPathEvalExpr' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8346 | <info>Parse and evaluate an XPath expression in the given context, then push the result on the context stack</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8347 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8348 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8349 | </function> |
| 8350 | <function name='xmlXPathEvalExpression' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8351 | <info>Evaluate the XPath expression in the given context.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8352 | <return type='xmlXPathObjectPtr' info='the xmlXPathObjectPtr resulting from the evaluation or NULL. the caller has to free the object. '/> |
| 8353 | <arg name='str' type='const xmlChar *' info='the XPath expression '/> |
| 8354 | <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8355 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8356 | <functype name='xmlXPathEvalFunc' file='xpath'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8357 | <info>An XPath evaluation function, the parameters are on the XPath context stack.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8358 | <return type='void'/> |
| 8359 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='an XPath parser context '/> |
| 8360 | <arg name='nargs' type='int' info='the number of arguments passed to the function '/> |
| 8361 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8362 | <function name='xmlXPathEvalPredicate' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8363 | <info>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.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8364 | <return type='int' info='1 if predicate is true, 0 otherwise '/> |
| 8365 | <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context '/> |
| 8366 | <arg name='res' type='xmlXPathObjectPtr' info='the Predicate Expression evaluation result '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8367 | </function> |
| 8368 | <function name='xmlXPathEvaluatePredicateResult' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8369 | <info>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.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8370 | <return type='int' info='1 if predicate is true, 0 otherwise '/> |
| 8371 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8372 | <arg name='res' type='xmlXPathObjectPtr' info='the Predicate Expression evaluation result '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8373 | </function> |
| 8374 | <function name='xmlXPathFalseFunction' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8375 | <info>Implement the false() XPath function boolean false()</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8376 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8377 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8378 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8379 | </function> |
| 8380 | <function name='xmlXPathFloorFunction' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8381 | <info>Implement the floor() XPath function number floor(number) The floor function returns the largest (closest to positive infinity) number that is not greater than the argument and that is an integer.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8382 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8383 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8384 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8385 | </function> |
| 8386 | <function name='xmlXPathFreeCompExpr' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8387 | <info>Free up the memory allocated by comp</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8388 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8389 | <arg name='comp' type='xmlXPathCompExprPtr' info='an XPATH comp '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8390 | </function> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 8391 | <function name='xmlXPathFreeContext' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8392 | <info>Free up an xmlXPathContext</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8393 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8394 | <arg name='ctxt' type='xmlXPathContextPtr' info='the context to free '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8395 | </function> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 8396 | <function name='xmlXPathFreeNodeSet' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8397 | <info>Free the NodeSet compound (not the actual nodes !).</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8398 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8399 | <arg name='obj' type='xmlNodeSetPtr' info='the xmlNodeSetPtr to free '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8400 | </function> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 8401 | <function name='xmlXPathFreeNodeSetList' file='xpath'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8402 | <info>Free up the xmlXPathObjectPtr obj but don't deallocate the objects in the list contrary to xmlXPathFreeObject().</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8403 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8404 | <arg name='obj' type='xmlXPathObjectPtr' info='an existing NodeSetList object '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8405 | </function> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 8406 | <function name='xmlXPathFreeObject' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8407 | <info>Free up an xmlXPathObjectPtr object.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8408 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8409 | <arg name='obj' type='xmlXPathObjectPtr' info='the object to free '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8410 | </function> |
| 8411 | <function name='xmlXPathFreeParserContext' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8412 | <info>Free up an xmlXPathParserContext</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8413 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8414 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the context to free '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8415 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8416 | <functype name='xmlXPathFuncLookupFunc' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8417 | <info>Prototype for callbacks used to plug function lookup in the XPath engine.</info> |
| 8418 | <return type='xmlXPathFunction' info='the XPath function or NULL if not found. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8419 | <arg name='ctxt' type='void *' info='an XPath context '/> |
| 8420 | <arg name='name' type='const xmlChar *' info='name of the function '/> |
| 8421 | <arg name='ns_uri' type='const xmlChar *' info='the namespace name hosting this function '/> |
| 8422 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8423 | <typedef name='xmlXPathFuncPtr' file='xpath'/> |
| 8424 | <struct name='xmlXPathFunct' file='xpath'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8425 | <functype name='xmlXPathFunction' file='xpath'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8426 | <info>An XPath function. The arguments (if any) are popped out from the context stack and the result is pushed on the stack.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8427 | <return type='void'/> |
| 8428 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath interprestation context '/> |
| 8429 | <arg name='nargs' type='int' info='the number of arguments '/> |
| 8430 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8431 | <function name='xmlXPathFunctionLookup' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8432 | <info>Search in the Function array of the context for the given function.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8433 | <return type='xmlXPathFunction' info='the xmlXPathFunction or NULL if not found '/> |
| 8434 | <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context '/> |
| 8435 | <arg name='name' type='const xmlChar *' info='the function name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8436 | </function> |
| 8437 | <function name='xmlXPathFunctionLookupNS' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8438 | <info>Search in the Function array of the context for the given function.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8439 | <return type='xmlXPathFunction' info='the xmlXPathFunction or NULL if not found '/> |
| 8440 | <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context '/> |
| 8441 | <arg name='name' type='const xmlChar *' info='the function name '/> |
| 8442 | <arg name='ns_uri' type='const xmlChar *' info='the function namespace URI '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8443 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8444 | <macro name='xmlXPathGetContextNode' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8445 | <info>Get the context node of an XPath context.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8446 | <arg name='ctxt' info='an XPath parser context '/> |
| 8447 | </macro> |
| 8448 | <macro name='xmlXPathGetDocument' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8449 | <info>Get the document of an XPath context.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8450 | <arg name='ctxt' info='an XPath parser context '/> |
| 8451 | </macro> |
| 8452 | <macro name='xmlXPathGetError' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8453 | <info>Get the error code of an XPath context.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8454 | <arg name='ctxt' info='an XPath parser context '/> |
| 8455 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8456 | <function name='xmlXPathHasSameNodes' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8457 | <info>Implements the EXSLT - Sets has-same-nodes function: boolean set:has-same-node(node-set, node-set)</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8458 | <return type='int' info='true (1) if nodes1 shares any node with nodes2, false (0) otherwise '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8459 | <arg name='nodes1' type='xmlNodeSetPtr' info='a node-set '/> |
| 8460 | <arg name='nodes2' type='xmlNodeSetPtr' info='a node-set '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8461 | </function> |
| 8462 | <function name='xmlXPathIdFunction' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8463 | <info>Implement the id() XPath function node-set id(object) The id function selects elements by their unique ID (see [5.2.1 Unique IDs]). When the argument to id is of type node-set, then the result is the union of the result of applying id to the string value of each of the nodes in the argument node-set. When the argument to id is of any other type, the argument is converted to a string as if by a call to the string function; the string is split into a whitespace-separated list of tokens (whitespace is any sequence of characters matching the production S); the result is a node-set containing the elements in the same document as the context node that have a unique ID equal to any of the tokens in the list.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8464 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8465 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8466 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8467 | </function> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 8468 | <function name='xmlXPathInit' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8469 | <info>Initialize the XPath environment</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8470 | <return type='void'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8471 | </function> |
| 8472 | <function name='xmlXPathIntersection' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8473 | <info>Implements the EXSLT - Sets intersection() function: node-set set:intersection (node-set, node-set)</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8474 | <return type='xmlNodeSetPtr' info='a node set comprising the nodes that are within both the node sets passed as arguments '/> |
| 8475 | <arg name='nodes1' type='xmlNodeSetPtr' info='a node-set '/> |
| 8476 | <arg name='nodes2' type='xmlNodeSetPtr' info='a node-set '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8477 | </function> |
| 8478 | <function name='xmlXPathIsInf' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8479 | <info>Provides a portable isinf() function to detect whether a double is a +Infinite or -Infinite. Based on trio code http://sourceforge.net/projects/ctrio/</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8480 | <return type='int' info='1 vi the value is +Infinite, -1 if -Infinite, 0 otherwise '/> |
| 8481 | <arg name='val' type='double' info='a double value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8482 | </function> |
| 8483 | <function name='xmlXPathIsNaN' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8484 | <info>Provides a portable isnan() function to detect whether a double is a NotaNumber. Based on trio code http://sourceforge.net/projects/ctrio/</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8485 | <return type='int' info='1 if the value is a NaN, 0 otherwise '/> |
| 8486 | <arg name='val' type='double' info='a double value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8487 | </function> |
| 8488 | <function name='xmlXPathIsNodeType' file='xpathInternals'> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 8489 | <info>Is the name given a NodeType one. [38] NodeType ::= 'comment' | 'text' | 'processing-instruction' | 'node'</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8490 | <return type='int' info='1 if true 0 otherwise '/> |
| 8491 | <arg name='name' type='const xmlChar *' info='a name string '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8492 | </function> |
| 8493 | <function name='xmlXPathLangFunction' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8494 | <info>Implement the lang() XPath function boolean lang(string) The lang function returns true or false depending on whether the language of the context node as specified by xml:lang attributes is the same as or is a sublanguage of the language specified by the argument string. The language of the context node is determined by the value of the xml:lang attribute on the context node, or, if the context node has no xml:lang attribute, by the value of the xml:lang attribute on the nearest ancestor of the context node that has an xml:lang attribute. If there is no such attribute, then lang</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8495 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8496 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8497 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8498 | </function> |
| 8499 | <function name='xmlXPathLastFunction' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8500 | <info>Implement the last() XPath function number last() The last function returns the number of nodes in the context node list.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8501 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8502 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8503 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8504 | </function> |
| 8505 | <function name='xmlXPathLeading' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8506 | <info>Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set) nodes1 and nodes2 are sorted by document order, then exslSetsLeadingSorted is called.</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8507 | <return type='xmlNodeSetPtr' info='the nodes in nodes1 that precede the first node in nodes2 in document order, nodes1 if nodes2 is NULL or empty or an empty node-set if nodes1 doesn't contain nodes2'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8508 | <arg name='nodes1' type='xmlNodeSetPtr' info='a node-set '/> |
| 8509 | <arg name='nodes2' type='xmlNodeSetPtr' info='a node-set '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8510 | </function> |
| 8511 | <function name='xmlXPathLeadingSorted' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8512 | <info>Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set)</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8513 | <return type='xmlNodeSetPtr' info='the nodes in nodes1 that precede the first node in nodes2 in document order, nodes1 if nodes2 is NULL or empty or an empty node-set if nodes1 doesn't contain nodes2'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8514 | <arg name='nodes1' type='xmlNodeSetPtr' info='a node-set, sorted by document order '/> |
| 8515 | <arg name='nodes2' type='xmlNodeSetPtr' info='a node-set, sorted by document order '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8516 | </function> |
| 8517 | <function name='xmlXPathLocalNameFunction' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8518 | <info>Implement the local-name() XPath function string local-name(node-set?) The local-name function returns a string containing the local part of the name of the node in the argument node-set that is first in document order. If the node-set is empty or the first node has no name, an empty string is returned. If the argument is omitted it defaults to the context node.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8519 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8520 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8521 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8522 | </function> |
| 8523 | <function name='xmlXPathModValues' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8524 | <info>Implement the mod operation on XPath objects: arg1 / arg2 The numeric operators convert their operands to numbers as if by calling the number function.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8525 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8526 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8527 | </function> |
| 8528 | <function name='xmlXPathMultValues' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8529 | <info>Implement the multiply operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8530 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8531 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8532 | </function> |
| 8533 | <function name='xmlXPathNamespaceURIFunction' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8534 | <info>Implement the namespace-uri() XPath function string namespace-uri(node-set?) The namespace-uri function returns a string containing the namespace URI of the expanded name of the node in the argument node-set that is first in document order. If the node-set is empty, the first node has no name, or the expanded name has no namespace URI, an empty string is returned. If the argument is omitted it defaults to the context node.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8535 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8536 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8537 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8538 | </function> |
| 8539 | <function name='xmlXPathNewBoolean' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8540 | <info>Create a new xmlXPathObjectPtr of type boolean and of value val</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8541 | <return type='xmlXPathObjectPtr' info='the newly created object. '/> |
| 8542 | <arg name='val' type='int' info='the boolean value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8543 | </function> |
| 8544 | <function name='xmlXPathNewCString' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8545 | <info>Create a new xmlXPathObjectPtr of type string and of value val</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8546 | <return type='xmlXPathObjectPtr' info='the newly created object. '/> |
| 8547 | <arg name='val' type='const char *' info='the char * value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8548 | </function> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 8549 | <function name='xmlXPathNewContext' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8550 | <info>Create a new xmlXPathContext</info> |
Daniel Veillard | af43f63 | 2002-03-08 15:05:20 +0000 | [diff] [blame] | 8551 | <return type='xmlXPathContextPtr' info='the xmlXPathContext just allocated. The caller will need to free it. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8552 | <arg name='doc' type='xmlDocPtr' info='the XML document '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8553 | </function> |
| 8554 | <function name='xmlXPathNewFloat' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8555 | <info>Create a new xmlXPathObjectPtr of type double and of value val</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8556 | <return type='xmlXPathObjectPtr' info='the newly created object. '/> |
| 8557 | <arg name='val' type='double' info='the double value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8558 | </function> |
| 8559 | <function name='xmlXPathNewNodeSet' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8560 | <info>Create a new xmlXPathObjectPtr of type NodeSet and initialize it with the single Node val</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8561 | <return type='xmlXPathObjectPtr' info='the newly created object. '/> |
| 8562 | <arg name='val' type='xmlNodePtr' info='the NodePtr value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8563 | </function> |
| 8564 | <function name='xmlXPathNewNodeSetList' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8565 | <info>Create a new xmlXPathObjectPtr of type NodeSet and initialize it with the Nodeset val</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8566 | <return type='xmlXPathObjectPtr' info='the newly created object. '/> |
| 8567 | <arg name='val' type='xmlNodeSetPtr' info='an existing NodeSet '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8568 | </function> |
| 8569 | <function name='xmlXPathNewParserContext' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8570 | <info>Create a new xmlXPathParserContext</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8571 | <return type='xmlXPathParserContextPtr' info='the xmlXPathParserContext just allocated. '/> |
| 8572 | <arg name='str' type='const xmlChar *' info='the XPath expression '/> |
| 8573 | <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8574 | </function> |
| 8575 | <function name='xmlXPathNewString' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8576 | <info>Create a new xmlXPathObjectPtr of type string and of value val</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8577 | <return type='xmlXPathObjectPtr' info='the newly created object. '/> |
| 8578 | <arg name='val' type='const xmlChar *' info='the xmlChar * value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8579 | </function> |
| 8580 | <function name='xmlXPathNewValueTree' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8581 | <info>Create a new xmlXPathObjectPtr of type Value Tree (XSLT) and initialize it with the tree root val</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8582 | <return type='xmlXPathObjectPtr' info='the newly created object. '/> |
| 8583 | <arg name='val' type='xmlNodePtr' info='the NodePtr value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8584 | </function> |
| 8585 | <function name='xmlXPathNextAncestor' file='xpathInternals'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8586 | <info>Traversal function for the "ancestor" direction the ancestor axis contains the ancestors of the context node; the ancestors of the context node consist of the parent of context node and the parent's parent and so on; the nodes are ordered in reverse document order; thus the parent is the first node on the axis, and the parent's parent is the second node on the axis</info> |
| 8587 | <return type='xmlNodePtr' info='the next element following that axis '/> |
| 8588 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8589 | <arg name='cur' type='xmlNodePtr' info='the current node in the traversal '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8590 | </function> |
| 8591 | <function name='xmlXPathNextAncestorOrSelf' file='xpathInternals'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8592 | <info>Traversal function for the "ancestor-or-self" direction he ancestor-or-self axis contains the context node and ancestors of the context node in reverse document order; thus the context node is the first node on the axis, and the context node's parent the second; parent here is defined the same as with the parent axis.</info> |
| 8593 | <return type='xmlNodePtr' info='the next element following that axis '/> |
| 8594 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8595 | <arg name='cur' type='xmlNodePtr' info='the current node in the traversal '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8596 | </function> |
| 8597 | <function name='xmlXPathNextAttribute' file='xpathInternals'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8598 | <info>Traversal function for the "attribute" direction TODO: support DTD inherited default attributes</info> |
| 8599 | <return type='xmlNodePtr' info='the next element following that axis '/> |
| 8600 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8601 | <arg name='cur' type='xmlNodePtr' info='the current attribute in the traversal '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8602 | </function> |
| 8603 | <function name='xmlXPathNextChild' file='xpathInternals'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8604 | <info>Traversal function for the "child" direction The child axis contains the children of the context node in document order.</info> |
| 8605 | <return type='xmlNodePtr' info='the next element following that axis '/> |
| 8606 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8607 | <arg name='cur' type='xmlNodePtr' info='the current node in the traversal '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8608 | </function> |
| 8609 | <function name='xmlXPathNextDescendant' file='xpathInternals'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8610 | <info>Traversal function for the "descendant" direction the descendant axis contains the descendants of the context node in document order; a descendant is a child or a child of a child and so on.</info> |
| 8611 | <return type='xmlNodePtr' info='the next element following that axis '/> |
| 8612 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8613 | <arg name='cur' type='xmlNodePtr' info='the current node in the traversal '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8614 | </function> |
| 8615 | <function name='xmlXPathNextDescendantOrSelf' file='xpathInternals'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8616 | <info>Traversal function for the "descendant-or-self" direction the descendant-or-self axis contains the context node and the descendants of the context node in document order; thus the context node is the first node on the axis, and the first child of the context node is the second node on the axis</info> |
| 8617 | <return type='xmlNodePtr' info='the next element following that axis '/> |
| 8618 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8619 | <arg name='cur' type='xmlNodePtr' info='the current node in the traversal '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8620 | </function> |
| 8621 | <function name='xmlXPathNextFollowing' file='xpathInternals'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8622 | <info>Traversal function for the "following" direction The following axis contains all nodes in the same document as the context node that are after the context node in document order, excluding any descendants and excluding attribute nodes and namespace nodes; the nodes are ordered in document order</info> |
| 8623 | <return type='xmlNodePtr' info='the next element following that axis '/> |
| 8624 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8625 | <arg name='cur' type='xmlNodePtr' info='the current node in the traversal '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8626 | </function> |
| 8627 | <function name='xmlXPathNextFollowingSibling' file='xpathInternals'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8628 | <info>Traversal function for the "following-sibling" direction The following-sibling axis contains the following siblings of the context node in document order.</info> |
| 8629 | <return type='xmlNodePtr' info='the next element following that axis '/> |
| 8630 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8631 | <arg name='cur' type='xmlNodePtr' info='the current node in the traversal '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8632 | </function> |
| 8633 | <function name='xmlXPathNextNamespace' file='xpathInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8634 | <info>Traversal function for the "namespace" direction the namespace axis contains the namespace nodes of the context node; the order of nodes on this axis is implementation-defined; the axis will be empty unless the context node is an element We keep the XML namespace node at the end of the list.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8635 | <return type='xmlNodePtr' info='the next element following that axis '/> |
| 8636 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8637 | <arg name='cur' type='xmlNodePtr' info='the current attribute in the traversal '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8638 | </function> |
| 8639 | <function name='xmlXPathNextParent' file='xpathInternals'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8640 | <info>Traversal function for the "parent" direction The parent axis contains the parent of the context node, if there is one.</info> |
| 8641 | <return type='xmlNodePtr' info='the next element following that axis '/> |
| 8642 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8643 | <arg name='cur' type='xmlNodePtr' info='the current node in the traversal '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8644 | </function> |
| 8645 | <function name='xmlXPathNextPreceding' file='xpathInternals'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8646 | <info>Traversal function for the "preceding" direction the preceding axis contains all nodes in the same document as the context node that are before the context node in document order, excluding any ancestors and excluding attribute nodes and namespace nodes; the nodes are ordered in reverse document order</info> |
| 8647 | <return type='xmlNodePtr' info='the next element following that axis '/> |
| 8648 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8649 | <arg name='cur' type='xmlNodePtr' info='the current node in the traversal '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8650 | </function> |
| 8651 | <function name='xmlXPathNextPrecedingSibling' file='xpathInternals'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8652 | <info>Traversal function for the "preceding-sibling" direction The preceding-sibling axis contains the preceding siblings of the context node in reverse document order; the first preceding sibling is first on the axis; the sibling preceding that node is the second on the axis and so on.</info> |
| 8653 | <return type='xmlNodePtr' info='the next element following that axis '/> |
| 8654 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8655 | <arg name='cur' type='xmlNodePtr' info='the current node in the traversal '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8656 | </function> |
| 8657 | <function name='xmlXPathNextSelf' file='xpathInternals'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8658 | <info>Traversal function for the "self" direction The self axis contains just the context node itself</info> |
| 8659 | <return type='xmlNodePtr' info='the next element following that axis '/> |
| 8660 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8661 | <arg name='cur' type='xmlNodePtr' info='the current node in the traversal '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8662 | </function> |
| 8663 | <function name='xmlXPathNodeLeading' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8664 | <info>Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set) nodes is sorted by document order, then exslSetsNodeLeadingSorted is called.</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8665 | <return type='xmlNodeSetPtr' info='the nodes in nodes that precede node in document order, nodes if node is NULL or an empty node-set if nodes doesn't contain node'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8666 | <arg name='nodes' type='xmlNodeSetPtr' info='a node-set '/> |
| 8667 | <arg name='node' type='xmlNodePtr' info='a node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8668 | </function> |
| 8669 | <function name='xmlXPathNodeLeadingSorted' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8670 | <info>Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set)</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8671 | <return type='xmlNodeSetPtr' info='the nodes in nodes that precede node in document order, nodes if node is NULL or an empty node-set if nodes doesn't contain node'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8672 | <arg name='nodes' type='xmlNodeSetPtr' info='a node-set, sorted by document order '/> |
| 8673 | <arg name='node' type='xmlNodePtr' info='a node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8674 | </function> |
| 8675 | <function name='xmlXPathNodeSetAdd' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8676 | <info>add a new xmlNodePtr to an existing NodeSet</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8677 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8678 | <arg name='cur' type='xmlNodeSetPtr' info='the initial node set '/> |
| 8679 | <arg name='val' type='xmlNodePtr' info='a new xmlNodePtr '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8680 | </function> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 8681 | <function name='xmlXPathNodeSetAddNs' file='xpathInternals'> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 8682 | <info>add a new namespace node to an existing NodeSet</info> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 8683 | <return type='void'/> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 8684 | <arg name='cur' type='xmlNodeSetPtr' info='the initial node set '/> |
| 8685 | <arg name='node' type='xmlNodePtr' info='the hosting node '/> |
| 8686 | <arg name='ns' type='xmlNsPtr' info='a the namespace node '/> |
Daniel Veillard | 1b31e4a | 2002-05-27 14:44:50 +0000 | [diff] [blame] | 8687 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8688 | <function name='xmlXPathNodeSetAddUnique' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8689 | <info>add a new xmlNodePtr to an existing NodeSet, optimized version when we are sure the node is not already in the set.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8690 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8691 | <arg name='cur' type='xmlNodeSetPtr' info='the initial node set '/> |
| 8692 | <arg name='val' type='xmlNodePtr' info='a new xmlNodePtr '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8693 | </function> |
| 8694 | <function name='xmlXPathNodeSetContains' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8695 | <info>checks whether cur contains val</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8696 | <return type='int' info='true (1) if cur contains val, false (0) otherwise '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8697 | <arg name='cur' type='xmlNodeSetPtr' info='the node-set '/> |
| 8698 | <arg name='val' type='xmlNodePtr' info='the node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8699 | </function> |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 8700 | <function name='xmlXPathNodeSetCreate' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8701 | <info>Create a new xmlNodeSetPtr of type double and of value val</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8702 | <return type='xmlNodeSetPtr' info='the newly created object. '/> |
| 8703 | <arg name='val' type='xmlNodePtr' info='an initial xmlNodePtr, or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8704 | </function> |
| 8705 | <function name='xmlXPathNodeSetDel' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8706 | <info>Removes an xmlNodePtr from an existing NodeSet</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8707 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8708 | <arg name='cur' type='xmlNodeSetPtr' info='the initial node set '/> |
| 8709 | <arg name='val' type='xmlNodePtr' info='an xmlNodePtr '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8710 | </function> |
Daniel Veillard | 539638b | 2002-07-06 19:55:14 +0000 | [diff] [blame] | 8711 | <function name='xmlXPathNodeSetFreeNs' file='xpathInternals'> |
| 8712 | <info>Namespace node in libxml don't match the XPath semantic. In a node set the namespace nodes are duplicated and the next pointer is set to the parent node in the XPath semantic. Check if such a node need to be freed</info> |
| 8713 | <return type='void'/> |
| 8714 | <arg name='ns' type='xmlNsPtr' info='the XPath namespace node found in a nodeset. '/> |
| 8715 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8716 | <macro name='xmlXPathNodeSetGetLength' file='xpath'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8717 | <info>Implement a functionality similar to the DOM NodeList.length.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8718 | <arg name='ns' info='a node-set '/> |
| 8719 | </macro> |
| 8720 | <macro name='xmlXPathNodeSetIsEmpty' file='xpath'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8721 | <info>Checks whether ns is empty or not.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8722 | <arg name='ns' info='a node-set '/> |
| 8723 | </macro> |
| 8724 | <macro name='xmlXPathNodeSetItem' file='xpath'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8725 | <info>Implements a functionality similar to the DOM NodeList.item().</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8726 | <arg name='ns' info='a node-set '/> |
| 8727 | <arg name='index' info='index of a node in the set '/> |
| 8728 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8729 | <function name='xmlXPathNodeSetMerge' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8730 | <info>Merges two nodesets, all nodes from val2 are added to val1 if val1 is NULL, a new set is created and copied from val2</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8731 | <return type='xmlNodeSetPtr' info='val1 once extended or NULL in case of error. '/> |
| 8732 | <arg name='val1' type='xmlNodeSetPtr' info='the first NodeSet or NULL '/> |
| 8733 | <arg name='val2' type='xmlNodeSetPtr' info='the second NodeSet '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8734 | </function> |
| 8735 | <function name='xmlXPathNodeSetRemove' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8736 | <info>Removes an entry from an existing NodeSet list.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8737 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8738 | <arg name='cur' type='xmlNodeSetPtr' info='the initial node set '/> |
| 8739 | <arg name='val' type='int' info='the index to remove '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8740 | </function> |
| 8741 | <function name='xmlXPathNodeSetSort' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8742 | <info>Sort the node set in document order</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8743 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8744 | <arg name='set' type='xmlNodeSetPtr' info='the node set '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8745 | </function> |
| 8746 | <function name='xmlXPathNodeTrailing' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8747 | <info>Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set) nodes is sorted by document order, then xmlXPathNodeTrailingSorted is called.</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8748 | <return type='xmlNodeSetPtr' info='the nodes in nodes that follow node in document order, nodes if node is NULL or an empty node-set if nodes doesn't contain node'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8749 | <arg name='nodes' type='xmlNodeSetPtr' info='a node-set '/> |
| 8750 | <arg name='node' type='xmlNodePtr' info='a node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8751 | </function> |
| 8752 | <function name='xmlXPathNodeTrailingSorted' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8753 | <info>Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set)</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8754 | <return type='xmlNodeSetPtr' info='the nodes in nodes that follow node in document order, nodes if node is NULL or an empty node-set if nodes doesn't contain node'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8755 | <arg name='nodes' type='xmlNodeSetPtr' info='a node-set, sorted by document order '/> |
| 8756 | <arg name='node' type='xmlNodePtr' info='a node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8757 | </function> |
| 8758 | <function name='xmlXPathNormalizeFunction' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8759 | <info>Implement the normalize-space() XPath function string normalize-space(string?) The normalize-space function returns the argument string with white space normalized by stripping leading and trailing whitespace and replacing sequences of whitespace characters by a single space. Whitespace characters are the same allowed by the S production in XML. If the argument is omitted, it defaults to the context node converted to a string, in other words the value of the context node.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8760 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8761 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8762 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8763 | </function> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 8764 | <function name='xmlXPathNotEqualValues' file='xpathInternals'> |
Daniel Veillard | 2ace195 | 2002-09-26 12:28:02 +0000 | [diff] [blame] | 8765 | <info>Implement the equal operation on XPath objects content: arg1 == arg2</info> |
| 8766 | <return type='int' info='0 or 1 depending on the results of the test. '/> |
| 8767 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
Daniel Veillard | bd9afb5 | 2002-09-25 22:25:35 +0000 | [diff] [blame] | 8768 | </function> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8769 | <function name='xmlXPathNotFunction' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8770 | <info>Implement the not() XPath function boolean not(boolean) The not function returns true if its argument is false, and false otherwise.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8771 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8772 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8773 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8774 | </function> |
| 8775 | <function name='xmlXPathNsLookup' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8776 | <info>Search in the namespace declaration array of the context for the given namespace name associated to the given prefix</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8777 | <return type='const xmlChar *' info='the value or NULL if not found '/> |
| 8778 | <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context '/> |
| 8779 | <arg name='prefix' type='const xmlChar *' info='the namespace prefix value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8780 | </function> |
| 8781 | <function name='xmlXPathNumberFunction' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8782 | <info>Implement the number() XPath function number number(object?)</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8783 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8784 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8785 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8786 | </function> |
| 8787 | <struct name='xmlXPathObject' file='xpath'/> |
| 8788 | <function name='xmlXPathObjectCopy' file='xpath'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8789 | <info>allocate a new copy of a given object</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8790 | <return type='xmlXPathObjectPtr' info='the newly created object. '/> |
| 8791 | <arg name='val' type='xmlXPathObjectPtr' info='the original object '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8792 | </function> |
| 8793 | <typedef name='xmlXPathObjectPtr' file='xpath'/> |
| 8794 | <enum name='xmlXPathObjectType' file='xpath'/> |
| 8795 | <function name='xmlXPathParseNCName' file='xpathInternals'> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 8796 | <info>parse an XML namespace non qualified name. [NS 3] NCName ::= (Letter | '_') (NCNameChar)* [NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8797 | <return type='xmlChar *' info='the namespace name or NULL '/> |
| 8798 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8799 | </function> |
| 8800 | <function name='xmlXPathParseName' file='xpathInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8801 | <info>parse an XML name [4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender [5] Name ::= (Letter | '_' | ':') (NameChar)*</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8802 | <return type='xmlChar *' info='the namespace name or NULL '/> |
| 8803 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8804 | </function> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8805 | <struct name='xmlXPathParserContext' file='xpath'/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8806 | <typedef name='xmlXPathParserContextPtr' file='xpath'/> |
| 8807 | <function name='xmlXPathPopBoolean' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8808 | <info>Pops a boolean from the stack, handling conversion if needed. Check error with xmlXPathCheckError.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8809 | <return type='int' info='the boolean '/> |
| 8810 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='an XPath parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8811 | </function> |
| 8812 | <function name='xmlXPathPopExternal' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8813 | <info>Pops an external object from the stack, handling conversion if needed. Check error with xmlXPathCheckError.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8814 | <return type='void *'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8815 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='an XPath parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8816 | </function> |
| 8817 | <function name='xmlXPathPopNodeSet' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8818 | <info>Pops a node-set from the stack, handling conversion if needed. Check error with xmlXPathCheckError.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8819 | <return type='xmlNodeSetPtr' info='the node-set '/> |
| 8820 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='an XPath parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8821 | </function> |
| 8822 | <function name='xmlXPathPopNumber' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8823 | <info>Pops a number from the stack, handling conversion if needed. Check error with xmlXPathCheckError.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8824 | <return type='double' info='the number '/> |
| 8825 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='an XPath parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8826 | </function> |
| 8827 | <function name='xmlXPathPopString' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8828 | <info>Pops a string from the stack, handling conversion if needed. Check error with xmlXPathCheckError.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8829 | <return type='xmlChar *' info='the string '/> |
| 8830 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='an XPath parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8831 | </function> |
| 8832 | <function name='xmlXPathPositionFunction' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8833 | <info>Implement the position() XPath function number position() The position function returns the position of the context node in the context node list. The first position is 1, and so the last position will be equal to last().</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8834 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8835 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8836 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8837 | </function> |
| 8838 | <function name='xmlXPathRegisterAllFunctions' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8839 | <info>Registers all default XPath functions in this context</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8840 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8841 | <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8842 | </function> |
| 8843 | <function name='xmlXPathRegisterFunc' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8844 | <info>Register a new function. If f is NULL it unregisters the function</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8845 | <return type='int' info='0 in case of success, -1 in case of error '/> |
| 8846 | <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context '/> |
| 8847 | <arg name='name' type='const xmlChar *' info='the function name '/> |
| 8848 | <arg name='f' type='xmlXPathFunction' info='the function implementation or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8849 | </function> |
| 8850 | <function name='xmlXPathRegisterFuncLookup' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8851 | <info>Registers an external mechanism to do function lookup.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8852 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8853 | <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context '/> |
| 8854 | <arg name='f' type='xmlXPathFuncLookupFunc' info='the lookup function '/> |
| 8855 | <arg name='funcCtxt' type='void *' info='the lookup data '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8856 | </function> |
| 8857 | <function name='xmlXPathRegisterFuncNS' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8858 | <info>Register a new function. If f is NULL it unregisters the function</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8859 | <return type='int' info='0 in case of success, -1 in case of error '/> |
| 8860 | <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context '/> |
| 8861 | <arg name='name' type='const xmlChar *' info='the function name '/> |
| 8862 | <arg name='ns_uri' type='const xmlChar *' info='the function namespace URI '/> |
| 8863 | <arg name='f' type='xmlXPathFunction' info='the function implementation or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8864 | </function> |
| 8865 | <function name='xmlXPathRegisterNs' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8866 | <info>Register a new namespace. If ns_uri is NULL it unregisters the namespace</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8867 | <return type='int' info='0 in case of success, -1 in case of error '/> |
| 8868 | <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context '/> |
| 8869 | <arg name='prefix' type='const xmlChar *' info='the namespace prefix '/> |
| 8870 | <arg name='ns_uri' type='const xmlChar *' info='the namespace name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8871 | </function> |
| 8872 | <function name='xmlXPathRegisterVariable' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8873 | <info>Register a new variable value. If value is NULL it unregisters the variable</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8874 | <return type='int' info='0 in case of success, -1 in case of error '/> |
| 8875 | <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context '/> |
| 8876 | <arg name='name' type='const xmlChar *' info='the variable name '/> |
| 8877 | <arg name='value' type='xmlXPathObjectPtr' info='the variable value or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8878 | </function> |
| 8879 | <function name='xmlXPathRegisterVariableLookup' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8880 | <info>register an external mechanism to do variable lookup</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8881 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8882 | <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context '/> |
| 8883 | <arg name='f' type='xmlXPathVariableLookupFunc' info='the lookup function '/> |
| 8884 | <arg name='data' type='void *' info='the lookup data '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8885 | </function> |
| 8886 | <function name='xmlXPathRegisterVariableNS' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8887 | <info>Register a new variable value. If value is NULL it unregisters the variable</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8888 | <return type='int' info='0 in case of success, -1 in case of error '/> |
| 8889 | <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context '/> |
| 8890 | <arg name='name' type='const xmlChar *' info='the variable name '/> |
| 8891 | <arg name='ns_uri' type='const xmlChar *' info='the variable namespace URI '/> |
| 8892 | <arg name='value' type='xmlXPathObjectPtr' info='the variable value or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8893 | </function> |
| 8894 | <function name='xmlXPathRegisteredFuncsCleanup' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8895 | <info>Cleanup the XPath context data associated to registered functions</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8896 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8897 | <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8898 | </function> |
| 8899 | <function name='xmlXPathRegisteredNsCleanup' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8900 | <info>Cleanup the XPath context data associated to registered variables</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8901 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8902 | <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8903 | </function> |
| 8904 | <function name='xmlXPathRegisteredVariablesCleanup' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8905 | <info>Cleanup the XPath context data associated to registered variables</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8906 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8907 | <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8908 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8909 | <macro name='xmlXPathReturnBoolean' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8910 | <info>Pushes the boolean val on the context stack.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8911 | <arg name='ctxt' info='an XPath parser context '/> |
| 8912 | <arg name='val' info='a boolean '/> |
| 8913 | </macro> |
| 8914 | <macro name='xmlXPathReturnEmptyNodeSet' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8915 | <info>Pushes an empty node-set on the context stack.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8916 | <arg name='ctxt' info='an XPath parser context '/> |
| 8917 | </macro> |
| 8918 | <macro name='xmlXPathReturnEmptyString' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8919 | <info>Pushes an empty string on the stack.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8920 | <arg name='ctxt' info='an XPath parser context '/> |
| 8921 | </macro> |
| 8922 | <macro name='xmlXPathReturnExternal' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8923 | <info>Pushes user data on the context stack.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8924 | <arg name='ctxt' info='an XPath parser context '/> |
| 8925 | <arg name='val' info='user data '/> |
| 8926 | </macro> |
| 8927 | <macro name='xmlXPathReturnFalse' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8928 | <info>Pushes false on the context stack.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8929 | <arg name='ctxt' info='an XPath parser context '/> |
| 8930 | </macro> |
| 8931 | <macro name='xmlXPathReturnNodeSet' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8932 | <info>Pushes the node-set ns on the context stack.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8933 | <arg name='ctxt' info='an XPath parser context '/> |
| 8934 | <arg name='ns' info='a node-set '/> |
| 8935 | </macro> |
| 8936 | <macro name='xmlXPathReturnNumber' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8937 | <info>Pushes the double val on the context stack.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8938 | <arg name='ctxt' info='an XPath parser context '/> |
| 8939 | <arg name='val' info='a double '/> |
| 8940 | </macro> |
| 8941 | <macro name='xmlXPathReturnString' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8942 | <info>Pushes the string str on the context stack.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8943 | <arg name='ctxt' info='an XPath parser context '/> |
| 8944 | <arg name='str' info='a string '/> |
| 8945 | </macro> |
| 8946 | <macro name='xmlXPathReturnTrue' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8947 | <info>Pushes true on the context stack.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8948 | <arg name='ctxt' info='an XPath parser context '/> |
| 8949 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8950 | <function name='xmlXPathRoot' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8951 | <info>Initialize the context to the root of the document</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8952 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8953 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8954 | </function> |
| 8955 | <function name='xmlXPathRoundFunction' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8956 | <info>Implement the round() XPath function number round(number) The round function returns the number that is closest to the argument and that is an integer. If there are two such numbers, then the one that is even is returned.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8957 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8958 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8959 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8960 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8961 | <macro name='xmlXPathSetArityError' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8962 | <info>Raises an XPATH_INVALID_ARITY error.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8963 | <arg name='ctxt' info='an XPath parser context '/> |
| 8964 | </macro> |
| 8965 | <macro name='xmlXPathSetError' file='xpathInternals'> |
| 8966 | <info>Raises an error.</info> |
| 8967 | <arg name='ctxt' info='an XPath parser context '/> |
| 8968 | <arg name='err' info='an xmlXPathError code '/> |
| 8969 | </macro> |
| 8970 | <macro name='xmlXPathSetTypeError' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8971 | <info>Raises an XPATH_INVALID_TYPE error.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8972 | <arg name='ctxt' info='an XPath parser context '/> |
| 8973 | </macro> |
| 8974 | <macro name='xmlXPathStackIsExternal' file='xpathInternals'> |
| 8975 | <info>Checks if the current value on the XPath stack is an external object.</info> |
| 8976 | <arg name='ctxt' info='an XPath parser context '/> |
| 8977 | </macro> |
| 8978 | <macro name='xmlXPathStackIsNodeSet' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 8979 | <info>Check if the current value on the XPath stack is a node set or an XSLT value tree.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8980 | <arg name='ctxt' info='an XPath parser context '/> |
| 8981 | </macro> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8982 | <function name='xmlXPathStartsWithFunction' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 8983 | <info>Implement the starts-with() XPath function boolean starts-with(string, string) The starts-with function returns true if the first argument string starts with the second argument string, and otherwise returns false.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8984 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8985 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8986 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8987 | </function> |
| 8988 | <function name='xmlXPathStringEvalNumber' file='xpathInternals'> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 8989 | <info>[30a] Float ::= Number ('e' Digits?)? [30] Number ::= Digits ('.' Digits?)? | '.' Digits [31] Digits ::= [0-9]+ Compile a Number in the string In complement of the Number expression, this function also handles negative values : '-' Number.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8990 | <return type='double' info='the double value. '/> |
| 8991 | <arg name='str' type='const xmlChar *' info='A string to scan '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8992 | </function> |
| 8993 | <function name='xmlXPathStringFunction' file='xpathInternals'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 8994 | <info>Implement the string() XPath function string string(object?) he string function converts an object to a string as follows: - A node-set is converted to a string by returning the value of the node in the node-set that is first in document order. If the node-set is empty, an empty string is returned. - A number is converted to a string as follows + NaN is converted to the string NaN + positive zero is converted to the string 0 + negative zero is converted to the string 0 + positive infinity is converted to the string Infinity + negative infinity is converted to the string -Infinity + if the number is an integer, the number is represented in decimal form as a Number with no decimal point and no leading zeros, preceded by a minus sign (-) if the number is negative + otherwise, the number is represented in decimal form as a Number including a decimal point with at least one digit before the decimal point and at least one digit after the decimal point, preceded by a minus sign (-) if the number is negative; there must be no leading zeros before the decimal point apart possibly from the one required digit immediately before the decimal point; beyond the one required digit after the decimal point there must be as many, but only as many, more digits as are needed to uniquely distinguish the number from all other IEEE 754 numeric values. - The boolean false value is converted to the string false. The boolean true value is converted to the string true. If the argument is omitted, it defaults to a node-set with the context node as its only member.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8995 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 8996 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 8997 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 8998 | </function> |
| 8999 | <function name='xmlXPathStringLengthFunction' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9000 | <info>Implement the string-length() XPath function number string-length(string?) The string-length returns the number of characters in the string (see [3.6 Strings]). If the argument is omitted, it defaults to the context node converted to a string, in other words the value of the context node.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9001 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9002 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 9003 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9004 | </function> |
| 9005 | <function name='xmlXPathSubValues' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9006 | <info>Implement the subtraction operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9007 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9008 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9009 | </function> |
| 9010 | <function name='xmlXPathSubstringAfterFunction' file='xpathInternals'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9011 | <info>Implement the substring-after() XPath function string substring-after(string, string) The substring-after function returns the substring of the first argument string that follows the first occurrence of the second argument string in the first argument string, or the empty stringi if the first argument string does not contain the second argument string. For example, substring-after("1999/04/01","/") returns 04/01, and substring-after("1999/04/01","19") returns 99/04/01.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9012 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9013 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 9014 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9015 | </function> |
| 9016 | <function name='xmlXPathSubstringBeforeFunction' file='xpathInternals'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9017 | <info>Implement the substring-before() XPath function string substring-before(string, string) The substring-before function returns the substring of the first argument string that precedes the first occurrence of the second argument string in the first argument string, or the empty string if the first argument string does not contain the second argument string. For example, substring-before("1999/04/01","/") returns 1999.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9018 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9019 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 9020 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9021 | </function> |
| 9022 | <function name='xmlXPathSubstringFunction' file='xpathInternals'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9023 | <info>Implement the substring() XPath function string substring(string, number, number?) The substring function returns the substring of the first argument starting at the position specified in the second argument with length specified in the third argument. For example, substring("12345",2,3) returns "234". If the third argument is not specified, it returns the substring starting at the position specified in the second argument and continuing to the end of the string. For example, substring("12345",2) returns "2345". More precisely, each character in the string (see [3.6 Strings]) is considered to have a numeric position: the position of the first character is 1, the position of the second character is 2 and so on. The returned substring contains those characters for which the position of the character is greater than or equal to the second argument and, if the third argument is specified, less than the sum of the second and third arguments; the comparisons and addition used for the above follow the standard IEEE 754 rules. Thus: - substring("12345", 1.5, 2.6) returns "234" - substring("12345", 0, 3) returns "12" - substring("12345", 0 div 0, 3) returns "" - substring("12345", 1, 0 div 0) returns "" - substring("12345", -42, 1 div 0) returns "12345" - substring("12345", -1 div 0, 1 div 0) returns ""</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9024 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9025 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 9026 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9027 | </function> |
| 9028 | <function name='xmlXPathSumFunction' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9029 | <info>Implement the sum() XPath function number sum(node-set) The sum function returns the sum of the values of the nodes in the argument node-set.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9030 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9031 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 9032 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9033 | </function> |
| 9034 | <function name='xmlXPathTrailing' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9035 | <info>Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set) nodes1 and nodes2 are sorted by document order, then xmlXPathTrailingSorted is called.</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 9036 | <return type='xmlNodeSetPtr' info='the nodes in nodes1 that follow the first node in nodes2 in document order, nodes1 if nodes2 is NULL or empty or an empty node-set if nodes1 doesn't contain nodes2'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9037 | <arg name='nodes1' type='xmlNodeSetPtr' info='a node-set '/> |
| 9038 | <arg name='nodes2' type='xmlNodeSetPtr' info='a node-set '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9039 | </function> |
| 9040 | <function name='xmlXPathTrailingSorted' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9041 | <info>Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set)</info> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 9042 | <return type='xmlNodeSetPtr' info='the nodes in nodes1 that follow the first node in nodes2 in document order, nodes1 if nodes2 is NULL or empty or an empty node-set if nodes1 doesn't contain nodes2'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9043 | <arg name='nodes1' type='xmlNodeSetPtr' info='a node-set, sorted by document order '/> |
| 9044 | <arg name='nodes2' type='xmlNodeSetPtr' info='a node-set, sorted by document order '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9045 | </function> |
| 9046 | <function name='xmlXPathTranslateFunction' file='xpathInternals'> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9047 | <info>Implement the translate() XPath function string translate(string, string, string) The translate function returns the first argument string with occurrences of characters in the second argument string replaced by the character at the corresponding position in the third argument string. For example, translate("bar","abc","ABC") returns the string BAr. If there is a character in the second argument string with no character at a corresponding position in the third argument string (because the second argument string is longer than the third argument string), then occurrences of that character in the first argument string are removed. For example, translate("--aaa--","abc-","ABC")</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9048 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9049 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 9050 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9051 | </function> |
| 9052 | <function name='xmlXPathTrueFunction' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9053 | <info>Implement the true() XPath function boolean true()</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9054 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9055 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 9056 | <arg name='nargs' type='int' info='the number of arguments '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9057 | </function> |
| 9058 | <struct name='xmlXPathType' file='xpath'/> |
| 9059 | <typedef name='xmlXPathTypePtr' file='xpath'/> |
| 9060 | <function name='xmlXPathValueFlipSign' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9061 | <info>Implement the unary - operation on an XPath object The numeric operators convert their operands to numbers as if by calling the number function.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9062 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9063 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9064 | </function> |
| 9065 | <struct name='xmlXPathVariable' file='xpath'/> |
| 9066 | <function name='xmlXPathVariableLookup' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9067 | <info>Search in the Variable array of the context for the given variable value.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9068 | <return type='xmlXPathObjectPtr' info='a copy of the value or NULL if not found '/> |
| 9069 | <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context '/> |
| 9070 | <arg name='name' type='const xmlChar *' info='the variable name '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9071 | </function> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9072 | <functype name='xmlXPathVariableLookupFunc' file='xpathInternals'> |
Daniel Veillard | 1927409 | 2002-03-25 16:48:03 +0000 | [diff] [blame] | 9073 | <info>Prototype for callbacks used to plug variable lookup in the XPath engine.</info> |
| 9074 | <return type='xmlXPathObjectPtr' info='the XPath object value or NULL if not found. '/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9075 | <arg name='ctxt' type='void *' info='an XPath context '/> |
| 9076 | <arg name='name' type='const xmlChar *' info='name of the variable '/> |
| 9077 | <arg name='ns_uri' type='const xmlChar *' info='the namespace name hosting this variable '/> |
| 9078 | </functype> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9079 | <function name='xmlXPathVariableLookupNS' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9080 | <info>Search in the Variable array of the context for the given variable value.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9081 | <return type='xmlXPathObjectPtr' info='the a copy of the value or NULL if not found '/> |
| 9082 | <arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context '/> |
| 9083 | <arg name='name' type='const xmlChar *' info='the variable name '/> |
| 9084 | <arg name='ns_uri' type='const xmlChar *' info='the variable namespace URI '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9085 | </function> |
| 9086 | <typedef name='xmlXPathVariablePtr' file='xpath'/> |
| 9087 | <function name='xmlXPathWrapCString' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9088 | <info>Wraps a string into an XPath object.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9089 | <return type='xmlXPathObjectPtr' info='the newly created object. '/> |
| 9090 | <arg name='val' type='char *' info='the char * value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9091 | </function> |
| 9092 | <function name='xmlXPathWrapExternal' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9093 | <info>Wraps the val data into an XPath object.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9094 | <return type='xmlXPathObjectPtr' info='the newly created object. '/> |
| 9095 | <arg name='val' type='void *' info='the user data '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9096 | </function> |
| 9097 | <function name='xmlXPathWrapNodeSet' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9098 | <info>Wrap the Nodeset val in a new xmlXPathObjectPtr</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9099 | <return type='xmlXPathObjectPtr' info='the newly created object. '/> |
| 9100 | <arg name='val' type='xmlNodeSetPtr' info='the NodePtr value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9101 | </function> |
| 9102 | <function name='xmlXPathWrapString' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9103 | <info>Wraps the val string into an XPath object.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9104 | <return type='xmlXPathObjectPtr' info='the newly created object. '/> |
| 9105 | <arg name='val' type='xmlChar *' info='the xmlChar * value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9106 | </function> |
| 9107 | <function name='xmlXPatherror' file='xpathInternals'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9108 | <info>Formats an error message.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9109 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9110 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context '/> |
| 9111 | <arg name='file' type='const char *' info='the file name '/> |
| 9112 | <arg name='line' type='int' info='the line number '/> |
| 9113 | <arg name='no' type='int' info='the error number '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9114 | </function> |
| 9115 | <function name='xmlXPtrBuildNodeList' file='xpointer'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9116 | <info>Build a node list tree copy of the XPointer result. This will drop Attributes and Namespace declarations.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9117 | <return type='xmlNodePtr' info='an xmlNodePtr list or NULL. the caller has to free the node tree. '/> |
| 9118 | <arg name='obj' type='xmlXPathObjectPtr' info='the XPointer result from the evaluation. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9119 | </function> |
| 9120 | <function name='xmlXPtrEval' file='xpointer'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9121 | <info>Evaluate the XPath Location Path in the given context.</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9122 | <return type='xmlXPathObjectPtr' info='the xmlXPathObjectPtr resulting from the evaluation or NULL. the caller has to free the object. '/> |
| 9123 | <arg name='str' type='const xmlChar *' info='the XPointer expression '/> |
| 9124 | <arg name='ctx' type='xmlXPathContextPtr' info='the XPointer context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9125 | </function> |
| 9126 | <function name='xmlXPtrEvalRangePredicate' file='xpointer'> |
Daniel Veillard | 817e70b | 2002-11-19 22:28:48 +0000 | [diff] [blame] | 9127 | <info>[8] Predicate ::= '[' PredicateExpr ']' [9] PredicateExpr ::= Expr Evaluate a predicate as in xmlXPathEvalPredicate() but for a Location Set instead of a node set</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9128 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9129 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPointer Parser context '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9130 | </function> |
| 9131 | <function name='xmlXPtrFreeLocationSet' file='xpointer'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9132 | <info>Free the LocationSet compound (not the actual ranges !).</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9133 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9134 | <arg name='obj' type='xmlLocationSetPtr' info='the xmlLocationSetPtr to free '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9135 | </function> |
| 9136 | <function name='xmlXPtrLocationSetAdd' file='xpointer'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9137 | <info>add a new xmlXPathObjectPtr to an existing LocationSet If the location already exist in the set val is freed.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9138 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9139 | <arg name='cur' type='xmlLocationSetPtr' info='the initial range set '/> |
| 9140 | <arg name='val' type='xmlXPathObjectPtr' info='a new xmlXPathObjectPtr '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9141 | </function> |
| 9142 | <function name='xmlXPtrLocationSetCreate' file='xpointer'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9143 | <info>Create a new xmlLocationSetPtr of type double and of value val</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9144 | <return type='xmlLocationSetPtr' info='the newly created object. '/> |
| 9145 | <arg name='val' type='xmlXPathObjectPtr' info='an initial xmlXPathObjectPtr, or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9146 | </function> |
| 9147 | <function name='xmlXPtrLocationSetDel' file='xpointer'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9148 | <info>Removes an xmlXPathObjectPtr from an existing LocationSet</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9149 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9150 | <arg name='cur' type='xmlLocationSetPtr' info='the initial range set '/> |
| 9151 | <arg name='val' type='xmlXPathObjectPtr' info='an xmlXPathObjectPtr '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9152 | </function> |
| 9153 | <function name='xmlXPtrLocationSetMerge' file='xpointer'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9154 | <info>Merges two rangesets, all ranges from val2 are added to val1</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9155 | <return type='xmlLocationSetPtr' info='val1 once extended or NULL in case of error. '/> |
| 9156 | <arg name='val1' type='xmlLocationSetPtr' info='the first LocationSet '/> |
| 9157 | <arg name='val2' type='xmlLocationSetPtr' info='the second LocationSet '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9158 | </function> |
| 9159 | <function name='xmlXPtrLocationSetRemove' file='xpointer'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9160 | <info>Removes an entry from an existing LocationSet list.</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9161 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9162 | <arg name='cur' type='xmlLocationSetPtr' info='the initial range set '/> |
| 9163 | <arg name='val' type='int' info='the index to remove '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9164 | </function> |
| 9165 | <function name='xmlXPtrNewCollapsedRange' file='xpointer'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9166 | <info>Create a new xmlXPathObjectPtr of type range using a single nodes</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9167 | <return type='xmlXPathObjectPtr' info='the newly created object. '/> |
| 9168 | <arg name='start' type='xmlNodePtr' info='the starting and ending node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9169 | </function> |
| 9170 | <function name='xmlXPtrNewContext' file='xpointer'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9171 | <info>Create a new XPointer context</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9172 | <return type='xmlXPathContextPtr' info='the xmlXPathContext just allocated. '/> |
| 9173 | <arg name='doc' type='xmlDocPtr' info='the XML document '/> |
| 9174 | <arg name='here' type='xmlNodePtr' info='the node that directly contains the XPointer being evaluated or NULL '/> |
Daniel Veillard | fee408f | 2002-11-22 13:18:30 +0000 | [diff] [blame^] | 9175 | <arg name='origin' type='xmlNodePtr' info='the element from which a user or program initiated traversal of the link, or NULL. '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9176 | </function> |
| 9177 | <function name='xmlXPtrNewLocationSetNodeSet' file='xpointer'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9178 | <info>Create a new xmlXPathObjectPtr of type LocationSet and initialize it with all the nodes from set</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9179 | <return type='xmlXPathObjectPtr' info='the newly created object. '/> |
| 9180 | <arg name='set' type='xmlNodeSetPtr' info='a node set '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9181 | </function> |
| 9182 | <function name='xmlXPtrNewLocationSetNodes' file='xpointer'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9183 | <info>Create a new xmlXPathObjectPtr of type LocationSet and initialize it with the single range made of the two nodes start and end</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9184 | <return type='xmlXPathObjectPtr' info='the newly created object. '/> |
| 9185 | <arg name='start' type='xmlNodePtr' info='the start NodePtr value '/> |
| 9186 | <arg name='end' type='xmlNodePtr' info='the end NodePtr value or NULL '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9187 | </function> |
| 9188 | <function name='xmlXPtrNewRange' file='xpointer'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9189 | <info>Create a new xmlXPathObjectPtr of type range</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9190 | <return type='xmlXPathObjectPtr' info='the newly created object. '/> |
| 9191 | <arg name='start' type='xmlNodePtr' info='the starting node '/> |
| 9192 | <arg name='startindex' type='int' info='the start index '/> |
| 9193 | <arg name='end' type='xmlNodePtr' info='the ending point '/> |
| 9194 | <arg name='endindex' type='int' info='the ending index '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9195 | </function> |
| 9196 | <function name='xmlXPtrNewRangeNodeObject' file='xpointer'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9197 | <info>Create a new xmlXPathObjectPtr of type range from a not to an object</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9198 | <return type='xmlXPathObjectPtr' info='the newly created object. '/> |
| 9199 | <arg name='start' type='xmlNodePtr' info='the starting node '/> |
| 9200 | <arg name='end' type='xmlXPathObjectPtr' info='the ending object '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9201 | </function> |
| 9202 | <function name='xmlXPtrNewRangeNodePoint' file='xpointer'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9203 | <info>Create a new xmlXPathObjectPtr of type range from a node to a point</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9204 | <return type='xmlXPathObjectPtr' info='the newly created object. '/> |
| 9205 | <arg name='start' type='xmlNodePtr' info='the starting node '/> |
| 9206 | <arg name='end' type='xmlXPathObjectPtr' info='the ending point '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9207 | </function> |
| 9208 | <function name='xmlXPtrNewRangeNodes' file='xpointer'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9209 | <info>Create a new xmlXPathObjectPtr of type range using 2 nodes</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9210 | <return type='xmlXPathObjectPtr' info='the newly created object. '/> |
| 9211 | <arg name='start' type='xmlNodePtr' info='the starting node '/> |
| 9212 | <arg name='end' type='xmlNodePtr' info='the ending node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9213 | </function> |
| 9214 | <function name='xmlXPtrNewRangePointNode' file='xpointer'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9215 | <info>Create a new xmlXPathObjectPtr of type range from a point to a node</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9216 | <return type='xmlXPathObjectPtr' info='the newly created object. '/> |
| 9217 | <arg name='start' type='xmlXPathObjectPtr' info='the starting point '/> |
| 9218 | <arg name='end' type='xmlNodePtr' info='the ending node '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9219 | </function> |
| 9220 | <function name='xmlXPtrNewRangePoints' file='xpointer'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9221 | <info>Create a new xmlXPathObjectPtr of type range using 2 Points</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9222 | <return type='xmlXPathObjectPtr' info='the newly created object. '/> |
| 9223 | <arg name='start' type='xmlXPathObjectPtr' info='the starting point '/> |
| 9224 | <arg name='end' type='xmlXPathObjectPtr' info='the ending point '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9225 | </function> |
| 9226 | <function name='xmlXPtrRangeToFunction' file='xpointer'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9227 | <info>Implement the range-to() XPointer function</info> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9228 | <return type='void'/> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9229 | <arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPointer Parser context '/> |
| 9230 | <arg name='nargs' type='int' info='the number of args '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9231 | </function> |
| 9232 | <function name='xmlXPtrWrapLocationSet' file='xpointer'> |
Daniel Veillard | 2d1464f | 2002-01-21 23:16:56 +0000 | [diff] [blame] | 9233 | <info>Wrap the LocationSet val in a new xmlXPathObjectPtr</info> |
Daniel Veillard | 9d06d30 | 2002-01-22 18:15:52 +0000 | [diff] [blame] | 9234 | <return type='xmlXPathObjectPtr' info='the newly created object. '/> |
| 9235 | <arg name='val' type='xmlLocationSetPtr' info='the LocationSet value '/> |
Daniel Veillard | 6100647 | 2002-01-21 17:31:47 +0000 | [diff] [blame] | 9236 | </function> |
| 9237 | </symbols> |
| 9238 | </api> |