Skip Headers

Oracle® XML API Reference 10g Release 1 (10.1) Part No. B10789-01 |
| Contents

## Method Mapping between oraxml and xml Packages

Table 1-2 outlines the changes made to the methods of the new C API.

Table 1-2 Methods of the oraxml Package versus the xml Package

Package oraxml Method | Package xml Method(s)
--- | ---
    appendChild()
    XmlDomAppendChild()
    appendData()
    XmlDomAppendData()
    cloneNode()
    XmlDomCloneNode()
    createAttribute()
    XmlDomCreateAttr()
    createAttributeNS()
    XmlDomCreateAttrNS()
    createCDATASection()
    XmlDomCreateCDATA()
    createComment()
    XmlDomCreateComment()
    createDocument()
    XmlCreateDocument()
    createDocumentFragment()
    XmlDomCreateFragment()
    createDocumentNS()
    XmlCreateDocument()
    createDocumentType()
    XmlCreateDTD()
    createElement()
    XmlDomCreateElem()
    createElementNS()
    XmlDomCreateElemNS()
    createEntityReference()
    XmlDomCreateEntityRef()
    createProcessingInstruction()
    XmlDomCreatePI()
    createTextNode()
    XmlDomCreateText()
    deleteData()
    XmlDomDeleteData()
    freeElements()
    XmlDomFreeNodeList()
    getAttribute()
    XmlDomGetAttr()
    getAttributeIndex()
    XmlDomGetAttrs(), XmlDomGetNodeMapItem()
    getAttributeNode()
    XmlDomGetAttrNode()
    getAttributes()
    XmlDomGetAttrs()
    getAttrLocal()
    XmlDomGetAttrLocal(), XmlDomGetAttrLocalLen()
    getAttrName()
    XmlDomGetAttrName()
    getAttrNamespace()
    XmlDomGetAttrURI(), XmlDomGetAttrURILen()
    getAttrPrefix()
    XmlDomGetAttrPrefix()
    getAttrQualifiedName()
    XmlDomGetAttrName()
    getAttrSpecified()
    XmlDomGetAttrSpecified()
    getAttrValue()
    XmlDomGetAttrValue()
    getCharData()
    XmlDomGetCharData()
    getChildNode()
    XmlDomGetChildNode()
    getChildNodes()
    XmlDomGetChildNodes()
    getContentModel()
    XmlDomGetContentModel()
    getDocType()
    XmlDomGetDTD()
    getDocTypeEntities()
    XmlDomGetDTDEntities()
    getDocTypeName()
    XmlDomGetDTDName()
    getDocTypeNotations()
    XmlDomGetDTDNotations()
    getDocument()
| Obsolete; document returned by `XmlLoadDom` `xxx``()`calls
    getDocumentElement()
    XmlDomGetDoctElem()
    getElementByID()
    XmlDomGetElemByID()
    getElementsByTagName()
    XmlDomGetElemsByTag()
    getElementsByTagNameNS()
    XmlDomGetElemsByTag()
    getEncoding()
    XmlDomGetEncoding()
    getEntityNotation()
    XmlDomGetEntityNotation()
    getEntityPubID()
    XmlDomGetEntityPubID()
    getEntitySysID()
    XmlDomGetEntitySysID()
    getFirstChild()
    XmlDomGetFirstChild()
    getImplementation()
| Obsolete; use`xmlctx` instead of `DOMImplementation`
    getLastChild()
    XmlDomGetLastChild()
    getNamedItem()
    XmlDomGetNamedItem()
    getNextSibling()
    XmlDomGetNextSibling()
    getNodeLocal()
    XmlDomGetNodeLocal(), XmlDomGetNodeLocalLen()
    getNodeMapLength()
    XmlDomGetNodeMapLength()
    getNodeName()
    XmlDomGetNodeName(), XmlDomGetNodeNameLen()
    getNodeNameSpace()
    XmlDomGetNodeURI(), XmlDomGetNodeURILen()
    getNodePrefix()
    XmlDomGetNodePrefix()
    getNodeQualifiedName()
    XmlDomGetNodedName(), XmlDomGetNodedNameLen()
    getNodeType()
    XmlDomGetNodeType()
    getNodeValue()
    XmlDomGetNodeValue(), XmlDomGetNodeValueLen()
    getNotationPubID()
    XmlDomGetNotationPubID()
    getNotationSysID()
    XmlDomGetNotationSysID()
    getOwnerDocument()
    XmlDomGetOwnerDocument()
    getParentNode()
    XmlDomGetParentNode()
    getPIData()
    XmlDomGetPIData()
    getPITarget()
    XmlDomGetPITarget()
    getPreviousSibling()
    XmlDomGetPrevSibling()
    getTagName()
    XmlDomGetTagName()
    hasAttributes()
    XmlDomHasAttrs()
    hasChildNodes()
    XmlDomHasChildNodes()
    hasFeature()
    XmlHasFeature()
    importNode()
    XmlDomImportNode()
    insertBefore()
    XmlDomInsertBefore()
    insertData()
    XmlDomInsertData()
    isSingleChar()
    XmlIsSimple()
    isStandalone()
    XmlDomGetDecl()
    isUnicode()
    XmlDomIsUnicode()
    nodeValid()
    XmlDomValidate()
    normalize()
    XmlDomNormalize()
    numAttributes()
    XmlDomNumAttrs()
    numChildNodes()
    XmlDomNumChildNodes()
    prefixToURI()
    XmlDomPrefixToURI()
    printBuffer()
    XmlSaveDomBuffer()
    printBufferEnc()
    XmlSaveDomBuffer()
    printCallback()
    XmlSaveDomStream()
    printCallbackEnc()
    XmlSaveDomStream()
    printSize()
    XmlSaveDomSize()
    printSizeEnc()
    XmlSaveDomSize()
    printStream()
    XmlSaveDomStdio()
    printStreamEnc()
    XmlSaveDomStdio()
    removeAttribute()
    XmlDomRemoveAttr()
    removeAttributeNode()
    XmlDomRemoveAttrNode()
    removeChild()
    XmlDomRemoveChild()
    removeNamedItem()
    XmlDomRemoveNamedItem()
    replaceChild()
    XmlDomReplaceChild()
    replaceData()
    XmlDomReplaceData()
    saveString2()
    XmlDomSaveString2()
    saveString()
    XmlDomSaveString()
    setAttribute()
    XmlDomSetAttr()
    setAttributeNode()
    XmlDomSetAttrNode()
    setAttrValue()
    XmlDomSetAttrValue()
    setCharData()
    XmlDomSetCharData()
    setNamedItem()
    XmlDomSetNamedItem()
    setNodeValue()
    XmlDomSetNodeValue(), XmlDomSetNodeValueLen()
    setPIData()
    XmlDomSetPIData()
    splitText()
    XmlDomSplitText()
    substringData()
    XmlDomSubstringData()
    xmlaccess()
    XmlAccess()
    xmlinit()
    XmlCreate()
    xmlinitenc()
    XmlCreate()
    xmlLocation()
| TBD.
    xmlparse()
    XmlLoadDomURI()
    xmlparsebuf()
    XmlLoadDomBuffer()
    xmlparsedtd()
| Obsolete; use `XML_LOAD_FLAG_DTD_ONLY` flag in `XmlLoad` `XXX``()` calls.
    xmlparsefile()
    XmlLoadDomFile()
    xmlparsestream()
    XmlLoadDomStream()
    xmlterm()
    XmlDestroy()
    xmlwhere()
| TBD.
    xpevalxpathexpr()
    XmlXPathEval()
    xpfreexpathctx()
    XmlXPathDeleteCtx()
    xpgetbooleanval()
    XmlXPathGetObjectBoolean()
    xpgetfirstnsetelem()
    XmlXPathGetObjectNSetNum()
    xpgetnextnsetelem()
    XmlXPathGetObjectNSetNum()
    xpgetnsetelemnode()
    XmlXPathGetObjectNSetNum()
    xpgetnsetval()
    XmlXPathGetObjectNSetNum()
    xpgetnumval()
    XmlXPathGetObjectNumber()
    xpgetrtfragval()
    XmlXPathGetObjectFragment()
    xpgetstrval()
    XmlXPathGetObjectString()
    xpgetxpobjtyp()
    XmlXPathGetObjectType()
    xpmakexpathctx()
    XmlXPathCreateCtx()
    xpparsexpathexpr()
    XmlXPathParse()
    xslgetbaseuri()
    XmlXslGetBaseURI()
    xslgetoutputdomctx()
    XmlXslGetOutputDom()
    xslgetoutputsax()
| Unnecessary
    xslgetoutputstream()
| Unnecessary
    xslgetresultdocfrag()
    XmlXslGetOutputFragment()
    xslgettextparam()
    XmlXslGetTextParam()
    xslgetxslctx()
| Unnecessary
    xslinit()
    XmlXslCreateCtx()
    xslprocess()
    XmlXslProcess()
    xslprocessex()
    XmlXslProcess()
    xslprocessxml()
    XmlXslProcess()
    xslprocessxmldocfrag()
    XmlXslProcess()
    xslresetallparams()
    XmlXslResetAllParams()
    xslsetoutputdomctx()
    XmlXslSetOutputDom()
    xslsetoutputencoding()
    XmlXslSetOutputEncoding()
    xslsetoutputmethod()
    XmlXslSetOutputMethod()
    xslsetoutputsax()
    XmlXslSetOutputSax()
    xslsetoutputsaxctx()
    XmlXslSetOutputSax()
    xslsetoutputstream()
    XmlXslSetOutputStream()
    xslsettextparam()
    XmlXslSetTextParam()
    xslterm()
    XmlXslDeleteCtx()