blob: 16cab8e20aa3b0ce08fda14a17b7e8377dd1118b [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 Veillard3ce52572002-02-03 15:08:05 +0000120createPushParser()
Daniel Veillard4e1b26c2002-02-03 20:13:06 +0000121debugMemory()
122dumpMemory()
123htmlCreatePushParser()
Daniel Veillarda94ec6f2002-03-01 13:00:53 +0000124newNode()
Daniel Veillard5d819032002-02-02 21:49:17 +0000125registerErrorHandler()
126
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000127# functions from module tree
128compressMode()
129newComment()
130newDoc()
131newPI()
132newText()
133newTextLen()
134setCompressMode()
135
136# functions from module uri
137URIEscape()
138URIEscapeStr()
139URIUnescapeString()
140buildURI()
Daniel Veillard6361da02002-02-23 10:10:33 +0000141createURI()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000142normalizeURIPath()
Daniel Veillard6361da02002-02-23 10:10:33 +0000143parseURI()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000144
145# functions from module xmlIO
146cleanupInputCallbacks()
147cleanupOutputCallbacks()
148parserGetDirectory()
149registerDefaultInputCallbacks()
150registerDefaultOutputCallbacks()
151registerHTTPPostCallbacks()
152
153# functions from module xmlversion
154checkVersion()
155
Daniel Veillard7db38712002-02-07 16:39:11 +0000156# functions from module xpathInternals
157valuePop()
158
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000159
160#
161# Set of classes of the module
162#
163
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000164
165
166Class xmlNode(xmlCore)
Daniel Veillard36eea2d2002-02-04 00:17:01 +0000167 # accessors
168 ns()
169 nsDefs()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000170
171 # functions from module debugXML
Daniel Veillard7db38712002-02-07 16:39:11 +0000172 debugDumpNode()
173 debugDumpNodeList()
174 debugDumpOneNode()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000175 lsCountNode()
Daniel Veillard7db38712002-02-07 16:39:11 +0000176 lsOneNode()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000177 shellPrintNode()
178
179 # functions from module tree
180 addChild()
181 addChildList()
182 addContent()
183 addContentLen()
184 addNextSibling()
185 addPrevSibling()
186 addSibling()
187 copyNode()
188 copyNodeList()
189 copyProp()
190 copyPropList()
191 docCopyNode()
192 docSetRootElement()
193 freeNode()
194 freeNodeList()
195 getBase()
196 getContent()
197 getLang()
198 getSpacePreserve()
199 hasNsProp()
200 hasProp()
201 isBlankNode()
202 isText()
203 lastChild()
204 lineNo()
205 listGetRawString()
206 listGetString()
207 newChild()
208 newNs()
209 newNsProp()
210 newProp()
211 newTextChild()
212 nodePath()
213 nsProp()
214 prop()
215 reconciliateNs()
216 replaceNode()
217 searchNs()
218 searchNsByHref()
219 setBase()
220 setContent()
221 setContentLen()
222 setLang()
223 setListDoc()
224 setName()
225 setNs()
226 setNsProp()
227 setProp()
228 setSpacePreserve()
229 setTreeDoc()
230 textConcat()
231 textMerge()
232 unlinkNode()
233 unsetNsProp()
234 unsetProp()
235
236 # functions from module valid
237 isID()
238 isRef()
239 validNormalizeAttributeValue()
240
241 # functions from module xpath
242 xpathCastNodeToNumber()
243 xpathCastNodeToString()
244 xpathCmpNodes()
245
246 # functions from module xpathInternals
247 xpathNewNodeSet()
248 xpathNewValueTree()
Daniel Veillard7db38712002-02-07 16:39:11 +0000249 xpathNextAncestor()
250 xpathNextAncestorOrSelf()
251 xpathNextAttribute()
252 xpathNextChild()
253 xpathNextDescendant()
254 xpathNextDescendantOrSelf()
255 xpathNextFollowing()
256 xpathNextFollowingSibling()
257 xpathNextNamespace()
258 xpathNextParent()
259 xpathNextPreceding()
260 xpathNextPrecedingSibling()
261 xpathNextSelf()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000262
263
Daniel Veillard9589d452002-02-02 10:28:17 +0000264Class xmlDoc(xmlNode)
265
266 # functions from module HTMLparser
267 htmlAutoCloseTag()
268 htmlIsAutoClosed()
269
270 # functions from module HTMLtree
Daniel Veillard7db38712002-02-07 16:39:11 +0000271 htmlDocDump()
Daniel Veillard9589d452002-02-02 10:28:17 +0000272 htmlGetMetaEncoding()
Daniel Veillard7db38712002-02-07 16:39:11 +0000273 htmlNodeDumpFile()
274 htmlNodeDumpFileFormat()
Daniel Veillard9589d452002-02-02 10:28:17 +0000275 htmlSaveFile()
276 htmlSaveFileEnc()
277 htmlSaveFileFormat()
278 htmlSetMetaEncoding()
279
Daniel Veillard7db38712002-02-07 16:39:11 +0000280 # functions from module debugXML
281 debugDumpDocument()
282 debugDumpDocumentHead()
283 debugDumpEntities()
284
Daniel Veillard9589d452002-02-02 10:28:17 +0000285 # functions from module entities
286 addDocEntity()
287 addDtdEntity()
288 docEntity()
289 dtdEntity()
290 encodeEntities()
291 encodeEntitiesReentrant()
292 encodeSpecialChars()
293 parameterEntity()
294
295 # functions from module tree
296 copyDoc()
297 createIntSubset()
298 docCompressMode()
Daniel Veillard7db38712002-02-07 16:39:11 +0000299 dump()
300 elemDump()
Daniel Veillard9589d452002-02-02 10:28:17 +0000301 freeDoc()
302 getRootElement()
303 intSubset()
304 newCDataBlock()
305 newCharRef()
306 newDocComment()
307 newDocFragment()
308 newDocNode()
309 newDocProp()
310 newDocRawNode()
311 newDocText()
312 newDocTextLen()
313 newDtd()
314 newGlobalNs()
315 newReference()
316 saveFile()
317 saveFileEnc()
318 saveFormatFile()
319 saveFormatFileEnc()
320 setDocCompressMode()
321 stringGetNodeList()
322 stringLenGetNodeList()
323
324 # functions from module valid
325 ID()
326 isMixedElement()
327 removeID()
328 removeRef()
329
330 # functions from module xinclude
331 xincludeProcess()
332
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000333 # functions from module xpath
Daniel Veillard9589d452002-02-02 10:28:17 +0000334 xpathNewContext()
335
336
Daniel Veillard7db38712002-02-07 16:39:11 +0000337Class xmlAttribute(xmlNode)
Daniel Veillard9589d452002-02-02 10:28:17 +0000338
339
340Class xmlNs(xmlNode)
341
342 # functions from module tree
343 copyNamespace()
344 copyNamespaceList()
345 freeNs()
346 freeNsList()
Daniel Veillard9589d452002-02-02 10:28:17 +0000347
348
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000349Class xmlDtd(xmlNode)
350
Daniel Veillard7db38712002-02-07 16:39:11 +0000351 # functions from module debugXML
352 debugDumpDTD()
353
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000354 # functions from module tree
355 copyDtd()
356 freeDtd()
357
358 # functions from module valid
359 dtdAttrDesc()
360 dtdElementDesc()
361 dtdQAttrDesc()
362 dtdQElementDesc()
Daniel Veillard7db38712002-02-07 16:39:11 +0000363Class catalog()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000364
Daniel Veillard7db38712002-02-07 16:39:11 +0000365 # functions from module catalog
366 add()
367 catalogIsEmpty()
368 convertSGMLCatalog()
369 dump()
370 freeCatalog()
371 remove()
372 resolve()
373 resolvePublic()
374 resolveSystem()
375 resolveURI()
376Class xpathParserContext()
Daniel Veillardc575b992002-02-08 13:28:40 +0000377 # accessors
378 context()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000379
Daniel Veillard7db38712002-02-07 16:39:11 +0000380 # functions from module xpathInternals
381 xpathAddValues()
382 xpathBooleanFunction()
383 xpathCeilingFunction()
384 xpathCompareValues()
385 xpathConcatFunction()
386 xpathContainsFunction()
387 xpathCountFunction()
388 xpathDivValues()
389 xpathEqualValues()
390 xpathEvalExpr()
391 xpathFalseFunction()
392 xpathFloorFunction()
393 xpathFreeParserContext()
394 xpathIdFunction()
395 xpathLangFunction()
396 xpathLastFunction()
397 xpathLocalNameFunction()
398 xpathModValues()
399 xpathMultValues()
400 xpathNamespaceURIFunction()
401 xpathNormalizeFunction()
402 xpathNotFunction()
403 xpathNumberFunction()
404 xpathParseNCName()
405 xpathParseName()
406 xpathPopBoolean()
407 xpathPopNumber()
408 xpathPopString()
409 xpathPositionFunction()
410 xpathRoot()
411 xpathRoundFunction()
412 xpathStartsWithFunction()
413 xpathStringFunction()
414 xpathStringLengthFunction()
415 xpathSubValues()
416 xpathSubstringAfterFunction()
417 xpathSubstringBeforeFunction()
418 xpathSubstringFunction()
419 xpathSumFunction()
420 xpathTranslateFunction()
421 xpathTrueFunction()
422 xpathValueFlipSign()
423 xpatherror()
Daniel Veillard3ce52572002-02-03 15:08:05 +0000424Class parserCtxt()
425 # accessors
426 doc()
Daniel Veillard26f1dcc2002-02-03 16:53:19 +0000427 isValid()
428 lineNumbers()
429 loadSubset()
430 pedantic()
431 replaceEntities()
432 validate()
433 wellFormed()
Daniel Veillard3ce52572002-02-03 15:08:05 +0000434
435 # functions from module parser
436 clearParserCtxt()
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000437 freeParserCtxt()
Daniel Veillard3ce52572002-02-03 15:08:05 +0000438 initParserCtxt()
439 parseChunk()
440 parseDocument()
441 parseExtParsedEnt()
442 stopParser()
443
444 # functions from module parserInternals
445 decodeEntities()
Daniel Veillard3ce52572002-02-03 15:08:05 +0000446 namespaceParseNCName()
447 namespaceParseNSDef()
448 nextChar()
449 parseAttValue()
450 parseAttributeListDecl()
451 parseCDSect()
452 parseCharData()
453 parseCharRef()
454 parseComment()
455 parseContent()
456 parseDocTypeDecl()
457 parseElement()
458 parseElementDecl()
459 parseEncName()
460 parseEncodingDecl()
461 parseEndTag()
462 parseEntityDecl()
463 parseEntityRef()
464 parseExternalSubset()
465 parseMarkupDecl()
466 parseMisc()
467 parseName()
468 parseNamespace()
469 parseNmtoken()
470 parseNotationDecl()
471 parsePEReference()
472 parsePI()
473 parsePITarget()
474 parsePubidLiteral()
475 parseQuotedString()
476 parseReference()
477 parseSDDecl()
478 parseStartTag()
479 parseSystemLiteral()
480 parseTextDecl()
481 parseVersionInfo()
482 parseVersionNum()
483 parseXMLDecl()
484 parserHandlePEReference()
485 parserHandleReference()
486 popInput()
487 scanName()
488 skipBlankChars()
489 stringDecodeEntities()
Daniel Veillard7db38712002-02-07 16:39:11 +0000490
491
492Class xmlElement(xmlNode)
493
494
495Class xmlEntity(xmlNode)
496
497 # functions from module parserInternals
498 handleEntity()
499
500
501Class xmlAttr(xmlNode)
502
503 # functions from module debugXML
504 debugDumpAttr()
505 debugDumpAttrList()
506
507 # functions from module tree
508 freeProp()
509 freePropList()
510 removeProp()
Daniel Veillard6361da02002-02-23 10:10:33 +0000511Class URI()
512 # accessors
513 authority()
514 fragment()
515 opaque()
516 path()
517 port()
518 query()
519 scheme()
520 server()
521 setAuthority()
522 setFragment()
523 setOpaque()
524 setPath()
525 setPort()
526 setQuery()
527 setScheme()
528 setServer()
529 setUser()
530 user()
531
532 # functions from module uri
533 freeURI()
534 parseURIReference()
535 printURI()
536 saveUri()
Daniel Veillard9589d452002-02-02 10:28:17 +0000537Class xpathContext()
Daniel Veillardc575b992002-02-08 13:28:40 +0000538 # accessors
539 contextDoc()
540 contextNode()
541 contextPosition()
542 contextSize()
543 function()
544 functionURI()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000545
Daniel Veillard9589d452002-02-02 10:28:17 +0000546 # functions from module python
547 registerXPathFunction()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000548
Daniel Veillard9589d452002-02-02 10:28:17 +0000549 # functions from module xpath
550 xpathEval()
551 xpathEvalExpression()
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000552 xpathFreeContext()
Daniel Veillard253aa2c2002-02-02 09:17:16 +0000553
Daniel Veillard9589d452002-02-02 10:28:17 +0000554 # functions from module xpathInternals
Daniel Veillard7db38712002-02-07 16:39:11 +0000555 xpathNewParserContext()
Daniel Veillard9589d452002-02-02 10:28:17 +0000556 xpathNsLookup()
557 xpathRegisterAllFunctions()
558 xpathRegisterNs()
559 xpathRegisteredFuncsCleanup()
560 xpathRegisteredNsCleanup()
561 xpathRegisteredVariablesCleanup()
562 xpathVariableLookup()
563 xpathVariableLookupNS()