Skip Headers

Oracle® XML API Reference
10g Release 1 (10.1)
Part No. B10789-01
  Go To Table Of Contents
Contents

Previous Next  

DocumentType Interface

Table 4-4 summarizes the methods of available through the DocumentType interface.

Table 4-4 Summary of DocumentType Methods; DOM Package

Function Summary
XmlDomGetDTDEntities
Get entities of DTD.
XmlDomGetDTDInternalSubset
Get DTD's internal subset.
XmlDomGetDTDName
Get name of DTD.
XmlDomGetDTDNotations
Get notations of DTD.
XmlDomGetDTDPubID
Get DTD's public ID.
XmlDomGetDTDSysID
Get DTD's system ID.


XmlDomGetDTDEntities

Returns a named node map of general entities defined by the DTD. If the node is not a DTD, or has no general entities, returns NULL.


Syntax
xmlnamedmap* XmlDomGetDTDEntities(
   xmlctx *xctx,
   xmldtdnode *dtd)

Parameter In/Out Description
xctx
IN
XML context
dtd
IN
DTD node


Returns

(xmlnamedmap *) named node map containing entities declared in DTD


XmlDomGetDTDInternalSubset

Returns the content model for an element. If there is no DTD, returns NULL.


Syntax
xmlnode* XmlDomGetDTDInternalSubset(
   xmlctx *xctx,
   xmldtdnode *dtd,
   oratext *name)

Parameter In/Out Description
xctx
IN
XML context
dtd
IN
DTD node
name
IN
name of Element; data encoding


Returns

(xmlnode *) content model subtree


XmlDomGetDTDName

Returns a DTD's name (specified immediately after the DOCTYPE keyword), or NULL if the node is not type DTD.


Syntax
oratext* XmlDomGetDTDName(
   xmlctx *xctx,
   xmldtdnode *dtd)

Parameter In/Out Description
xctx
IN
XML context
dtd
IN
DTD node


Returns

(oratext *) name of DTD


XmlDomGetDTDNotations

Returns named node map of notations declared by the DTD. If the node is not a DTD or has no Notations, returns NULL.


Syntax
xmlnamedmap* XmlDomGetDTDNotations(
   xmlctx *xctx,
   xmldtdnode *dtd)

Parameter In/Out Description
xctx
IN
XML context
dtd
IN
DTD node


Returns

(xmlnamedmap *) named node map containing notations declared in DTD


XmlDomGetDTDPubID

Returns a DTD's public identifier.


Syntax
oratext* XmlDomGetDTDPubID(
   xmlctx *xctx,
   xmldtdnode *dtd)

Parameter In/Out Description
xctx
IN
XML context
dtd
IN
DTD node


Returns

(oratext *) DTD's public identifier [data encoding]


XmlDomGetDTDSysID

Returns a DTD's system identifier.


Syntax
oratext* XmlDomGetDTDSysID(
   xmlctx *xctx,
   xmldtdnode *dtd)

Parameter In/Out Description
xctx
IN
XML context
dtd
IN
DTD node


Returns

(oratext *) DTD's system identifier [data encoding]