&attribute name;
&attribute name
attribute name
attribute name;
Top down approach
Bottom up approach
Closed model
<AttributeType="centre"/>
<AttributeType="centre">
<attribute type="centre">
<attribute type="centre"/>
True
False
dt:values="MintoPark CamacStreet Gariahat"
dt:values="Minto Park Camac Street Gariahat"
dt:values="Minto Park, CamacStreet, Gariahat"
dt:values="MintoPark | CamacStreet | Gariahat"
.append (newnode)
.appendChild(newnode)
.append(newnode, ,reference_node)
.appendChild(newnode,reference_node)
External, Inline
Internal, External
Internal, External, Inline
External only
.replace(nodename)
.replaceChild(nodename)
.replace(nodename, reference)
.replaceChild(nodename, reference)
<Element Type="roll" minOccurs="1" maxOccurs="1"/>
<element type="roll" minOccurs="1" maxOccurs="1"/>
<ElementType="roll" minOccurs="1" maxOccurs="1"/>
<Element Type="roll" minOccurs="1" maxOccurs="1"/>
dt:type="list"
dt:type="enumeration"
dt:type="enum"
dt:type="values"
<details>
<subject>
<roll>10</roll>
<name>Jayanta</name>
</subject> <subject>
<name>Bipul</name>
<roll>20</roll> </subject>
</details>
True
False
1.0
2.0
3.0
4.0
The GUI is embedded in the data
Searching for information in the data is tough
Data is tied to the logic and language of HTML
All of the above
True
False
XPointer, XPath
XPath, XPointer
XPath, Xlink
XQuery, Xlink
CDATA
<!-- -- >
//
/* */
CDATA
<!-- -- >
//
/* */
Name of object
Name of component
Name of class
None of the above
True
False
dataType
type
dt:type
data:type
Copies whole structure
Copies only the current node
Copies all leaf nodes
None of the above
<ATTLIST student centre (MintoPark|Gariahat|CamacStreet) "MintoPark">
<ATTLIST student (MintoPark|Gariahat|CamacStreet) "MintoPark">
<!ATTLIST student centre (MintoPark|Gariahat|CamacStreet) "MintoPark">
<!ATTLIST student (MintoPark|Gariahat|CamacStreet) "MintoPark">
select
selectNodes
selectNode
selectedNodes
insert
insertAfter
AddNew
InsertBefore
True
False
True
False
match=".[centre='MP']"
match=".[centre=MP]"
match=".[@centre='MP']"
match=.[@centre='MP']
True
False
.............…/nodename/name[salary>10000]
............…/nodename.nodes/name[salary>10000]
.............…/nodename[salary>10000]/name
..............…/nodename[salary>10000].nodes/name
Order-by="name"
Order-by="+name"
Order-by="-name"
Order-by="name" desc