dt:type="list"
dt:type="enumeration"
dt:type="enum"
dt:type="values"
True
False
CDATA
<!-- -- >
//
/* */
.removeChild(nodename)
.remove(nodename)
.removeChild(nodename, reference)
.remove(nodename, reference)
DOCTYPE
SYSTEM
ELEMENT
#PCDATA
<?xml version="1.0"?>
<?xml version "1.0"?>
<xml version="1.0">
<xml version "1.0">
The color of Hello World will be red
The color of Hello World will be blue
The color of Hello World will be the default color ie. Black
None of the above
<!ELEMENT name (PCDATA)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT name (#DATA)>
<!ELEMENT name (DATA)>
1.0
2.0
3.0
4.0
.replace(nodename)
.replaceChild(nodename)
.replace(nodename, reference)
.replaceChild(nodename, reference)
True
False
True
False
.............…/nodename/name[salary>10000]
............…/nodename.nodes/name[salary>10000]
.............…/nodename[salary>10000]/name
..............…/nodename[salary>10000].nodes/name
True
False
<AttributeType="centre"/>
<AttributeType="centre">
<attribute type="centre">
<attribute type="centre"/>
insert
insertAfter
AddNew
InsertBefore
Copies whole structure
Copies only the current node
Copies all leaf nodes
None of the above
match=".[centre='MP']"
match=".[centre=MP]"
match=".[@centre='MP']"
match=.[@centre='MP']
&attribute name;
&attribute name
attribute name
attribute name;
XPointer, XPath
XPath, XPointer
XPath, Xlink
XQuery, Xlink
dt:dt
dt:type
data:type
dt:data:type
True
False
True
False
<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">
content="textOnly"
content="text"
content="#PCDATA"
content="DATA"
Bottom Up approach
Top Down approach
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
<details>
<subject>
<roll>10</roll>
<name>Jayanta</name>
</subject> <subject>
<name>Bipul</name>
<roll>20</roll> </subject>
</details>
True
False
Name of object
Name of component
Name of class
None of the above
Top down approach
Bottom up approach
Closed model