Software: Apache. PHP/7.3.33 uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) Safe-mode: OFF (not secure) /opt/alt/libxml2/usr/share/gtk-doc/html/libxml2/ drwxr-xr-x |
Viewing file: Select action/file-type:
parserparser - the core parser module Interfaces, constants and types related to the XML parser Author(s): Daniel Veillard Synopsis#define XML_COMPLETE_ATTRS; #define XML_DEFAULT_VERSION; #define XML_DETECT_IDS; #define XML_SAX2_MAGIC; #define XML_SKIP_IDS; typedef enum xmlFeature; typedef enum xmlParserInputState; typedef enum xmlParserMode; typedef struct _xmlParserNodeInfo xmlParserNodeInfo; typedef xmlParserNodeInfo * xmlParserNodeInfoPtr; typedef struct _xmlParserNodeInfoSeq xmlParserNodeInfoSeq; typedef xmlParserNodeInfoSeq * xmlParserNodeInfoSeqPtr; typedef enum xmlParserOption; typedef struct _xmlSAXHandlerV1 xmlSAXHandlerV1; typedef xmlSAXHandlerV1 * xmlSAXHandlerV1Ptr; typedef struct _xmlStartTag xmlStartTag; typedef void attributeDeclSAXFunc (void * ctx, DescriptionDetailsMacro XML_COMPLETE_ATTRS#define XML_COMPLETE_ATTRS; 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. Macro XML_DETECT_IDS#define XML_DETECT_IDS; Bit in the loadsubset context field to tell to do ID/REFs lookups. Use it to initialize xmlLoadExtDtdDefaultValue. Macro XML_SAX2_MAGIC#define XML_SAX2_MAGIC; Special constant found in SAX2 blocks initialized fields Macro XML_SKIP_IDS#define XML_SKIP_IDS; Bit in the loadsubset context field to tell to not do ID/REFs registration. Used to initialize xmlLoadExtDtdDefaultValue in some special cases. Enum xmlFeatureenum xmlFeature { XML_WITH_THREAD = 1 XML_WITH_TREE = 2 XML_WITH_OUTPUT = 3 XML_WITH_PUSH = 4 XML_WITH_READER = 5 XML_WITH_PATTERN = 6 XML_WITH_WRITER = 7 XML_WITH_SAX1 = 8 XML_WITH_FTP = 9 XML_WITH_HTTP = 10 XML_WITH_VALID = 11 XML_WITH_HTML = 12 XML_WITH_LEGACY = 13 XML_WITH_C14N = 14 XML_WITH_CATALOG = 15 XML_WITH_XPATH = 16 XML_WITH_XPTR = 17 XML_WITH_XINCLUDE = 18 XML_WITH_ICONV = 19 XML_WITH_ISO8859X = 20 XML_WITH_UNICODE = 21 XML_WITH_REGEXP = 22 XML_WITH_AUTOMATA = 23 XML_WITH_EXPR = 24 XML_WITH_SCHEMAS = 25 XML_WITH_SCHEMATRON = 26 XML_WITH_MODULES = 27 XML_WITH_DEBUG = 28 XML_WITH_DEBUG_MEM = 29 XML_WITH_DEBUG_RUN = 30 XML_WITH_ZLIB = 31 XML_WITH_ICU = 32 XML_WITH_LZMA = 33 XML_WITH_NONE = 99999 /* just to be sure of allocation size */ }; Enum xmlParserInputStateenum xmlParserInputState { XML_PARSER_EOF = -1 /* nothing is to be parsed */ XML_PARSER_START = 0 /* nothing has been parsed */ XML_PARSER_MISC = 1 /* Misc* before int subset */ XML_PARSER_PI = 2 /* Within a processing instruction */ XML_PARSER_DTD = 3 /* within some DTD content */ XML_PARSER_PROLOG = 4 /* Misc* after internal subset */ XML_PARSER_COMMENT = 5 /* within a comment */ XML_PARSER_START_TAG = 6 /* within a start tag */ XML_PARSER_CONTENT = 7 /* within the content */ XML_PARSER_CDATA_SECTION = 8 /* within a CDATA section */ XML_PARSER_END_TAG = 9 /* within a closing tag */ XML_PARSER_ENTITY_DECL = 10 /* within an entity declaration */ XML_PARSER_ENTITY_VALUE = 11 /* within an entity value in a decl */ XML_PARSER_ATTRIBUTE_VALUE = 12 /* within an attribute value */ XML_PARSER_SYSTEM_LITERAL = 13 /* within a SYSTEM value */ XML_PARSER_EPILOG = 14 /* the Misc* after the last end tag */ XML_PARSER_IGNORE = 15 /* within an IGNORED section */ XML_PARSER_PUBLIC_LITERAL = 16 /* within a PUBLIC value */ }; Enum xmlParserModeenum xmlParserMode { XML_PARSE_UNKNOWN = 0 XML_PARSE_DOM = 1 XML_PARSE_SAX = 2 XML_PARSE_PUSH_DOM = 3 XML_PARSE_PUSH_SAX = 4 XML_PARSE_READER = 5 }; Structure xmlParserNodeInfostruct _xmlParserNodeInfo { const struct _xmlNode * node : Position & line # that text that created the node begins & ends on unsigned long begin_pos unsigned long begin_line unsigned long end_pos unsigned long end_line } xmlParserNodeInfo; Typedef xmlParserNodeInfoPtrxmlParserNodeInfo * xmlParserNodeInfoPtr; Structure xmlParserNodeInfoSeqstruct _xmlParserNodeInfoSeq { unsigned long maximum unsigned long length xmlParserNodeInfo * buffer } xmlParserNodeInfoSeq; Typedef xmlParserNodeInfoSeqPtrxmlParserNodeInfoSeq * xmlParserNodeInfoSeqPtr; Enum xmlParserOptionenum xmlParserOption { XML_PARSE_RECOVER = 1 /* recover on errors */ XML_PARSE_NOENT = 2 /* substitute entities */ XML_PARSE_DTDLOAD = 4 /* load the external subset */ XML_PARSE_DTDATTR = 8 /* default DTD attributes */ XML_PARSE_DTDVALID = 16 /* validate with the DTD */ XML_PARSE_NOERROR = 32 /* suppress error reports */ XML_PARSE_NOWARNING = 64 /* suppress warning reports */ XML_PARSE_PEDANTIC = 128 /* pedantic error reporting */ XML_PARSE_NOBLANKS = 256 /* remove blank nodes */ XML_PARSE_SAX1 = 512 /* use the SAX1 interface internally */ XML_PARSE_XINCLUDE = 1024 /* Implement XInclude substitution */ XML_PARSE_NONET = 2048 /* Forbid network access */ XML_PARSE_NODICT = 4096 /* Do not reuse the context dictionary */ XML_PARSE_NSCLEAN = 8192 /* remove redundant namespaces declarations */ XML_PARSE_NOCDATA = 16384 /* merge CDATA as text nodes */ XML_PARSE_NOXINCNODE = 32768 /* do not generate XINCLUDE START/END nodes */ XML_PARSE_COMPACT = 65536 /* compact small text nodes; no modification of the tree allowed afterwards (will possibly crash if you try to modify the tree) */ XML_PARSE_OLD10 = 131072 /* parse using XML-1.0 before update 5 */ XML_PARSE_NOBASEFIX = 262144 /* do not fixup XINCLUDE xml:base uris */ XML_PARSE_HUGE = 524288 /* relax any hardcoded limit from the parser */ XML_PARSE_OLDSAX = 1048576 /* parse using SAX2 interface before 2.7.0 */ XML_PARSE_IGNORE_ENC = 2097152 /* ignore internal document encoding hint */ XML_PARSE_BIG_LINES = 4194304 /* Store big lines numbers in text PSVI field */ }; Structure xmlSAXHandlerV1struct _xmlSAXHandlerV1 { internalSubsetSAXFunc internalSubset isStandaloneSAXFunc isStandalone hasInternalSubsetSAXFunc hasInternalSubset hasExternalSubsetSAXFunc hasExternalSubset resolveEntitySAXFunc resolveEntity getEntitySAXFunc getEntity entityDeclSAXFunc entityDecl notationDeclSAXFunc notationDecl attributeDeclSAXFunc attributeDecl elementDeclSAXFunc elementDecl unparsedEntityDeclSAXFunc unparsedEntityDecl setDocumentLocatorSAXFunc setDocumentLocator startDocumentSAXFunc startDocument endDocumentSAXFunc endDocument startElementSAXFunc startElement endElementSAXFunc endElement referenceSAXFunc reference charactersSAXFunc characters ignorableWhitespaceSAXFunc ignorableWhitespace processingInstructionSAXFunc processingInstruction commentSAXFunc comment warningSAXFunc warning errorSAXFunc error fatalErrorSAXFunc fatalError : unused error() get all the errors getParameterEntitySAXFunc getParameterEntity cdataBlockSAXFunc cdataBlock externalSubsetSAXFunc externalSubset unsigned int initialized } xmlSAXHandlerV1; Typedef xmlSAXHandlerV1PtrxmlSAXHandlerV1 * xmlSAXHandlerV1Ptr; Structure xmlStartTagstruct _xmlStartTag { The content of this structure is not made public by the API. } xmlStartTag; Function type attributeDeclSAXFuncvoid attributeDeclSAXFunc (void * ctx, An attribute definition has been parsed. Function type attributeSAXFuncvoid attributeSAXFunc (void * ctx, 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. Function type cdataBlockSAXFuncvoid cdataBlockSAXFunc (void * ctx, Called when a pcdata block has been parsed.
Function type charactersSAXFuncvoid charactersSAXFunc (void * ctx, Receiving some chars from the parser. Function type commentSAXFuncvoid commentSAXFunc (void * ctx, A comment has been parsed.
Function type elementDeclSAXFuncvoid elementDeclSAXFunc (void * ctx, An element definition has been parsed.
Function type endDocumentSAXFuncvoid endDocumentSAXFunc (void * ctx) Called when the document end has been detected.
Function type endElementNsSAX2Funcvoid endElementNsSAX2Func (void * ctx, SAX2 callback when an element end has been detected by the parser. It provides the namespace information for the element.
Function type endElementSAXFuncvoid endElementSAXFunc (void * ctx, Called when the end of an element has been detected.
Function type entityDeclSAXFuncvoid entityDeclSAXFunc (void * ctx, An entity definition has been parsed.
Function type errorSAXFuncvoid errorSAXFunc (void * ctx, Display and format an error messages, callback.
Function type externalSubsetSAXFuncvoid externalSubsetSAXFunc (void * ctx, Callback on external subset declaration.
Function type fatalErrorSAXFuncvoid fatalErrorSAXFunc (void * ctx, Display and format fatal error messages, callback. Note: so far fatalError() SAX callbacks are not used, error() get all the callbacks for errors.
Function type getEntitySAXFuncxmlEntityPtr getEntitySAXFunc (void * ctx, Get an entity by name.
Function type getParameterEntitySAXFuncxmlEntityPtr getParameterEntitySAXFunc (void * ctx, Get a parameter entity by name.
Function type hasExternalSubsetSAXFuncint hasExternalSubsetSAXFunc (void * ctx) Does this document has an external subset?
Function type hasInternalSubsetSAXFuncint hasInternalSubsetSAXFunc (void * ctx) Does this document has an internal subset.
Function type ignorableWhitespaceSAXFuncvoid ignorableWhitespaceSAXFunc (void * ctx, Receiving some ignorable whitespaces from the parser. UNUSED: by default the DOM building will use characters. Function type internalSubsetSAXFuncvoid internalSubsetSAXFunc (void * ctx, Callback on internal subset declaration.
Function type isStandaloneSAXFuncint isStandaloneSAXFunc (void * ctx) Is this document tagged standalone?
Function type notationDeclSAXFuncvoid notationDeclSAXFunc (void * ctx, What to do when a notation declaration has been parsed.
Function type processingInstructionSAXFuncvoid processingInstructionSAXFunc (void * ctx, A processing instruction has been parsed.
Function type referenceSAXFuncvoid referenceSAXFunc (void * ctx, Called when an entity reference is detected.
Function type resolveEntitySAXFuncxmlParserInputPtr resolveEntitySAXFunc (void * ctx, 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
Function type setDocumentLocatorSAXFuncvoid setDocumentLocatorSAXFunc (void * ctx, Receive the document locator at startup, actually xmlDefaultSAXLocator. Everything is available on the context, so this is useless in our case.
Function type startDocumentSAXFuncvoid startDocumentSAXFunc (void * ctx) Called when the document start being processed.
Function type startElementNsSAX2Funcvoid startElementNsSAX2Func (void * ctx, SAX2 callback when an element start has been detected by the parser. It provides the namespace information for the element, as well as the new namespace declarations on the element.
Function type startElementSAXFuncvoid startElementSAXFunc (void * ctx, Called when an opening tag has been processed.
Function type unparsedEntityDeclSAXFuncvoid unparsedEntityDeclSAXFunc (void * ctx, What to do when an unparsed entity declaration is parsed.
Function type warningSAXFuncvoid warningSAXFunc (void * ctx, Display and format a warning messages, callback.
Function type xmlExternalEntityLoaderxmlParserInputPtr xmlExternalEntityLoader (const char * URL, External entity loaders types.
Function type xmlParserInputDeallocatevoid xmlParserInputDeallocate (xmlChar * str) Callback for freeing some parser input allocations.
xmlByteConsumed ()long xmlByteConsumed (xmlParserCtxtPtr ctxt) This function provides the current index of the parser relative to the start of the current entity. This function is computed in bytes from the beginning starting at zero and finishing at the size in byte of the file if parsing a file. The function is of constant cost if the input is UTF-8 but can be costly if run on non-UTF-8 input.
xmlCleanupParser ()void xmlCleanupParser (void) This function name is somewhat misleading. It does not clean up parser state, it cleans up memory allocated by the library itself. It is a cleanup function for the XML library. It tries to reclaim all related global memory allocated for the library processing. It doesn't deallocate any document related memory. One should call xmlCleanupParser() only when the process has finished using the library and all XML/HTML documents built with it. See also xmlInitParser() which has the opposite function of preparing the library for operations. WARNING: if your application is multithreaded or has plugin support calling this may crash the application if another thread or a plugin is still using libxml2. It's sometimes very hard to guess if libxml2 is in use in the application, some libraries or plugins may use it without notice. In case of doubt abstain from calling this function or do it just before calling exit() to avoid leak reports from valgrind ! xmlClearNodeInfoSeq ()void xmlClearNodeInfoSeq (xmlParserNodeInfoSeqPtr seq) -- Clear (release memory and reinitialize) node info sequence
xmlClearParserCtxt ()void xmlClearParserCtxt (xmlParserCtxtPtr ctxt) Clear (release owned resources) and reinitialize a parser context
xmlCreateDocParserCtxt ()xmlParserCtxtPtr xmlCreateDocParserCtxt (const xmlChar * cur) Creates a parser context for an XML in-memory document.
xmlCreateIOParserCtxt ()xmlParserCtxtPtr xmlCreateIOParserCtxt (xmlSAXHandlerPtr sax, Create a parser context for using the XML parser with an existing I/O stream
xmlCreatePushParserCtxt ()xmlParserCtxtPtr xmlCreatePushParserCtxt (xmlSAXHandlerPtr sax, 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.
xmlCtxtReadDoc ()xmlDocPtr xmlCtxtReadDoc (xmlParserCtxtPtr ctxt, parse an XML in-memory document and build a tree. This reuses the existing @ctxt parser context
xmlCtxtReadFd ()xmlDocPtr xmlCtxtReadFd (xmlParserCtxtPtr ctxt, parse an XML from a file descriptor and build a tree. This reuses the existing @ctxt parser context NOTE that the file descriptor will not be closed when the reader is closed or reset.
xmlCtxtReadFile ()xmlDocPtr xmlCtxtReadFile (xmlParserCtxtPtr ctxt, parse an XML file from the filesystem or the network. This reuses the existing @ctxt parser context
xmlCtxtReadIO ()xmlDocPtr xmlCtxtReadIO (xmlParserCtxtPtr ctxt, parse an XML document from I/O functions and source and build a tree. This reuses the existing @ctxt parser context
xmlCtxtReadMemory ()xmlDocPtr xmlCtxtReadMemory (xmlParserCtxtPtr ctxt, parse an XML in-memory document and build a tree. This reuses the existing @ctxt parser context
xmlCtxtReset ()void xmlCtxtReset (xmlParserCtxtPtr ctxt) Reset a parser context
xmlCtxtResetPush ()int xmlCtxtResetPush (xmlParserCtxtPtr ctxt, Reset a push parser context
xmlCtxtUseOptions ()int xmlCtxtUseOptions (xmlParserCtxtPtr ctxt, Applies the options to the parser context
xmlFreeParserCtxt ()void xmlFreeParserCtxt (xmlParserCtxtPtr ctxt) Free all the memory used by a parser context. However the parsed document in ctxt->myDoc is not freed.
xmlGetExternalEntityLoader ()xmlExternalEntityLoader xmlGetExternalEntityLoader (void) Get the default external entity resolver function for the application
xmlGetFeature ()int xmlGetFeature (xmlParserCtxtPtr ctxt, Read the current value of one feature of this parser instance
xmlGetFeaturesList ()int xmlGetFeaturesList (int * len, Copy at most *@len feature names into the @result array
xmlHasFeature ()int xmlHasFeature (xmlFeature feature) Examines if the library has been compiled with a given feature.
xmlIOParseDTD ()xmlDtdPtr xmlIOParseDTD (xmlSAXHandlerPtr sax, Load and parse a DTD
xmlInitNodeInfoSeq ()void xmlInitNodeInfoSeq (xmlParserNodeInfoSeqPtr seq) -- Initialize (set to initial state) node info sequence
xmlInitParser ()void xmlInitParser (void) Initialization function for the XML parser. This is not reentrant. Call once before processing in case of use in multithreaded programs. xmlInitParserCtxt ()int xmlInitParserCtxt (xmlParserCtxtPtr ctxt) Initialize a parser context
xmlKeepBlanksDefault ()int xmlKeepBlanksDefault (int val) 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 xmlSAX2IgnorableWhitespace() 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.
xmlLineNumbersDefault ()int xmlLineNumbersDefault (int val) 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.
xmlLoadExternalEntity ()xmlParserInputPtr xmlLoadExternalEntity (const char * URL, Load an external entity, note that the use of this function for unparsed entities may generate problems
xmlNewIOInputStream ()xmlParserInputPtr xmlNewIOInputStream (xmlParserCtxtPtr ctxt, Create a new input stream structure encapsulating the @input into a stream suitable for the parser.
xmlNewParserCtxt ()xmlParserCtxtPtr xmlNewParserCtxt (void) Allocate and initialize a new parser context.
xmlParseBalancedChunkMemory ()int xmlParseBalancedChunkMemory (xmlDocPtr doc, 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)*
xmlParseBalancedChunkMemoryRecover ()int xmlParseBalancedChunkMemoryRecover (xmlDocPtr doc, 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)*
xmlParseChunk ()int xmlParseChunk (xmlParserCtxtPtr ctxt, Parse a Chunk of memory
xmlParseCtxtExternalEntity ()int xmlParseCtxtExternalEntity (xmlParserCtxtPtr ctx, 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
xmlParseDTD ()xmlDtdPtr xmlParseDTD (const xmlChar * ExternalID, Load and parse an external subset.
xmlParseDoc ()xmlDocPtr xmlParseDoc (const xmlChar * cur) parse an XML in-memory document and build a tree.
xmlParseDocument ()int xmlParseDocument (xmlParserCtxtPtr ctxt) 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*)?
xmlParseEntity ()xmlDocPtr xmlParseEntity (const char * filename) parse an XML external entity out of context and build a tree. [78] extParsedEnt ::= TextDecl? content This correspond to a "Well Balanced" chunk
xmlParseExtParsedEnt ()int xmlParseExtParsedEnt (xmlParserCtxtPtr ctxt) parse a general parsed entity An external general parsed entity is well-formed if it matches the production labeled extParsedEnt. [78] extParsedEnt ::= TextDecl? content
xmlParseExternalEntity ()int xmlParseExternalEntity (xmlDocPtr doc, Parse an external general entity An external general parsed entity is well-formed if it matches the production labeled extParsedEnt. [78] extParsedEnt ::= TextDecl? content
xmlParseFile ()xmlDocPtr xmlParseFile (const char * filename) parse an XML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.
xmlParseInNodeContext ()xmlParserErrors xmlParseInNodeContext (xmlNodePtr node, Parse a well-balanced chunk of an XML document within the context (DTD, namespaces, etc ...) of the given node. The allowed sequence for the data is a Well Balanced Chunk defined by the content production in the XML grammar: [43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*
xmlParseMemory ()xmlDocPtr xmlParseMemory (const char * buffer, parse an XML in-memory block and build a tree.
xmlParserAddNodeInfo ()void xmlParserAddNodeInfo (xmlParserCtxtPtr ctxt, Insert node info record into the sorted sequence
xmlParserFindNodeInfo ()const xmlParserNodeInfo * xmlParserFindNodeInfo (const xmlParserCtxtPtr ctx, Find the parser node info struct for a given node
xmlParserFindNodeInfoIndex ()unsigned long xmlParserFindNodeInfoIndex (const xmlParserNodeInfoSeqPtr seq, xmlParserFindNodeInfoIndex : Find the index that the info record for the given node is or should be at in a sorted sequence
xmlParserInputGrow ()int xmlParserInputGrow (xmlParserInputPtr in, This function increase the input for the parser. It tries to preserve pointers to the input buffer, and keep already read data
xmlParserInputRead ()int xmlParserInputRead (xmlParserInputPtr in, This function was internal and is deprecated.
xmlPedanticParserDefault ()int xmlPedanticParserDefault (int val) Set and return the previous value for enabling pedantic warnings.
xmlReadDoc ()xmlDocPtr xmlReadDoc (const xmlChar * cur, parse an XML in-memory document and build a tree.
xmlReadFd ()xmlDocPtr xmlReadFd (int fd, parse an XML from a file descriptor and build a tree. NOTE that the file descriptor will not be closed when the reader is closed or reset.
xmlReadFile ()xmlDocPtr xmlReadFile (const char * filename, parse an XML file from the filesystem or the network.
xmlReadIO ()xmlDocPtr xmlReadIO (xmlInputReadCallback ioread, parse an XML document from I/O functions and source and build a tree.
xmlReadMemory ()xmlDocPtr xmlReadMemory (const char * buffer, parse an XML in-memory document and build a tree.
xmlRecoverDoc ()xmlDocPtr xmlRecoverDoc (const xmlChar * cur) parse an XML in-memory document and build a tree. In the case the document is not Well Formed, a attempt to build a tree is tried anyway
xmlRecoverFile ()xmlDocPtr xmlRecoverFile (const char * filename) 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, it attempts to build a tree anyway
xmlRecoverMemory ()xmlDocPtr xmlRecoverMemory (const char * buffer, parse an XML in-memory block and build a tree. In the case the document is not Well Formed, an attempt to build a tree is tried anyway
xmlSAXParseDTD ()xmlDtdPtr xmlSAXParseDTD (xmlSAXHandlerPtr sax, Load and parse an external subset.
xmlSAXParseDoc ()xmlDocPtr xmlSAXParseDoc (xmlSAXHandlerPtr sax, 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.
xmlSAXParseEntity ()xmlDocPtr xmlSAXParseEntity (xmlSAXHandlerPtr sax, 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
xmlSAXParseFile ()xmlDocPtr xmlSAXParseFile (xmlSAXHandlerPtr sax, 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.
xmlSAXParseFileWithData ()xmlDocPtr xmlSAXParseFileWithData (xmlSAXHandlerPtr sax, 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
xmlSAXParseMemory ()xmlDocPtr xmlSAXParseMemory (xmlSAXHandlerPtr sax, 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.
xmlSAXParseMemoryWithData ()xmlDocPtr xmlSAXParseMemoryWithData (xmlSAXHandlerPtr sax, 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
xmlSAXUserParseFile ()int xmlSAXUserParseFile (xmlSAXHandlerPtr sax, parse an XML file and call the given SAX handler routines. Automatic support for ZLIB/Compress compressed document is provided
xmlSAXUserParseMemory ()int xmlSAXUserParseMemory (xmlSAXHandlerPtr sax, A better SAX parsing routine. parse an XML in-memory buffer and call the given SAX handler routines.
xmlSetExternalEntityLoader ()void xmlSetExternalEntityLoader (xmlExternalEntityLoader f) Changes the defaultexternal entity resolver function for the application
xmlSetFeature ()int xmlSetFeature (xmlParserCtxtPtr ctxt, Change the current value of one feature of this parser instance
xmlSetupParserForBuffer ()void xmlSetupParserForBuffer (xmlParserCtxtPtr ctxt, 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
xmlStopParser ()void xmlStopParser (xmlParserCtxtPtr ctxt) Blocks further parser processing
xmlSubstituteEntitiesDefault ()int xmlSubstituteEntitiesDefault (int val) 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.
|
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0978 ]-- |