Lines Matching defs:version
972 doc = ctxt->myDoc = xmlNewDoc(ctxt->version);
2662 * @version: the version, 1 or 2
2664 * Set the default version of SAX used globally by the library.
2667 * xmlSAXVersion() to set up the version explicitly for a given
2673 xmlSAXDefaultVersion(int version)
2677 if ((version != 1) && (version != 2))
2679 xmlSAX2DefaultVersionValue = version;
2687 * @version: the version, 1 or 2
2689 * Initialize the default XML SAX handler according to the version
2694 xmlSAXVersion(xmlSAXHandler *hdlr, int version)
2697 if (version == 2) {
2705 } else if (version == 1) {