Home | History | Annotate | Download | only in libxml2

Lines Matching refs:ctxt

55     ctxt = libxml2.createFileParserCtxt(filename)
56 if ctxt == None:
58 ctxt.replaceEntities(1)
59 ctxt.parseDocument()
61 doc = ctxt.doc()
64 if ctxt.wellFormed() != 1:
81 ctxt = libxml2.createFileParserCtxt(filename)
82 if ctxt == None:
84 ret = ctxt.parseDocument()
87 doc = ctxt.doc()
92 if ret == 0 or ctxt.wellFormed() != 0:
106 ctxt = libxml2.createFileParserCtxt(filename)
107 if ctxt == None:
109 ctxt.replaceEntities(1)
110 ret = ctxt.parseDocument()
113 doc = ctxt.doc()
118 if ret == 0 or ctxt.wellFormed() != 0:
132 ctxt = libxml2.createFileParserCtxt(filename)
133 if ctxt == None:
135 ctxt.replaceEntities(1)
136 ctxt.loadSubset(1)
137 ret = ctxt.parseDocument()
140 doc = ctxt.doc()
145 if ret == 0 or ctxt.wellFormed() != 0:
159 ctxt = libxml2.createFileParserCtxt(filename)
160 if ctxt == None:
162 ctxt.replaceEntities(1)
163 ctxt.loadSubset(1)
164 ret = ctxt.parseDocument()
167 doc = ctxt.doc()
170 if doc == None or ret != 0 or ctxt.wellFormed() == 0:
192 ctxt = libxml2.createFileParserCtxt(filename)
193 if ctxt == None:
195 ctxt.replaceEntities(1)
196 ctxt.loadSubset(1)
197 ret = ctxt.parseDocument()
200 doc = ctxt.doc()
205 if ctxt.wellFormed() == 0:
223 ctxt = libxml2.createFileParserCtxt(filename)
224 if ctxt == None:
226 ctxt.validate(1)
227 ret = ctxt.parseDocument()
230 doc = ctxt.doc()
233 valid = ctxt.isValid()
259 ctxt = libxml2.createFileParserCtxt(filename)
260 if ctxt == None:
262 ctxt.validate(1)
263 ctxt.parseDocument()
266 doc = ctxt.doc()
269 valid = ctxt.isValid()