blob: 4b08b79c95cbc8bdad53b15c3b2c9ebda34ea6f0 [file] [log] [blame]
Daniel Veillard253aa2c2002-02-02 09:17:16 +00001 Generated Classes for libxml2-python
2
3#
4# Global functions of the module
5#
6
7
8# functions from module HTMLparser
Daniel Veillard3ce52572002-02-03 15:08:05 +00009htmlFreeParserCtxt()
Daniel Veillard253aa2c2002-02-02 09:17:16 +000010htmlHandleOmittedElem()
11htmlIsScriptAttribute()
Daniel Veillard3ce52572002-02-03 15:08:05 +000012htmlParseCharRef()
13htmlParseChunk()
Daniel Veillard253aa2c2002-02-02 09:17:16 +000014htmlParseDoc()
Daniel Veillard3ce52572002-02-03 15:08:05 +000015htmlParseElement()
Daniel Veillard253aa2c2002-02-02 09:17:16 +000016htmlParseFile()
17
18# functions from module HTMLtree
19htmlNewDoc()
20htmlNewDocNoDtD()
21
22# functions from module catalog
23catalogAdd()
24catalogCleanup()
25catalogConvert()
Daniel Veillard7db38712002-02-07 16:39:11 +000026catalogDump()
Daniel Veillard253aa2c2002-02-02 09:17:16 +000027catalogGetPublic()
28catalogGetSystem()
29catalogRemove()
30catalogResolve()
31catalogResolvePublic()
32catalogResolveSystem()
33catalogResolveURI()
34catalogSetDebug()
35initializeCatalog()
Daniel Veillard7db38712002-02-07 16:39:11 +000036loadACatalog()
Daniel Veillard253aa2c2002-02-02 09:17:16 +000037loadCatalog()
38loadCatalogs()
Daniel Veillard7db38712002-02-07 16:39:11 +000039loadSGMLSuperCatalog()
40newCatalog()
Daniel Veillard253aa2c2002-02-02 09:17:16 +000041parseCatalogFile()
42
43# functions from module debugXML
Daniel Veillard7db38712002-02-07 16:39:11 +000044debugDumpString()
Daniel Veillard253aa2c2002-02-02 09:17:16 +000045shellPrintXPathError()
46
47# functions from module encoding
48UTF8Strlen()
49UTF8Strloc()
50UTF8Strndup()
51UTF8Strpos()
52UTF8Strsize()
53UTF8Strsub()
54addEncodingAlias()
55checkUTF8()
56cleanupCharEncodingHandlers()
57cleanupEncodingAliases()
58delEncodingAlias()
59encodingAlias()
60initCharEncodingHandlers()
61
62# functions from module entities
63cleanupPredefinedEntities()
64initializePredefinedEntities()
65predefinedEntity()
66
67# functions from module nanoftp
68nanoFTPCleanup()
69nanoFTPInit()
70nanoFTPProxy()
71nanoFTPScanProxy()
72
73# functions from module nanohttp
74nanoHTTPCleanup()
75nanoHTTPInit()
76nanoHTTPScanProxy()
77
78# functions from module parser
79cleanupParser()
Daniel Veillard3ce52572002-02-03 15:08:05 +000080createDocParserCtxt()
Daniel Veillard253aa2c2002-02-02 09:17:16 +000081initParser()
82keepBlanksDefault()
83lineNumbersDefault()
84parseDTD()
85parseDoc()
86parseEntity()
87parseFile()
88parseMemory()
89pedanticParserDefault()
90recoverDoc()
91recoverFile()
92recoverMemory()
93substituteEntitiesDefault()
94
95# functions from module parserInternals
96checkLanguageID()
97copyChar()
98copyCharMultiByte()
Daniel Veillard3ce52572002-02-03 15:08:05 +000099createEntityParserCtxt()
100createFileParserCtxt()
101createMemoryParserCtxt()
102htmlCreateFileParserCtxt()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000103htmlInitAutoClose()
104isBaseChar()
105isBlank()
106isChar()
107isCombining()
108isDigit()
109isExtender()
110isIdeographic()
111isLetter()
112isPubidChar()
Daniel Veillard3ce52572002-02-03 15:08:05 +0000113namePop()
114namePush()
115newParserCtxt()
116nodePop()
117nodePush()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000118
Daniel Veillard5d819032002-02-02 21:49:17 +0000119# functions from module python
Daniel Veillard8d24cc12002-03-05 15:41:29 +0000120SAXParseFile()
Daniel Veillard3ce52572002-02-03 15:08:05 +0000121createPushParser()
Daniel Veillard4e1b26c2002-02-03 20:13:06 +0000122debugMemory()
123dumpMemory()
124htmlCreatePushParser()
Daniel Veillard8d24cc12002-03-05 15:41:29 +0000125htmlSAXParseFile()
Daniel Veillarda94ec6f2002-03-01 13:00:53 +0000126newNode()
Daniel Veillard5d819032002-02-02 21:49:17 +0000127registerErrorHandler()
128
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000129# functions from module tree
130compressMode()
131newComment()
132newDoc()
133newPI()
134newText()
135newTextLen()
136setCompressMode()
137
138# functions from module uri
139URIEscape()
140URIEscapeStr()
141URIUnescapeString()
142buildURI()
Daniel Veillard6361da02002-02-23 10:10:33 +0000143createURI()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000144normalizeURIPath()
Daniel Veillard6361da02002-02-23 10:10:33 +0000145parseURI()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000146
147# functions from module xmlIO
148cleanupInputCallbacks()
149cleanupOutputCallbacks()
150parserGetDirectory()
151registerDefaultInputCallbacks()
152registerDefaultOutputCallbacks()
153registerHTTPPostCallbacks()
154
155# functions from module xmlversion
156checkVersion()
157
Daniel Veillard7db38712002-02-07 16:39:11 +0000158# functions from module xpathInternals
159valuePop()
160
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000161
162#
163# Set of classes of the module
164#
165
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000166
167
168Class xmlNode(xmlCore)
Daniel Veillard36eea2d2002-02-04 00:17:01 +0000169 # accessors
170 ns()
171 nsDefs()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000172
173 # functions from module debugXML
Daniel Veillard7db38712002-02-07 16:39:11 +0000174 debugDumpNode()
175 debugDumpNodeList()
176 debugDumpOneNode()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000177 lsCountNode()
Daniel Veillard7db38712002-02-07 16:39:11 +0000178 lsOneNode()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000179 shellPrintNode()
180
181 # functions from module tree
182 addChild()
183 addChildList()
184 addContent()
185 addContentLen()
186 addNextSibling()
187 addPrevSibling()
188 addSibling()
189 copyNode()
190 copyNodeList()
191 copyProp()
192 copyPropList()
193 docCopyNode()
194 docSetRootElement()
195 freeNode()
196 freeNodeList()
197 getBase()
198 getContent()
199 getLang()
200 getSpacePreserve()
201 hasNsProp()
202 hasProp()
203 isBlankNode()
204 isText()
205 lastChild()
206 lineNo()
207 listGetRawString()
208 listGetString()
209 newChild()
210 newNs()
211 newNsProp()
212 newProp()
213 newTextChild()
214 nodePath()
215 nsProp()
216 prop()
217 reconciliateNs()
218 replaceNode()
219 searchNs()
220 searchNsByHref()
221 setBase()
222 setContent()
223 setContentLen()
224 setLang()
225 setListDoc()
226 setName()
227 setNs()
228 setNsProp()
229 setProp()
230 setSpacePreserve()
231 setTreeDoc()
232 textConcat()
233 textMerge()
234 unlinkNode()
235 unsetNsProp()
236 unsetProp()
237
238 # functions from module valid
239 isID()
240 isRef()
241 validNormalizeAttributeValue()
242
243 # functions from module xpath
244 xpathCastNodeToNumber()
245 xpathCastNodeToString()
246 xpathCmpNodes()
247
248 # functions from module xpathInternals
249 xpathNewNodeSet()
250 xpathNewValueTree()
Daniel Veillard7db38712002-02-07 16:39:11 +0000251 xpathNextAncestor()
252 xpathNextAncestorOrSelf()
253 xpathNextAttribute()
254 xpathNextChild()
255 xpathNextDescendant()
256 xpathNextDescendantOrSelf()
257 xpathNextFollowing()
258 xpathNextFollowingSibling()
259 xpathNextNamespace()
260 xpathNextParent()
261 xpathNextPreceding()
262 xpathNextPrecedingSibling()
263 xpathNextSelf()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000264
265
Daniel Veillard9589d452002-02-02 10:28:17 +0000266Class xmlDoc(xmlNode)
267
268 # functions from module HTMLparser
269 htmlAutoCloseTag()
270 htmlIsAutoClosed()
271
272 # functions from module HTMLtree
Daniel Veillard7db38712002-02-07 16:39:11 +0000273 htmlDocDump()
Daniel Veillard9589d452002-02-02 10:28:17 +0000274 htmlGetMetaEncoding()
Daniel Veillard7db38712002-02-07 16:39:11 +0000275 htmlNodeDumpFile()
276 htmlNodeDumpFileFormat()
Daniel Veillard9589d452002-02-02 10:28:17 +0000277 htmlSaveFile()
278 htmlSaveFileEnc()
279 htmlSaveFileFormat()
280 htmlSetMetaEncoding()
281
Daniel Veillard7db38712002-02-07 16:39:11 +0000282 # functions from module debugXML
283 debugDumpDocument()
284 debugDumpDocumentHead()
285 debugDumpEntities()
286
Daniel Veillard9589d452002-02-02 10:28:17 +0000287 # functions from module entities
288 addDocEntity()
289 addDtdEntity()
290 docEntity()
291 dtdEntity()
292 encodeEntities()
293 encodeEntitiesReentrant()
294 encodeSpecialChars()
295 parameterEntity()
296
297 # functions from module tree
298 copyDoc()
299 createIntSubset()
300 docCompressMode()
Daniel Veillard7db38712002-02-07 16:39:11 +0000301 dump()
302 elemDump()
Daniel Veillard9589d452002-02-02 10:28:17 +0000303 freeDoc()
304 getRootElement()
305 intSubset()
306 newCDataBlock()
307 newCharRef()
308 newDocComment()
309 newDocFragment()
310 newDocNode()
311 newDocProp()
312 newDocRawNode()
313 newDocText()
314 newDocTextLen()
315 newDtd()
316 newGlobalNs()
317 newReference()
318 saveFile()
319 saveFileEnc()
320 saveFormatFile()
321 saveFormatFileEnc()
322 setDocCompressMode()
323 stringGetNodeList()
324 stringLenGetNodeList()
325
326 # functions from module valid
327 ID()
328 isMixedElement()
329 removeID()
330 removeRef()
331
332 # functions from module xinclude
333 xincludeProcess()
334
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000335 # functions from module xpath
Daniel Veillard9589d452002-02-02 10:28:17 +0000336 xpathNewContext()
337
338
Daniel Veillard7db38712002-02-07 16:39:11 +0000339Class xmlAttribute(xmlNode)
Daniel Veillard9589d452002-02-02 10:28:17 +0000340
341
342Class xmlNs(xmlNode)
343
344 # functions from module tree
345 copyNamespace()
346 copyNamespaceList()
347 freeNs()
348 freeNsList()
Daniel Veillard9589d452002-02-02 10:28:17 +0000349
350
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000351Class xmlDtd(xmlNode)
352
Daniel Veillard7db38712002-02-07 16:39:11 +0000353 # functions from module debugXML
354 debugDumpDTD()
355
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000356 # functions from module tree
357 copyDtd()
358 freeDtd()
359
360 # functions from module valid
361 dtdAttrDesc()
362 dtdElementDesc()
363 dtdQAttrDesc()
364 dtdQElementDesc()
Daniel Veillard7db38712002-02-07 16:39:11 +0000365Class catalog()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000366
Daniel Veillard7db38712002-02-07 16:39:11 +0000367 # functions from module catalog
368 add()
369 catalogIsEmpty()
370 convertSGMLCatalog()
371 dump()
372 freeCatalog()
373 remove()
374 resolve()
375 resolvePublic()
376 resolveSystem()
377 resolveURI()
378Class xpathParserContext()
Daniel Veillardc575b992002-02-08 13:28:40 +0000379 # accessors
380 context()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000381
Daniel Veillard7db38712002-02-07 16:39:11 +0000382 # functions from module xpathInternals
383 xpathAddValues()
384 xpathBooleanFunction()
385 xpathCeilingFunction()
386 xpathCompareValues()
387 xpathConcatFunction()
388 xpathContainsFunction()
389 xpathCountFunction()
390 xpathDivValues()
391 xpathEqualValues()
392 xpathEvalExpr()
393 xpathFalseFunction()
394 xpathFloorFunction()
395 xpathFreeParserContext()
396 xpathIdFunction()
397 xpathLangFunction()
398 xpathLastFunction()
399 xpathLocalNameFunction()
400 xpathModValues()
401 xpathMultValues()
402 xpathNamespaceURIFunction()
403 xpathNormalizeFunction()
404 xpathNotFunction()
405 xpathNumberFunction()
406 xpathParseNCName()
407 xpathParseName()
408 xpathPopBoolean()
409 xpathPopNumber()
410 xpathPopString()
411 xpathPositionFunction()
412 xpathRoot()
413 xpathRoundFunction()
414 xpathStartsWithFunction()
415 xpathStringFunction()
416 xpathStringLengthFunction()
417 xpathSubValues()
418 xpathSubstringAfterFunction()
419 xpathSubstringBeforeFunction()
420 xpathSubstringFunction()
421 xpathSumFunction()
422 xpathTranslateFunction()
423 xpathTrueFunction()
424 xpathValueFlipSign()
425 xpatherror()
Daniel Veillard3ce52572002-02-03 15:08:05 +0000426Class parserCtxt()
427 # accessors
428 doc()
Daniel Veillard26f1dcc2002-02-03 16:53:19 +0000429 isValid()
430 lineNumbers()
431 loadSubset()
432 pedantic()
433 replaceEntities()
434 validate()
435 wellFormed()
Daniel Veillard3ce52572002-02-03 15:08:05 +0000436
437 # functions from module parser
438 clearParserCtxt()
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000439 freeParserCtxt()
Daniel Veillard3ce52572002-02-03 15:08:05 +0000440 initParserCtxt()
441 parseChunk()
442 parseDocument()
443 parseExtParsedEnt()
444 stopParser()
445
446 # functions from module parserInternals
447 decodeEntities()
Daniel Veillard3ce52572002-02-03 15:08:05 +0000448 namespaceParseNCName()
449 namespaceParseNSDef()
450 nextChar()
451 parseAttValue()
452 parseAttributeListDecl()
453 parseCDSect()
454 parseCharData()
455 parseCharRef()
456 parseComment()
457 parseContent()
458 parseDocTypeDecl()
459 parseElement()
460 parseElementDecl()
461 parseEncName()
462 parseEncodingDecl()
463 parseEndTag()
464 parseEntityDecl()
465 parseEntityRef()
466 parseExternalSubset()
467 parseMarkupDecl()
468 parseMisc()
469 parseName()
470 parseNamespace()
471 parseNmtoken()
472 parseNotationDecl()
473 parsePEReference()
474 parsePI()
475 parsePITarget()
476 parsePubidLiteral()
477 parseQuotedString()
478 parseReference()
479 parseSDDecl()
480 parseStartTag()
481 parseSystemLiteral()
482 parseTextDecl()
483 parseVersionInfo()
484 parseVersionNum()
485 parseXMLDecl()
486 parserHandlePEReference()
487 parserHandleReference()
488 popInput()
489 scanName()
490 skipBlankChars()
491 stringDecodeEntities()
Daniel Veillard7db38712002-02-07 16:39:11 +0000492
493
494Class xmlElement(xmlNode)
495
496
497Class xmlEntity(xmlNode)
498
499 # functions from module parserInternals
500 handleEntity()
501
502
503Class xmlAttr(xmlNode)
504
505 # functions from module debugXML
506 debugDumpAttr()
507 debugDumpAttrList()
508
509 # functions from module tree
510 freeProp()
511 freePropList()
512 removeProp()
Daniel Veillard6361da02002-02-23 10:10:33 +0000513Class URI()
514 # accessors
515 authority()
516 fragment()
517 opaque()
518 path()
519 port()
520 query()
521 scheme()
522 server()
523 setAuthority()
524 setFragment()
525 setOpaque()
526 setPath()
527 setPort()
528 setQuery()
529 setScheme()
530 setServer()
531 setUser()
532 user()
533
534 # functions from module uri
535 freeURI()
536 parseURIReference()
537 printURI()
538 saveUri()
Daniel Veillard9589d452002-02-02 10:28:17 +0000539Class xpathContext()
Daniel Veillardc575b992002-02-08 13:28:40 +0000540 # accessors
541 contextDoc()
542 contextNode()
543 contextPosition()
544 contextSize()
545 function()
546 functionURI()
Daniel Veillard8d24cc12002-03-05 15:41:29 +0000547 setContextDoc()
548 setContextNode()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000549
Daniel Veillard9589d452002-02-02 10:28:17 +0000550 # functions from module python
551 registerXPathFunction()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000552
Daniel Veillard9589d452002-02-02 10:28:17 +0000553 # functions from module xpath
554 xpathEval()
555 xpathEvalExpression()
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000556 xpathFreeContext()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000557
Daniel Veillard9589d452002-02-02 10:28:17 +0000558 # functions from module xpathInternals
Daniel Veillard7db38712002-02-07 16:39:11 +0000559 xpathNewParserContext()
Daniel Veillard9589d452002-02-02 10:28:17 +0000560 xpathNsLookup()
561 xpathRegisterAllFunctions()
562 xpathRegisterNs()
563 xpathRegisteredFuncsCleanup()
564 xpathRegisteredNsCleanup()
565 xpathRegisteredVariablesCleanup()
566 xpathVariableLookup()
567 xpathVariableLookupNS()