Expand description
Bindings to the C interface
Re-exports
pub use self::xmlElementType as xmlNsType;
Structs
- xmlDOMWrapCtxt:
- xmlParserCtxt:
- xmlSAXLocator:
- _xmlSchema:
- A facet definition.
- _xmlSchemaType:
- xmlXPathContext:
- xmlXPathParserContext:
Constants
Statics
Functions
- a64l⚠
- abs⚠
- atof⚠
- atoi⚠
- atol⚠
- div⚠
- Interfaces for the Push mode.
- ecvt⚠
- exit⚠
- fcvt⚠
- feof⚠
- free⚠
- gcvt⚠
- getc⚠
- getw⚠
- Interfaces for the Push mode.
- l64a⚠
- labs⚠
- ldiv⚠
- putc⚠
- puts⚠
- putw⚠
- rand⚠
- Range checking routine
- Parser context.
- Entities
- Default ‘file://’ protocol callbacks
- Input Streams.
- Generic production rules.
- XMLPUBFUN void XMLCALL xmlSchematronSetValidErrors (xmlSchematronValidCtxtPtr ctxt, xmlSchematronValidityErrorFunc err, xmlSchematronValidityWarningFunc warn, void *ctx); XMLPUBFUN int XMLCALL xmlSchematronGetValidErrors (xmlSchematronValidCtxtPtr ctxt, xmlSchematronValidityErrorFunc *err, xmlSchematronValidityWarningFunc *warn, void **ctx); XMLPUBFUN int XMLCALL xmlSchematronSetValidOptions(xmlSchematronValidCtxtPtr ctxt, int options); XMLPUBFUN int XMLCALL xmlSchematronValidCtxtGetOptions(xmlSchematronValidCtxtPtr ctxt); XMLPUBFUN int XMLCALL xmlSchematronValidateOneElement (xmlSchematronValidCtxtPtr ctxt, xmlNodePtr elem);
- XMLPUBFUN void XMLCALL xmlSchematronSetParserErrors(xmlSchematronParserCtxtPtr ctxt, xmlSchematronValidityErrorFunc err, xmlSchematronValidityWarningFunc warn, void *ctx); XMLPUBFUN int XMLCALL xmlSchematronGetParserErrors(xmlSchematronParserCtxtPtr ctxt, xmlSchematronValidityErrorFunc * err, xmlSchematronValidityWarningFunc * warn, void **ctx); XMLPUBFUN int XMLCALL xmlSchematronIsValid (xmlSchematronValidCtxtPtr ctxt);
- Namespaces.
- Conversion functions to basic types.
- Separate compilation/evaluation entry points.
- Context handling.
- Utilities to extend XPath.
- NodeSet handling.
- Really internal functions
- Evaluation functions.
- Extending a context.
Type Definitions
- attributeDeclSAXFunc: @ctx: the user data (XML parser context) @elem: the name of the element @fullname: the attribute name @type: the attribute type @def: the type of default value @defaultValue: the attribute default value @tree: the tree of enumerated value set
- attributeSAXFunc: @ctx: the user data (XML parser context) @name: The attribute name, including namespace prefix @value: The attribute value
- cdataBlockSAXFunc: @ctx: the user data (XML parser context) @value: The pcdata content @len: the block length
- charactersSAXFunc: @ctx: the user data (XML parser context) @ch: a xmlChar string @len: the number of xmlChar
- commentSAXFunc: @ctx: the user data (XML parser context) @value: the comment content
- elementDeclSAXFunc: @ctx: the user data (XML parser context) @name: the element name @type: the element type @content: the element value tree
- endDocumentSAXFunc: @ctx: the user data (XML parser context)
- endElementNsSAX2Func: @ctx: the user data (XML parser context) @localname: the local name of the element @prefix: the element namespace prefix if available @URI: the element namespace name if available
- endElementSAXFunc: @ctx: the user data (XML parser context) @name: The element name
- entityDeclSAXFunc: @ctx: the user data (XML parser context) @name: the entity name @type: the entity type @publicId: The public ID of the entity @systemId: The system ID of the entity @content: the entity value (without processing).
- errorSAXFunc: @ctx: an XML parser context @msg: the message to display/transmit @…: extra parameters for the message display
- externalSubsetSAXFunc: @ctx: the user data (XML parser context) @name: the root element name @ExternalID: the external ID @SystemID: the SYSTEM ID (e.g. filename or URL)
- fatalErrorSAXFunc: @ctx: an XML parser context @msg: the message to display/transmit @…: extra parameters for the message display
- ftpDataCallback: @userData: the user provided context @data: the data received @len: its size in bytes
- ftpListCallback: @userData: user provided data for the callback @filename: the file name (including “->” when links are shown) @attrib: the attribute string @owner: the owner string @group: the group string @size: the file size @links: the link count @year: the year @month: the month @day: the day @hour: the hour @minute: the minute
- getEntitySAXFunc: @ctx: the user data (XML parser context) @name: The entity name
- getParameterEntitySAXFunc: @ctx: the user data (XML parser context) @name: The entity name
- hasExternalSubsetSAXFunc: @ctx: the user data (XML parser context)
- hasInternalSubsetSAXFunc: @ctx: the user data (XML parser context)
- xmlParserOption:
- ignorableWhitespaceSAXFunc: @ctx: the user data (XML parser context) @ch: a xmlChar string @len: the number of xmlChar
- internalSubsetSAXFunc: @ctx: the user data (XML parser context) @name: the root element name @ExternalID: the external ID @SystemID: the SYSTEM ID (e.g. filename or URL)
- isStandaloneSAXFunc: @ctx: the user data (XML parser context)
- notationDeclSAXFunc: @ctx: the user data (XML parser context) @name: The name of the notation @publicId: The public ID of the entity @systemId: The system ID of the entity
- processingInstructionSAXFunc: @ctx: the user data (XML parser context) @target: the target name @data: the PI data’s
- referenceSAXFunc: @ctx: the user data (XML parser context) @name: The entity name
- resolveEntitySAXFunc: @ctx: the user data (XML parser context) @publicId: The public ID of the entity @systemId: The system ID of the entity
- setDocumentLocatorSAXFunc: @ctx: the user data (XML parser context) @loc: A SAX Locator
- startDocumentSAXFunc: @ctx: the user data (XML parser context)
- startElementNsSAX2Func: @ctx: the user data (XML parser context) @localname: the local name of the element @prefix: the element namespace prefix if available @URI: the element namespace name if available @nb_namespaces: number of namespace definitions on that node @namespaces: pointer to the array of prefix/URI pairs namespace definitions @nb_attributes: the number of attributes on that node @nb_defaulted: the number of defaulted attributes. The defaulted ones are at the end of the array @attributes: pointer to the array of (localname/prefix/URI/value/end) attribute values.
- startElementSAXFunc: @ctx: the user data (XML parser context) @name: The element name, including namespace prefix @atts: An array of name/value attributes pairs, NULL terminated
- unparsedEntityDeclSAXFunc: @ctx: the user data (XML parser context) @name: The name of the entity @publicId: The public ID of the entity @systemId: The system ID of the entity @notationName: the name of the notation
- warningSAXFunc: @ctx: an XML parser context @msg: the message to display/transmit @…: extra parameters for the message display
- xlinkExtendedLinkFunk: @ctx: user data pointer @node: the node carrying the link @nbLocators: the number of locators detected on the link @hrefs: pointer to the array of locator hrefs @roles: pointer to the array of locator roles @nbArcs: the number of arcs detected on the link @from: pointer to the array of source roles found on the arcs @to: pointer to the array of target roles found on the arcs @show: array of values for the show attributes found on the arcs @actuate: array of values for the actuate attributes found on the arcs @nbTitles: the number of titles detected on the link @title: array of titles detected on the link @langs: array of xml:lang values for the titles
- xlinkExtendedLinkSetFunk: @ctx: user data pointer @node: the node carrying the link @nbLocators: the number of locators detected on the link @hrefs: pointer to the array of locator hrefs @roles: pointer to the array of locator roles @nbTitles: the number of titles detected on the link @title: array of titles detected on the link @langs: array of xml:lang values for the titles
- Various defines for the various Link properties.
- This is the structure containing a set of Links detection callbacks.
- xlinkNodeDetectFunc: @ctx: user data pointer @node: the node to check
- xlinkSimpleLinkFunk: @ctx: user data pointer @node: the node carrying the link @href: the target of the link @role: the role string @title: the link title
- xmlAttr:
- xmlAttribute:
- xmlAttributeDefault:
- xmlAttributeType:
- xmlAutomataPtr:
- xmlAutomataStatePtr:
- xmlBuf:
- xmlBufPtr:
- xmlBuffer:
- xmlBufferAllocationScheme:
- This is the core C14N function / /** xmlC14NIsVisibleCallback: @user_data: user data @node: the curent node @parent: the parent node
- xmlChar:
- xmlCharEncodingInputFunc: @out: a pointer to an array of bytes to store the UTF-8 result @outlen: the length of @out @in: a pointer to an array of chars in the original encoding @inlen: the length of @in
- xmlCharEncodingOutputFunc: @out: a pointer to an array of bytes to store the result @outlen: the length of @out @in: a pointer to an array of UTF-8 chars @inlen: the length of @in
- xmlDOMWrapAcquireNsFunction: @ctxt: a DOM wrapper context @node: the context node (element or attribute) @nsName: the requested namespace name @nsPrefix: the requested namespace prefix
- xmlDeregisterNodeFunc: @node: the current node
- xmlDoc:
- xmlDocProperty
- xmlDtd:
- xmlElement:
- xmlElementContent:
- xmlElementContentOccur:
- xmlElementContentType:
- xmlElementTypeVal:
- xmlEntityReferenceFunc: @ent: the entity @firstNode: the fist node in the chunk @lastNode: the last nod in the chunk
- xmlEnumeration:
- xmlError:
- xmlErrorDomain:
- xmlErrorLevel:
- xmlExternalEntityLoader: @URL: The System ID of the resource requested @ID: The Public ID of the resource requested @context: the XML parser context
- xmlFeature:
- xmlFreeFunc: @mem: an already allocated block of memory
- xmlGenericErrorFunc: @ctx: a parsing context @msg: the message @…: the extra arguments of the varags to format the message
- xmlHashCopier: @payload: the data in the hash @name: the name associated
- xmlHashDeallocator: @payload: the data in the hash @name: the name associated
- xmlHashScanner: @payload: the data in the hash @data: extra scannner data @name: the name associated
- xmlHashScannerFull: @payload: the data in the hash @data: extra scannner data @name: the name associated @name2: the second name associated @name3: the third name associated
- xmlID:
- xmlInputCloseCallback: @context: an Input context
- xmlInputMatchCallback: @filename: the filename or URI
- xmlInputOpenCallback: @filename: the filename or URI
- xmlInputReadCallback: @context: an Input context @buffer: the buffer to store data read @len: the length of the buffer in bytes
- xmlListDataCompare: @data0: the first data @data1: the second data
- xmlListDeallocator: @lk: the data to deallocate
- xmlListWalker: @data: the data found in the list @user: extra user provided data to the walker
- xmlMallocFunc: @size: the size requested in bytes
- xmlModulePtr:
- xmlModuleOption:
- xmlNode:
- xmlNotation:
- xmlNs:
- xmlOutputBufferCreateFilenameFunc: @URI: the URI to write to @enc: the requested target encoding
- xmlOutputCloseCallback: @context: an Output context
- xmlOutputMatchCallback: @filename: the filename or URI
- xmlOutputOpenCallback: @filename: the filename or URI
- xmlOutputWriteCallback: @context: an Output context @buffer: the buffer of data to write @len: the length of the buffer in bytes
- xmlParserError:
- xmlParserInputBufferCreateFilenameFunc: @URI: the URI to read from @enc: the requested source encoding
- xmlParserInputDeallocate: @str: the string to deallocate
- xmlParserInputState:
- xmlParserMode:
- xmlParserNodeInfo:
- xmlParserOption:
- xmlParserProperties:
- xmlParserSeverities:
- xmlPattern:
- xmlPatternFlags:
- xmlReaderTypes:
- xmlReallocFunc: @mem: an already allocated block of memory @size: the new size requested in bytes
- xmlRef:
- xmlRegExecCallbacks: @exec: the regular expression context @token: the current token string @transdata: transition data @inputdata: input data
- xmlRegExecCtxtPtr:
- xmlRegexpPtr:
- xmlRegisterNodeFunc: @node: the current node
- A schemas validation context
- xmlRelaxNGValidityErrorFunc: @ctx: the validation context @msg: the message @…: extra arguments
- xmlRelaxNGValidityWarningFunc: @ctx: the validation context @msg: the message @…: extra arguments
- xmlSaveOption:
- The schemas related types are kept internal
- Annotation
- xmlSchemaAttribute: An attribute definition.
- An attribute group definition.
- xmlSchemaAttributeLink: Used to build a list of attribute uses on complexType definitions. WARNING: Deprecated; not used.
- xmlSchemaFacetLink: Used to build a list of facets.
- A notation definition.
- A schemas validation context
- xmlSchemaTypeLink: Used to build a list of types (e.g. member types of simpleType with variety “union”).
- This error codes are obsolete; not used any more.
- xmlSchemaValidOption:
- xmlSchemaValidityErrorFunc: @ctx: the validation context @msg: the message @…: extra arguments
- xmlSchemaValidityLocatorFunc: @ctx: user provided context @file: returned file information @line: returned line information
- xmlSchemaValidityWarningFunc: @ctx: the validation context @msg: the message @…: extra arguments
- xmlSchemaWildcard. A wildcard.
- xmlSchemaCharValueLink: Used to build a list of namespaces on wildcards.
- The schemas related types are kept internal
- A schemas validation context
- xmlSchematronValidityErrorFunc: @ctx: the validation context @msg: the message @…: extra arguments
- xmlSchematronValidityWarningFunc: @ctx: the validation context @msg: the message @…: extra arguments
- xmlShellCmd: @ctxt: a shell context @arg: a string argument @node: a first node @node2: a second node
- xmlShellCtxt:
- xmlShellReadlineFunc: @prompt: a string prompt
- xmlStrdupFunc: @str: a zero terminated string
- xmlStructuredErrorFunc: @userData: user provided data for the error callback @error: the error being raised.
- xmlTextReader:
- xmlTextReaderErrorFunc: @arg: the user argument @msg: the message @severity: the severity of the error @locator: a locator indicating where the error occured
- xmlTextReaderMode:
- xmlTextReaderPtr:
- xmlURI:
- xmlValidityErrorFunc: @ctx: usually an xmlValidCtxtPtr to a validity error context, but comes from ctxt->userData (which normally contains such a pointer); ctxt->userData can be changed by the user. @msg: the string to format *printf like vararg @…: remaining arguments to the format
- xmlValidityWarningFunc: @ctx: usually an xmlValidCtxtPtr to a validity error context, but comes from ctxt->userData (which normally contains such a pointer); ctxt->userData can be changed by the user. @msg: the string to format *printf like vararg @…: remaining arguments to the format
- xmlXPathAxisFunc: @ctxt: the XPath interpreter context @cur: the previous node being explored on that axis
- xmlXPathConvertFunc: @obj: an XPath object @type: the number of the target type
- The set of XPath error codes.
- xmlXPathEvalFunc: @ctxt: an XPath parser context @nargs: the number of arguments passed to the function
- xmlXPathFuncLookupFunc: @ctxt: an XPath context @name: name of the function @ns_uri: the namespace name hosting this function
- xmlXPathFunction: @ctxt: the XPath interprestation context @nargs: the number of arguments
- xmlXPathVariableLookupFunc: @ctxt: an XPath context @name: name of the variable @ns_uri: the namespace name hosting this variable