libxmljs
Version:
libxml bindings for v8 javascript engine
1,167 lines (1,111 loc) • 691 kB
text/typescript
/**
* This file was auto-generated by swig2ts.js
*/
import { StructuredErrorCallback, GenericErrorCallback, FROM_BUFFER_ASYNC_TYPE } from "../types";
type attributeDeclSAXFunc = {}
type attributeSAXFunc = {}
type cdataBlockSAXFunc = {}
type charactersSAXFunc = {}
type commentSAXFunc = {}
type elementDeclSAXFunc = {}
type endDocumentSAXFunc = {}
type endElementNsSAX2Func = {}
type endElementSAXFunc = {}
type entityDeclSAXFunc = {}
type errorSAXFunc = {}
type externalSubsetSAXFunc = {}
type fatalErrorSAXFunc = {}
type getEntitySAXFunc = {}
type getParameterEntitySAXFunc = {}
type hasExternalSubsetSAXFunc = {}
type hasInternalSubsetSAXFunc = {}
export type htmlDocPtr = xmlDocPtr & {}
type htmlElemDesc = {}
export type htmlElemDescPtr = {
name: string, // q(const).char
startTag: string, // char
endTag: string, // char
saveEndTag: string, // char
empty: string, // char
depr: string, // char
dtd: string, // char
isinline: string, // char
desc: string, // q(const).char
subelts: string, // q(const).char
defaultsubelt: string, // q(const).char
attrs_opt: string, // q(const).char
attrs_depr: string, // q(const).char
attrs_req: string, // q(const).char
getCPtr: {
(): number,
}}
type htmlEntityDesc = {}
export type htmlEntityDescPtr = {
value: number, // unsigned int
name: string, // q(const).char
desc: string, // q(const).char
getCPtr: {
(): number,
}}
export type htmlNodePtr = {}
type htmlParserCtxt = {}
export type htmlParserCtxtPtr = {}
type htmlParserInput = {}
export type htmlParserInputPtr = {}
type htmlParserNodeInfo = {}
type htmlParserOption = {}
type htmlSAXHandler = {}
export type htmlSAXHandlerPtr = {}
type htmlStatus = {}
type ignorableWhitespaceSAXFunc = {}
type internalSubsetSAXFunc = {}
type isStandaloneSAXFunc = {}
type notationDeclSAXFunc = {}
type processingInstructionSAXFunc = {}
type referenceSAXFunc = {}
type resolveEntitySAXFunc = {}
type setDocumentLocatorSAXFunc = {}
type startDocumentSAXFunc = {}
type startElementNsSAX2Func = {}
type startElementSAXFunc = {}
type unparsedEntityDeclSAXFunc = {}
type warningSAXFunc = {}
type xlinkActuate = {}
type xlinkExtendedLinkFunk = {}
type xlinkExtendedLinkSetFunk = {}
type xlinkHRef = {}
type xlinkHandler = {}
export type xlinkHandlerPtr = {
simple: xlinkSimpleLinkFunk, // xlinkSimpleLinkFunk
extended: xlinkExtendedLinkFunk, // xlinkExtendedLinkFunk
set: xlinkExtendedLinkSetFunk, // xlinkExtendedLinkSetFunk
getCPtr: {
(): number,
}}
type xlinkNodeDetectFunc = {}
type xlinkRole = {}
type xlinkShow = {}
type xlinkSimpleLinkFunk = {}
type xlinkTitle = {}
type xlinkType = {}
type xmlAttr = {}
export type xmlAttrPtr = {
_private: any, // void
type: xmlElementType, // xmlElementType
name: string, // q(const).xmlChar
children: xmlNodePtr | null, // struct _xmlNode
last: xmlNodePtr | null, // struct _xmlNode
parent: xmlNodePtr | null, // struct _xmlNode
next: xmlAttrPtr | null, // struct _xmlAttr
prev: xmlAttrPtr | null, // struct _xmlAttr
doc: xmlDocPtr | null, // struct _xmlDoc
ns: xmlNsPtr | null, // xmlNs
atype: xmlAttributeType, // xmlAttributeType
psvi: any, // void
getCPtr: {
(): number,
}}
type xmlAttribute = {}
type xmlAttributeDefault = {}
export type xmlAttributePtr = {
_private: any, // void
type: xmlElementType, // xmlElementType
name: string, // q(const).xmlChar
children: xmlNodePtr | null, // _xmlNode
last: xmlNodePtr | null, // _xmlNode
parent: xmlDtdPtr | null, // _xmlDtd
next: xmlNodePtr | null, // _xmlNode
prev: xmlNodePtr | null, // _xmlNode
doc: xmlDocPtr | null, // _xmlDoc
nexth: xmlAttributePtr, // _xmlAttribute
atype: xmlAttributeType, // xmlAttributeType
def: xmlAttributeDefault, // xmlAttributeDefault
defaultValue: string, // q(const).xmlChar
tree: xmlEnumerationPtr, // xmlEnumerationPtr
prefix: string, // q(const).xmlChar
elem: string, // q(const).xmlChar
getCPtr: {
(): number,
}}
type xmlAttributeTable = {}
export type xmlAttributeTablePtr = {}
type xmlAttributeType = {}
type xmlAutomata = {}
export type xmlAutomataPtr = {}
type xmlAutomataState = {}
export type xmlAutomataStatePtr = {}
type xmlBuf = {}
export type xmlBufPtr = {}
type xmlBuffer = {}
type xmlBufferAllocationScheme = {}
export type xmlBufferPtr = {
content: string, // xmlChar
use: number, // unsigned int
size: number, // unsigned int
alloc: xmlBufferAllocationScheme, // xmlBufferAllocationScheme
contentIO: string, // xmlChar
getCPtr: {
(): number,
}}
type xmlCatalog = {}
type xmlCatalogAllow = {}
type xmlCatalogPrefer = {}
export type xmlCatalogPtr = {}
type xmlChLRange = {}
export type xmlChLRangePtr = {
low: number, // unsigned int
high: number, // unsigned int
getCPtr: {
(): number,
}}
type xmlChRangeGroup = {}
export type xmlChRangeGroupPtr = {
nbShortRange: number, // int
nbLongRange: number, // int
shortRange: xmlChSRange, // q(const).xmlChSRange
longRange: xmlChLRange, // q(const).xmlChLRange
getCPtr: {
(): number,
}}
type xmlChSRange = {}
export type xmlChSRangePtr = {
low: number, // unsigned short
high: number, // unsigned short
getCPtr: {
(): number,
}}
type xmlChar = {}
type xmlCharEncoding = {}
type xmlCharEncodingHandler = {}
export type xmlCharEncodingHandlerPtr = {
name: string, // char
input: xmlCharEncodingInputFunc, // xmlCharEncodingInputFunc
output: xmlCharEncodingOutputFunc, // xmlCharEncodingOutputFunc
getCPtr: {
(): number,
}}
type xmlCharEncodingInputFunc = {}
type xmlCharEncodingOutputFunc = {}
type xmlDOMWrapAcquireNsFunction = {}
type xmlDOMWrapCtxt = {}
export type xmlDOMWrapCtxtPtr = {
_private: any, // void
type: number, // int
namespaceMap: any, // void
getNsForNodeFunc: xmlDOMWrapAcquireNsFunction, // xmlDOMWrapAcquireNsFunction
getCPtr: {
(): number,
}}
type xmlDeregisterNodeFunc = {}
type xmlDict = {}
export type xmlDictPtr = {}
type xmlDoc = {}
type xmlDocProperties = {}
export type xmlDocPtr = {
_private: any, // void
type: xmlElementType, // xmlElementType
name: string, // char
children: xmlNodePtr | null, // struct _xmlNode
last: xmlNodePtr | null, // struct _xmlNode
parent: xmlNodePtr | null, // struct _xmlNode
next: xmlNodePtr | null, // struct _xmlNode
prev: xmlNodePtr | null, // struct _xmlNode
doc: xmlDocPtr | null, // struct _xmlDoc
compression: number, // int
standalone: number, // int
intSubset: xmlDtdPtr | null, // struct _xmlDtd
extSubset: xmlDtdPtr | null, // struct _xmlDtd
oldNs: xmlNsPtr | null, // struct _xmlNs
version: string, // q(const).xmlChar
encoding: string, // q(const).xmlChar
ids: any, // void
refs: any, // void
URL: string, // q(const).xmlChar
charset: number, // int
dict: xmlDictPtr, // struct _xmlDict
psvi: any, // void
parseFlags: number, // int
properties: number, // int
getCPtr: {
(): number,
}}
type xmlDtd = {}
export type xmlDtdPtr = {
_private: any, // void
type: xmlElementType, // xmlElementType
name: string, // q(const).xmlChar
children: xmlNodePtr | null, // struct _xmlNode
last: xmlNodePtr | null, // struct _xmlNode
parent: xmlDocPtr | null, // struct _xmlDoc
next: xmlNodePtr | null, // struct _xmlNode
prev: xmlNodePtr | null, // struct _xmlNode
doc: xmlDocPtr | null, // struct _xmlDoc
notations: any, // void
elements: any, // void
attributes: any, // void
entities: any, // void
ExternalID: string, // q(const).xmlChar
SystemID: string, // q(const).xmlChar
pentities: any, // void
getCPtr: {
(): number,
}}
type xmlElement = {}
type xmlElementContent = {}
type xmlElementContentOccur = {}
export type xmlElementContentPtr = {
type: xmlElementContentType, // xmlElementContentType
ocur: xmlElementContentOccur, // xmlElementContentOccur
name: string, // q(const).xmlChar
c1: xmlElementContentPtr, // _xmlElementContent
c2: xmlElementContentPtr, // _xmlElementContent
parent: xmlElementContentPtr, // _xmlElementContent
prefix: string, // q(const).xmlChar
getCPtr: {
(): number,
}}
type xmlElementContentType = {}
export type xmlElementPtr = xmlNodePtr & {
_private: any, // void
type: xmlElementType, // xmlElementType
name: string, // q(const).xmlChar
children: xmlNodePtr | null, // struct _xmlNode
last: xmlNodePtr | null, // struct _xmlNode
parent: xmlDtdPtr | null, // struct _xmlDtd
next: xmlNodePtr | null, // struct _xmlNode
prev: xmlNodePtr | null, // struct _xmlNode
doc: xmlDocPtr | null, // struct _xmlDoc
etype: xmlElementTypeVal, // xmlElementTypeVal
content: xmlElementContentPtr, // xmlElementContentPtr
attributes: xmlAttributePtr, // xmlAttributePtr
prefix: string, // q(const).xmlChar
contModel: xmlRegexpPtr, // xmlRegexpPtr
getCPtr: {
(): number,
}}
type xmlElementTable = {}
export type xmlElementTablePtr = {}
type xmlElementType = {}
type xmlElementTypeVal = {}
type xmlEntitiesTable = {}
export type xmlEntitiesTablePtr = {}
type xmlEntity = {}
export type xmlEntityPtr = {
_private: any, // void
type: xmlElementType, // xmlElementType
name: string, // q(const).xmlChar
children: xmlNodePtr | null, // struct _xmlNode
last: xmlNodePtr | null, // struct _xmlNode
parent: xmlDtdPtr | null, // struct _xmlDtd
next: xmlNodePtr | null, // struct _xmlNode
prev: xmlNodePtr | null, // struct _xmlNode
doc: xmlDocPtr | null, // struct _xmlDoc
orig: string, // xmlChar
content: string, // xmlChar
length: number, // int
etype: xmlEntityType, // xmlEntityType
ExternalID: string, // q(const).xmlChar
SystemID: string, // q(const).xmlChar
nexte: xmlEntityPtr, // struct _xmlEntity
URI: string, // q(const).xmlChar
owner: number, // int
checked: number, // int
getCPtr: {
(): number,
}}
type xmlEntityReferenceFunc = {}
type xmlEntityType = {}
type xmlEnumeration = {}
export type xmlEnumerationPtr = {
next: xmlEnumerationPtr, // _xmlEnumeration
name: string, // q(const).xmlChar
getCPtr: {
(): number,
}}
type xmlError = {}
type xmlErrorDomain = {}
type xmlErrorLevel = {}
export type xmlErrorPtr = {
domain: number, // int
code: number, // int
message: string, // char
level: xmlErrorLevel, // xmlErrorLevel
file: string, // char
line: number, // int
str1: string, // char
str2: string, // char
str3: string, // char
int1: number, // int
int2: number, // int
ctxt: any, // void
node: any, // void
getCPtr: {
(): number,
}}
type xmlExpCtxt = {}
export type xmlExpCtxtPtr = {}
type xmlExpNode = {}
export type xmlExpNodePtr = {}
type xmlExpNodeType = {}
type xmlExternalEntityLoader = {}
type xmlFeature = {}
type xmlFreeFunc = {}
type xmlGenericErrorFunc = {}
type xmlGlobalState = {}
export type xmlGlobalStatePtr = {
xmlParserVersion: string, // q(const).char
xmlDefaultSAXLocator: xmlSAXLocator, // xmlSAXLocator
xmlDefaultSAXHandler: xmlSAXHandlerV1, // xmlSAXHandlerV1
docbDefaultSAXHandler: xmlSAXHandlerV1, // xmlSAXHandlerV1
htmlDefaultSAXHandler: xmlSAXHandlerV1, // xmlSAXHandlerV1
xmlFree: xmlFreeFunc, // xmlFreeFunc
xmlMalloc: xmlMallocFunc, // xmlMallocFunc
xmlMemStrdup: xmlStrdupFunc, // xmlStrdupFunc
xmlRealloc: xmlReallocFunc, // xmlReallocFunc
xmlGenericError: xmlGenericErrorFunc, // xmlGenericErrorFunc
xmlStructuredError: xmlStructuredErrorFunc, // xmlStructuredErrorFunc
xmlGenericErrorContext: any, // void
oldXMLWDcompatibility: number, // int
xmlBufferAllocScheme: xmlBufferAllocationScheme, // xmlBufferAllocationScheme
xmlDefaultBufferSize: number, // int
xmlSubstituteEntitiesDefaultValue: number, // int
xmlDoValidityCheckingDefaultValue: number, // int
xmlGetWarningsDefaultValue: number, // int
xmlKeepBlanksDefaultValue: number, // int
xmlLineNumbersDefaultValue: number, // int
xmlLoadExtDtdDefaultValue: number, // int
xmlParserDebugEntities: number, // int
xmlPedanticParserDefaultValue: number, // int
xmlSaveNoEmptyTags: number, // int
xmlIndentTreeOutput: number, // int
xmlTreeIndentString: string, // q(const).char
xmlRegisterNodeDefaultValue: xmlRegisterNodeFunc, // xmlRegisterNodeFunc
xmlDeregisterNodeDefaultValue: xmlDeregisterNodeFunc, // xmlDeregisterNodeFunc
xmlMallocAtomic: xmlMallocFunc, // xmlMallocFunc
xmlLastError: xmlError, // xmlError
xmlParserInputBufferCreateFilenameValue: xmlParserInputBufferCreateFilenameFunc, // xmlParserInputBufferCreateFilenameFunc
xmlOutputBufferCreateFilenameValue: xmlOutputBufferCreateFilenameFunc, // xmlOutputBufferCreateFilenameFunc
xmlStructuredErrorContext: any, // void
getCPtr: {
(): number,
}}
type xmlHashCopier = {}
type xmlHashDeallocator = {}
type xmlHashScanner = {}
type xmlHashScannerFull = {}
type xmlHashTable = {}
export type xmlHashTablePtr = {}
type xmlID = {}
export type xmlIDPtr = {
next: xmlIDPtr, // _xmlID
value: string, // q(const).xmlChar
attr: xmlAttrPtr | null, // xmlAttrPtr
name: string, // q(const).xmlChar
lineno: number, // int
doc: xmlDocPtr | null, // _xmlDoc
getCPtr: {
(): number,
}}
type xmlIDTable = {}
export type xmlIDTablePtr = {}
type xmlInputCloseCallback = {}
type xmlInputMatchCallback = {}
type xmlInputOpenCallback = {}
type xmlInputReadCallback = {}
type xmlLink = {}
export type xmlLinkPtr = {}
type xmlList = {}
type xmlListDataCompare = {}
type xmlListDeallocator = {}
export type xmlListPtr = {}
type xmlListWalker = {}
type xmlLocationSet = {}
export type xmlLocationSetPtr = {
locNr: number, // int
locMax: number, // int
locTab: xmlXPathObjectPtr, // xmlXPathObjectPtr
getCPtr: {
(): number,
}}
type xmlMallocFunc = {}
type xmlModule = {}
type xmlModuleOption = {}
export type xmlModulePtr = {}
type xmlMutex = {}
export type xmlMutexPtr = {}
type xmlNode = {}
export type xmlNodePtr = {
_private: any, // void
type: xmlElementType, // xmlElementType
name: string, // q(const).xmlChar
children: xmlNodePtr | null, // struct _xmlNode
last: xmlNodePtr | null, // struct _xmlNode
parent: xmlNodePtr | null, // struct _xmlNode
next: xmlNodePtr | null, // struct _xmlNode
prev: xmlNodePtr | null, // struct _xmlNode
doc: xmlDocPtr | null, // struct _xmlDoc
ns: xmlNsPtr | null, // xmlNs
content: string, // xmlChar
properties: xmlAttrPtr | null, // struct _xmlAttr
nsDef: xmlNsPtr | null, // xmlNs
psvi: any, // void
line: number, // unsigned short
extra: number, // unsigned short
getCPtr: {
(): number,
}}
type xmlNodeSet = {}
export type xmlNodeSetPtr = {
nodeNr: number, // int
nodeMax: number, // int
nodeTab: xmlNodePtr | null, // xmlNodePtr
getCPtr: {
(): number,
}}
type xmlNotation = {}
export type xmlNotationPtr = {
name: string, // q(const).xmlChar
PublicID: string, // q(const).xmlChar
SystemID: string, // q(const).xmlChar
getCPtr: {
(): number,
}}
type xmlNotationTable = {}
export type xmlNotationTablePtr = {}
type xmlNs = {}
export type xmlNsPtr = {
next: xmlNsPtr | null, // struct _xmlNs
type: xmlNsPtr | null, // xmlNsType
href: string, // q(const).xmlChar
prefix: string, // q(const).xmlChar
_private: any, // void
context: xmlDocPtr | null, // struct _xmlDoc
getCPtr: {
(): number,
}}
type xmlNsType = {}
type xmlOutputBuffer = {}
type xmlOutputBufferCreateFilenameFunc = {}
export type xmlOutputBufferPtr = {
context: any, // void
writecallback: xmlOutputWriteCallback, // xmlOutputWriteCallback
closecallback: xmlOutputCloseCallback, // xmlOutputCloseCallback
encoder: xmlCharEncodingHandlerPtr, // xmlCharEncodingHandlerPtr
buffer: xmlBufPtr, // xmlBufPtr
conv: xmlBufPtr, // xmlBufPtr
written: number, // int
error: number, // int
getCPtr: {
(): number,
}}
type xmlOutputCloseCallback = {}
type xmlOutputMatchCallback = {}
type xmlOutputOpenCallback = {}
type xmlOutputWriteCallback = {}
type xmlParserCtxt = {}
export type xmlParserCtxtPtr = {
sax: xmlSAXHandlerPtr, // _xmlSAXHandler
userData: any, // void
myDoc: xmlDocPtr | null, // xmlDocPtr
wellFormed: number, // int
replaceEntities: number, // int
version: string, // q(const).xmlChar
encoding: string, // q(const).xmlChar
standalone: number, // int
html: number, // int
input: xmlParserInputPtr, // xmlParserInputPtr
inputNr: number, // int
inputMax: number, // int
inputTab: xmlParserInputPtr, // xmlParserInputPtr
node: xmlNodePtr | null, // xmlNodePtr
nodeNr: number, // int
nodeMax: number, // int
nodeTab: xmlNodePtr | null, // xmlNodePtr
record_info: number, // int
node_seq: xmlParserNodeInfoSeq, // xmlParserNodeInfoSeq
errNo: number, // int
hasExternalSubset: number, // int
hasPErefs: number, // int
external: number, // int
valid: number, // int
validate: number, // int
vctxt: xmlValidCtxt, // xmlValidCtxt
instate: xmlParserInputState, // xmlParserInputState
token: number, // int
directory: string, // char
name: string, // q(const).xmlChar
nameNr: number, // int
nameMax: number, // int
nameTab: string, // q(const).xmlChar
nbChars: number, // long
checkIndex: number, // long
keepBlanks: number, // int
disableSAX: number, // int
inSubset: number, // int
intSubName: string, // q(const).xmlChar
extSubURI: string, // xmlChar
extSubSystem: string, // xmlChar
space: number, // int
spaceNr: number, // int
spaceMax: number, // int
spaceTab: number, // int
depth: number, // int
entity: xmlParserInputPtr, // xmlParserInputPtr
charset: number, // int
nodelen: number, // int
nodemem: number, // int
pedantic: number, // int
_private: any, // void
loadsubset: number, // int
linenumbers: number, // int
catalogs: any, // void
recovery: number, // int
progressive: number, // int
dict: xmlDictPtr, // xmlDictPtr
atts: string, // q(const).xmlChar
maxatts: number, // int
docdict: number, // int
str_xml: string, // q(const).xmlChar
str_xmlns: string, // q(const).xmlChar
str_xml_ns: string, // q(const).xmlChar
sax2: number, // int
nsNr: number, // int
nsMax: number, // int
nsTab: string, // q(const).xmlChar
attallocs: number, // int
pushTab: xmlStartTag, // xmlStartTag
attsDefault: xmlHashTablePtr, // xmlHashTablePtr
attsSpecial: xmlHashTablePtr, // xmlHashTablePtr
nsWellFormed: number, // int
options: number, // int
dictNames: number, // int
freeElemsNr: number, // int
freeElems: xmlNodePtr | null, // xmlNodePtr
freeAttrsNr: number, // int
freeAttrs: xmlAttrPtr | null, // xmlAttrPtr
lastError: xmlError, // xmlError
parseMode: xmlParserMode, // xmlParserMode
nbentities: number, // unsigned long
sizeentities: number, // unsigned long
nodeInfo: xmlParserNodeInfo, // xmlParserNodeInfo
nodeInfoNr: number, // int
nodeInfoMax: number, // int
nodeInfoTab: xmlParserNodeInfo, // xmlParserNodeInfo
input_id: number, // int
sizeentcopy: number, // unsigned long
getCPtr: {
(): number,
}}
type xmlParserErrors = {}
type xmlParserInput = {}
type xmlParserInputBuffer = {}
type xmlParserInputBufferCreateFilenameFunc = {}
export type xmlParserInputBufferPtr = {
context: any, // void
readcallback: xmlInputReadCallback, // xmlInputReadCallback
closecallback: xmlInputCloseCallback, // xmlInputCloseCallback
encoder: xmlCharEncodingHandlerPtr, // xmlCharEncodingHandlerPtr
buffer: xmlBufPtr, // xmlBufPtr
raw: xmlBufPtr, // xmlBufPtr
compressed: number, // int
error: number, // int
rawconsumed: number, // unsigned long
getCPtr: {
(): number,
}}
type xmlParserInputDeallocate = {}
export type xmlParserInputPtr = {
buf: xmlParserInputBufferPtr, // xmlParserInputBufferPtr
filename: string, // q(const).char
directory: string, // q(const).char
base: string, // q(const).xmlChar
cur: string, // q(const).xmlChar
end: string, // q(const).xmlChar
length: number, // int
line: number, // int
col: number, // int
consumed: number, // unsigned long
free: xmlParserInputDeallocate, // xmlParserInputDeallocate
encoding: string, // q(const).xmlChar
version: string, // q(const).xmlChar
standalone: number, // int
id: number, // int
getCPtr: {
(): number,
}}
type xmlParserInputState = {}
type xmlParserMode = {}
type xmlParserNodeInfo = {}
export type xmlParserNodeInfoPtr = {
node: undefined, // q(const)._xmlNode
begin_pos: number, // unsigned long
begin_line: number, // unsigned long
end_pos: number, // unsigned long
end_line: number, // unsigned long
getCPtr: {
(): number,
}}
type xmlParserNodeInfoSeq = {}
export type xmlParserNodeInfoSeqPtr = {
maximum: number, // unsigned long
length: number, // unsigned long
buffer: xmlParserNodeInfo, // xmlParserNodeInfo
getCPtr: {
(): number,
}}
type xmlParserOption = {}
type xmlParserSeverities = {}
type xmlPattern = {}
type xmlPatternFlags = {}
export type xmlPatternPtr = {}
type xmlRMutex = {}
export type xmlRMutexPtr = {}
type xmlReallocFunc = {}
type xmlRef = {}
export type xmlRefPtr = {
next: xmlRefPtr, // _xmlRef
value: string, // q(const).xmlChar
attr: xmlAttrPtr | null, // xmlAttrPtr
name: string, // q(const).xmlChar
lineno: number, // int
getCPtr: {
(): number,
}}
type xmlRefTable = {}
export type xmlRefTablePtr = {}
type xmlRegExecCallbacks = {}
type xmlRegExecCtxt = {}
export type xmlRegExecCtxtPtr = {}
type xmlRegexp = {}
export type xmlRegexpPtr = {}
type xmlRegisterNodeFunc = {}
type xmlRelaxNG = {}
type xmlRelaxNGParserCtxt = {}
export type xmlRelaxNGParserCtxtPtr = {}
type xmlRelaxNGParserFlag = {}
export type xmlRelaxNGPtr = {}
type xmlRelaxNGValidCtxt = {}
export type xmlRelaxNGValidCtxtPtr = {}
type xmlRelaxNGValidErr = {}
type xmlRelaxNGValidityErrorFunc = {}
type xmlRelaxNGValidityWarningFunc = {}
type xmlSAXHandler = {}
export type xmlSAXHandlerPtr = {
internalSubset: internalSubsetSAXFunc, // internalSubsetSAXFunc
isStandalone: isStandaloneSAXFunc, // isStandaloneSAXFunc
hasInternalSubset: hasInternalSubsetSAXFunc, // hasInternalSubsetSAXFunc
hasExternalSubset: hasExternalSubsetSAXFunc, // hasExternalSubsetSAXFunc
resolveEntity: resolveEntitySAXFunc, // resolveEntitySAXFunc
getEntity: getEntitySAXFunc, // getEntitySAXFunc
entityDecl: entityDeclSAXFunc, // entityDeclSAXFunc
notationDecl: notationDeclSAXFunc, // notationDeclSAXFunc
attributeDecl: attributeDeclSAXFunc, // attributeDeclSAXFunc
elementDecl: elementDeclSAXFunc, // elementDeclSAXFunc
unparsedEntityDecl: unparsedEntityDeclSAXFunc, // unparsedEntityDeclSAXFunc
setDocumentLocator: setDocumentLocatorSAXFunc, // setDocumentLocatorSAXFunc
startDocument: startDocumentSAXFunc, // startDocumentSAXFunc
endDocument: endDocumentSAXFunc, // endDocumentSAXFunc
startElement: startElementSAXFunc, // startElementSAXFunc
endElement: endElementSAXFunc, // endElementSAXFunc
reference: referenceSAXFunc, // referenceSAXFunc
characters: charactersSAXFunc, // charactersSAXFunc
ignorableWhitespace: ignorableWhitespaceSAXFunc, // ignorableWhitespaceSAXFunc
processingInstruction: processingInstructionSAXFunc, // processingInstructionSAXFunc
comment: commentSAXFunc, // commentSAXFunc
warning: warningSAXFunc, // warningSAXFunc
error: errorSAXFunc, // errorSAXFunc
fatalError: fatalErrorSAXFunc, // fatalErrorSAXFunc
getParameterEntity: getParameterEntitySAXFunc, // getParameterEntitySAXFunc
cdataBlock: cdataBlockSAXFunc, // cdataBlockSAXFunc
externalSubset: externalSubsetSAXFunc, // externalSubsetSAXFunc
initialized: number, // unsigned int
_private: any, // void
startElementNs: startElementNsSAX2Func, // startElementNsSAX2Func
endElementNs: endElementNsSAX2Func, // endElementNsSAX2Func
serror: xmlStructuredErrorFunc, // xmlStructuredErrorFunc
getCPtr: {
(): number,
}}
type xmlSAXHandlerV1 = {}
export type xmlSAXHandlerV1Ptr = {
internalSubset: internalSubsetSAXFunc, // internalSubsetSAXFunc
isStandalone: isStandaloneSAXFunc, // isStandaloneSAXFunc
hasInternalSubset: hasInternalSubsetSAXFunc, // hasInternalSubsetSAXFunc
hasExternalSubset: hasExternalSubsetSAXFunc, // hasExternalSubsetSAXFunc
resolveEntity: resolveEntitySAXFunc, // resolveEntitySAXFunc
getEntity: getEntitySAXFunc, // getEntitySAXFunc
entityDecl: entityDeclSAXFunc, // entityDeclSAXFunc
notationDecl: notationDeclSAXFunc, // notationDeclSAXFunc
attributeDecl: attributeDeclSAXFunc, // attributeDeclSAXFunc
elementDecl: elementDeclSAXFunc, // elementDeclSAXFunc
unparsedEntityDecl: unparsedEntityDeclSAXFunc, // unparsedEntityDeclSAXFunc
setDocumentLocator: setDocumentLocatorSAXFunc, // setDocumentLocatorSAXFunc
startDocument: startDocumentSAXFunc, // startDocumentSAXFunc
endDocument: endDocumentSAXFunc, // endDocumentSAXFunc
startElement: startElementSAXFunc, // startElementSAXFunc
endElement: endElementSAXFunc, // endElementSAXFunc
reference: referenceSAXFunc, // referenceSAXFunc
characters: charactersSAXFunc, // charactersSAXFunc
ignorableWhitespace: ignorableWhitespaceSAXFunc, // ignorableWhitespaceSAXFunc
processingInstruction: processingInstructionSAXFunc, // processingInstructionSAXFunc
comment: commentSAXFunc, // commentSAXFunc
warning: warningSAXFunc, // warningSAXFunc
error: errorSAXFunc, // errorSAXFunc
fatalError: fatalErrorSAXFunc, // fatalErrorSAXFunc
getParameterEntity: getParameterEntitySAXFunc, // getParameterEntitySAXFunc
cdataBlock: cdataBlockSAXFunc, // cdataBlockSAXFunc
externalSubset: externalSubsetSAXFunc, // externalSubsetSAXFunc
initialized: number, // unsigned int
getCPtr: {
(): number,
}}
type xmlSAXLocator = {}
export type xmlSAXLocatorPtr = {
getPublicId: string, // q(const).xmlChar
getSystemId: string, // q(const).xmlChar
getLineNumber: number, // int
getColumnNumber: number, // int
getCPtr: {
(): number,
}}
type xmlSaveCtxt = {}
export type xmlSaveCtxtPtr = {}
type xmlSaveOption = {}
type xmlSchema = {}
type xmlSchemaAnnot = {}
export type xmlSchemaAnnotPtr = {
next: xmlSchemaAnnotPtr, // _xmlSchemaAnnot
content: xmlNodePtr | null, // xmlNodePtr
getCPtr: {
(): number,
}}
type xmlSchemaAttribute = {}
type xmlSchemaAttributeGroup = {}
export type xmlSchemaAttributeGroupPtr = {
type: xmlSchemaTypeType, // xmlSchemaTypeType
next: xmlSchemaAttributePtr, // _xmlSchemaAttribute
name: string, // q(const).xmlChar
id: string, // q(const).xmlChar
ref: string, // q(const).xmlChar
refNs: string, // q(const).xmlChar
annot: xmlSchemaAnnotPtr, // xmlSchemaAnnotPtr
attributes: xmlSchemaAttributePtr, // xmlSchemaAttributePtr
node: xmlNodePtr | null, // xmlNodePtr
flags: number, // int
attributeWildcard: xmlSchemaWildcardPtr, // xmlSchemaWildcardPtr
refPrefix: string, // q(const).xmlChar
refItem: xmlSchemaAttributeGroupPtr, // xmlSchemaAttributeGroupPtr
targetNamespace: string, // q(const).xmlChar
attrUses: any, // void
getCPtr: {
(): number,
}}
type xmlSchemaAttributeLink = {}
export type xmlSchemaAttributeLinkPtr = {
next: xmlSchemaAttributeLinkPtr, // _xmlSchemaAttributeLink
attr: xmlSchemaAttributePtr, // _xmlSchemaAttribute
getCPtr: {
(): number,
}}
export type xmlSchemaAttributePtr = {
type: xmlSchemaTypeType, // xmlSchemaTypeType
next: xmlSchemaAttributePtr, // _xmlSchemaAttribute
name: string, // q(const).xmlChar
id: string, // q(const).xmlChar
ref: string, // q(const).xmlChar
refNs: string, // q(const).xmlChar
typeName: string, // q(const).xmlChar
typeNs: string, // q(const).xmlChar
annot: xmlSchemaAnnotPtr, // xmlSchemaAnnotPtr
base: xmlSchemaTypePtr, // xmlSchemaTypePtr
occurs: number, // int
defValue: string, // q(const).xmlChar
subtypes: xmlSchemaTypePtr, // xmlSchemaTypePtr
node: xmlNodePtr | null, // xmlNodePtr
targetNamespace: string, // q(const).xmlChar
flags: number, // int
refPrefix: string, // q(const).xmlChar
defVal: xmlSchemaValPtr, // xmlSchemaValPtr
refDecl: xmlSchemaAttributePtr, // xmlSchemaAttributePtr
getCPtr: {
(): number,
}}
type xmlSchemaContentType = {}
type xmlSchemaElement = {}
export type xmlSchemaElementPtr = {
type: xmlSchemaTypeType, // xmlSchemaTypeType
next: xmlSchemaTypePtr, // _xmlSchemaType
name: string, // q(const).xmlChar
id: string, // q(const).xmlChar
ref: string, // q(const).xmlChar
refNs: string, // q(const).xmlChar
annot: xmlSchemaAnnotPtr, // xmlSchemaAnnotPtr
subtypes: xmlSchemaTypePtr, // xmlSchemaTypePtr
attributes: xmlSchemaAttributePtr, // xmlSchemaAttributePtr
node: xmlNodePtr | null, // xmlNodePtr
minOccurs: number, // int
maxOccurs: number, // int
flags: number, // int
targetNamespace: string, // q(const).xmlChar
namedType: string, // q(const).xmlChar
namedTypeNs: string, // q(const).xmlChar
substGroup: string, // q(const).xmlChar
substGroupNs: string, // q(const).xmlChar
scope: string, // q(const).xmlChar
value: string, // q(const).xmlChar
refDecl: xmlSchemaElementPtr | null, // _xmlSchemaElement
contModel: xmlRegexpPtr, // xmlRegexpPtr
contentType: xmlSchemaContentType, // xmlSchemaContentType
refPrefix: string, // q(const).xmlChar
defVal: xmlSchemaValPtr, // xmlSchemaValPtr
idcs: any, // void
getCPtr: {
(): number,
}}
type xmlSchemaFacet = {}
type xmlSchemaFacetLink = {}
export type xmlSchemaFacetLinkPtr = {
next: xmlSchemaFacetLinkPtr, // _xmlSchemaFacetLink
facet: xmlSchemaFacetPtr, // xmlSchemaFacetPtr
getCPtr: {
(): number,
}}
export type xmlSchemaFacetPtr = {
type: xmlSchemaTypeType, // xmlSchemaTypeType
next: xmlSchemaFacetPtr, // _xmlSchemaFacet
value: string, // q(const).xmlChar
id: string, // q(const).xmlChar
annot: xmlSchemaAnnotPtr, // xmlSchemaAnnotPtr
node: xmlNodePtr | null, // xmlNodePtr
fixed: number, // int
whitespace: number, // int
val: xmlSchemaValPtr, // xmlSchemaValPtr
regexp: xmlRegexpPtr, // xmlRegexpPtr
getCPtr: {
(): number,
}}
type xmlSchemaNotation = {}
export type xmlSchemaNotationPtr = {
type: xmlSchemaTypeType, // xmlSchemaTypeType
name: string, // q(const).xmlChar
annot: xmlSchemaAnnotPtr, // xmlSchemaAnnotPtr
identifier: string, // q(const).xmlChar
targetNamespace: string, // q(const).xmlChar
getCPtr: {
(): number,
}}
type xmlSchemaParserCtxt = {}
export type xmlSchemaParserCtxtPtr = {}
export type xmlSchemaPtr = {
name: string, // q(const).xmlChar
targetNamespace: string, // q(const).xmlChar
version: string, // q(const).xmlChar
id: string, // q(const).xmlChar
doc: xmlDocPtr | null, // xmlDocPtr
annot: xmlSchemaAnnotPtr, // xmlSchemaAnnotPtr
flags: number, // int
typeDecl: xmlHashTablePtr, // xmlHashTablePtr
attrDecl: xmlHashTablePtr, // xmlHashTablePtr
attrgrpDecl: xmlHashTablePtr, // xmlHashTablePtr
elemDecl: xmlHashTablePtr, // xmlHashTablePtr
notaDecl: xmlHashTablePtr, // xmlHashTablePtr
schemasImports: xmlHashTablePtr, // xmlHashTablePtr
_private: any, // void
groupDecl: xmlHashTablePtr, // xmlHashTablePtr
dict: xmlDictPtr, // xmlDictPtr
includes: any, // void
preserve: number, // int
counter: number, // int
idcDef: xmlHashTablePtr, // xmlHashTablePtr
volatiles: any, // void
getCPtr: {
(): number,
}}
export type xmlSchemaSAXPlugPtr = {}
type xmlSchemaSAXPlugStruct = {}
type xmlSchemaType = {}
type xmlSchemaTypeLink = {}
export type xmlSchemaTypeLinkPtr = {
next: xmlSchemaTypeLinkPtr, // _xmlSchemaTypeLink
type: xmlSchemaTypePtr, // xmlSchemaTypePtr
getCPtr: {
(): number,
}}
export type xmlSchemaTypePtr = {
type: xmlSchemaTypeType, // xmlSchemaTypeType
next: xmlSchemaTypePtr, // _xmlSchemaType
name: string, // q(const).xmlChar
id: string, // q(const).xmlChar
ref: string, // q(const).xmlChar
refNs: string, // q(const).xmlChar
annot: xmlSchemaAnnotPtr, // xmlSchemaAnnotPtr
subtypes: xmlSchemaTypePtr, // xmlSchemaTypePtr
attributes: xmlSchemaAttributePtr, // xmlSchemaAttributePtr
node: xmlNodePtr | null, // xmlNodePtr
minOccurs: number, // int
maxOccurs: number, // int
flags: number, // int
contentType: xmlSchemaContentType, // xmlSchemaContentType
base: string, // q(const).xmlChar
baseNs: string, // q(const).xmlChar
baseType: xmlSchemaTypePtr, // xmlSchemaTypePtr
facets: xmlSchemaFacetPtr, // xmlSchemaFacetPtr
redef: xmlSchemaTypePtr, // _xmlSchemaType
recurse: number, // int
attributeUses: xmlSchemaAttributeLinkPtr, // xmlSchemaAttributeLinkPtr
attributeWildcard: xmlSchemaWildcardPtr, // xmlSchemaWildcardPtr
builtInType: number, // int
memberTypes: xmlSchemaTypeLinkPtr, // xmlSchemaTypeLinkPtr
facetSet: xmlSchemaFacetLinkPtr, // xmlSchemaFacetLinkPtr
refPrefix: string, // q(const).xmlChar
contentTypeDef: xmlSchemaTypePtr, // xmlSchemaTypePtr
contModel: xmlRegexpPtr, // xmlRegexpPtr
targetNamespace: string, // q(const).xmlChar
attrUses: any, // void
getCPtr: {
(): number,
}}
type xmlSchemaTypeType = {}
type xmlSchemaVal = {}
export type xmlSchemaValPtr = {}
type xmlSchemaValType = {}
type xmlSchemaValidCtxt = {}
export type xmlSchemaValidCtxtPtr = {}
type xmlSchemaValidError = {}
type xmlSchemaValidOption = {}
type xmlSchemaValidityErrorFunc = {}
type xmlSchemaValidityLocatorFunc = {}
type xmlSchemaValidityWarningFunc = {}
type xmlSchemaWhitespaceValueType = {}
type xmlSchemaWildcard = {}
type xmlSchemaWildcardNs = {}
export type xmlSchemaWildcardNsPtr = {
next: xmlSchemaWildcardNsPtr | null, // _xmlSchemaWildcardNs
value: string, // q(const).xmlChar
getCPtr: {
(): number,
}}
export type xmlSchemaWildcardPtr = {
type: xmlSchemaTypeType, // xmlSchemaTypeType
id: string, // q(const).xmlChar
annot: xmlSchemaAnnotPtr, // xmlSchemaAnnotPtr
node: xmlNodePtr | null, // xmlNodePtr
minOccurs: number, // int
maxOccurs: number, // int
processContents: number, // int
any: number, // int
nsSet: xmlSchemaWildcardNsPtr | null, // xmlSchemaWildcardNsPtr
negNsSet: xmlSchemaWildcardNsPtr | null, // xmlSchemaWildcardNsPtr
flags: number, // int
getCPtr: {
(): number,
}}
type xmlStartTag = {}
type xmlStrdupFunc = {}
type xmlStreamCtxt = {}
export type xmlStreamCtxtPtr = {}
type xmlStructuredErrorFunc = {}
type xmlURI = {}
export type xmlURIPtr = {
scheme: string, // char
opaque: string, // char
authority: string, // char
server: string, // char
user: string, // char
port: number, // int
path: string, // char
query: string, // char
fragment: string, // char
cleanup: number, // int
query_raw: string, // char
getCPtr: {
(): number,
}}
type xmlValidCtxt = {}
export type xmlValidCtxtPtr = {
userData: any, // void
error: xmlValidityErrorFunc, // xmlValidityErrorFunc
warning: xmlValidityWarningFunc, // xmlValidityWarningFunc
node: xmlNodePtr | null, // xmlNodePtr
nodeNr: number, // int
nodeMax: number, // int
nodeTab: xmlNodePtr | null, // xmlNodePtr
finishDtd: number, // unsigned int
doc: xmlDocPtr | null, // xmlDocPtr
valid: number, // int
vstate: xmlValidState, // xmlValidState
vstateNr: number, // int
vstateMax: number, // int
vstateTab: xmlValidState, // xmlValidState
am: xmlAutomataPtr, // xmlAutomataPtr
state: xmlAutomataStatePtr, // xmlAutomataStatePtr
getCPtr: {
(): number,
}}
type xmlValidState = {}
export type xmlValidStatePtr = {}
type xmlValidityErrorFunc = {}
type xmlValidityWarningFunc = {}
type xmlXPathAxis = {}
type xmlXPathAxisFunc = {}
export type xmlXPathAxisPtr = {
name: string, // q(const).xmlChar
func: xmlXPathAxisFunc, // xmlXPathAxisFunc
getCPtr: {
(): number,
}}
type xmlXPathCompExpr = {}
export type xmlXPathCompExprPtr = {}
type xmlXPathContext = {}
export type xmlXPathContextPtr = {
doc: xmlDocPtr | null, // xmlDocPtr
node: xmlNodePtr | null, // xmlNodePtr
nb_variables_unused: number, // int
max_variables_unused: number, // int
varHash: xmlHashTablePtr, // xmlHashTablePtr
nb_types: number, // int
max_types: number, // int
types: xmlXPathTypePtr, // xmlXPathTypePtr
nb_funcs_unused: number, // int
max_funcs_unused: number, // int
funcHash: xmlHashTablePtr, // xmlHashTablePtr
nb_axis: number, // int
max_axis: number, // int
axis: xmlXPathAxisPtr, // xmlXPathAxisPtr
namespaces: xmlNsPtr | null, // xmlNsPtr
nsNr: number, // int
user: any, // void
contextSize: number, // int
proximityPosition: number, // int
xptr: number, // int
here: xmlNodePtr | null, // xmlNodePtr
origin: xmlNodePtr | null, // xmlNodePtr
nsHash: xmlHashTablePtr, // xmlHashTablePtr
varLookupFunc: xmlXPathVariableLookupFunc, // xmlXPathVariableLookupFunc
varLookupData: any, // void
extra: any, // void
function: string, // q(const).xmlChar
functionURI: string, // q(const).xmlChar
funcLookupFunc: xmlXPathFuncLookupFunc, // xmlXPathFuncLookupFunc
funcLookupData: any, // void
tmpNsList: xmlNsPtr | null, // xmlNsPtr
tmpNsNr: number, // int
userData: any, // void
error: xmlStructuredErrorFunc, // xmlStructuredErrorFunc
lastError: xmlError, // xmlError
debugNode: xmlNodePtr | null, // xmlNodePtr
dict: xmlDictPtr, // xmlDictPtr
flags: number, // int
cache: any, // void
opLimit: number, // unsigned long
opCount: number, // unsigned long
depth: number, // int
getCPtr: {
(): number,
}}
type xmlXPathConvertFunc = {}
type xmlXPathError = {}
type xmlXPathEvalFunc = {}
type xmlXPathFuncLookupFunc = {}
export type xmlXPathFuncPtr = {}
type xmlXPathFunct =