I haven't touched on XML for a while. Recently I searched for XML data and found myself dizzy in Various XML concepts. It seems that I forgot the structure definition term of XML DOM. A good memory is better than a bad pen, but it is better to extract it.
Instance XML document content:
<? XML version = "1.0" encoding = "UTF-8" ?>
< Catalog Xmlns = "" >
< Book ID = "Bk101" >
< Author > Matthew </ Author >
< Title > XML developer </ Title >
< Genre > Computer </ Genre >
< Price > 44.95 </ Price >
< Publish_date > 2000-10-01 </ Publish_date >
< Description > After an inadvertant </ Description >
</ Book >
< Book ID = "Bk109" >
< Author > Kress, Peter </ Author >
< Title > Paradox lost </ Title >
< Genre > Science Fiction </ Genre >
< Price > 6.95 </ Price >
< Publish_date > 2000-11-02 </ Publish_date >
< Description > James salway discovers </ Description >
</ Book >
</ Catalog >
Corresponding concepts and terminologies:
Corresponding API interface (this is also called for the time being ):
< Book ID = "Bk109" > book ixmldomnode
all book >< span style =" color: #000000 "> ixmldomnodelist
author , title , price these are ixmldomelement
> author , title , price the value is ixmldomtext