[All Packages] [This Package]
xmlinit | Initialize XML parser |
xmlinitenc | Initialize XML parser (specifying DOM data encoding) |
xmlterm | Terminate XML parser |
xmlclean | Clean up memory used during parse |
xmlparse | Parse a document from a URI |
xmlparseBuffer | Parse a document from a buffer |
xmlparseDTD | Parse an external DTD |
xmlparseFile | Parse a document from a file |
xmlparseStream | Parse a document from a stream |
xmlwhere | Return error location information |
setAccess | Set I/O access callbacks |
getContent | Returns the content model for an element |
getDocument | Returns the root node of a parsed document |
getDocumentElement | Returns the root element (node) of a parsed document |
getDocType | Returns the document type string |
isStandalone | Returns the value of the standalone flag |
isSingleChar | Returns the value of the single/multibyte encoding flag |
getEncoding | Returns the name of the document's encoding method |
validate | Validate the document |
context | Get the context |
createDocument | Creates and returns a document node |
p
uword xmlinit(DOMString incoding, void (*msghdlr)(void *msgctx, DOMString msg, ub4 errcode), void *msgctx, lpxsaxcb *saxcb, void *saxcbctx, DOMString lang)
uword xmlinitint(DOMString incoding, DOMString outcoding, void (*msghdlr)(void *msgctx, DOMString msg, ub4 errcode), void *msgctx, lpxsaxcb *saxcb, void *saxcbctx, DOMString lang)
ctx (IN) - XML context path (IN) - full path to the source to be opened parts (IN) - path broken down into components; opaque pointer length (OUT) - total length of input source, if known. if not known, should be set to 0. ih (OUT) - the opened handle is placed here
ctx (IN) - XML context ih (IN) - input handle union
On EOI, the matching close function will be called automatically. Args:
ctx (IN) - XML context path (IN) - full path to the source to be opened; only provided here for use in error messages ih (IN) - input handle union dest (OUT) - destination buffer to read data into destsize (IN) - size of dest nraw (OUT) - number of bytes read eoi (OUT) - hit End of Information? should be set to TRUE or FALSE after each read.