<details>
<subject>
<roll>10</roll>
<name>Jayanta</name>
</subject> <subject>
<name>Bipul</name>
<roll>20</roll> </subject>
</details>
True
False
dt:dt
dt:type
data:type
dt:data:type
Top down approach
Bottom up approach
Closed model
<ElementType name="roll" content="textOnly" dt:type="int"/>
<ElementType name="roll" content="textOnly" dt:dt="int"/>
<element type="roll" content="textOnly" dt:type="int"/>
<element type="roll" content="textOnly" dt:type="int"/>
dataType
type
dt:type
data:type
XPointer, XPath
XPath, XPointer
XPath, Xlink
XQuery, Xlink
Copies whole structure
Copies only the current node
Copies all leaf nodes
None of the above
True
False
<?xml version="1.0"?>
<?xml version "1.0"?>
<xml version="1.0">
<xml version "1.0">
.............…/nodename/name[salary>10000]
............…/nodename.nodes/name[salary>10000]
.............…/nodename[salary>10000]/name
..............…/nodename[salary>10000].nodes/name
.append (newnode)
.appendChild(newnode)
.append(newnode, ,reference_node)
.appendChild(newnode,reference_node)
...............…/nodename[0]
..................…/nodename[1]
.................…/nodename[0].nodes
..................…/nodename[1].nodes
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
True
False
Name of object
Name of component
Name of class
None of the above
match=".[centre='MP']"
match=".[centre=MP]"
match=".[@centre='MP']"
match=.[@centre='MP']
&attribute name;
&attribute name
attribute name
attribute name;
dt:type="list"
dt:type="enumeration"
dt:type="enum"
dt:type="values"
ATTLST
ATTLIST
ATTRIBUTE
LIST
apply-templates
select
Any one of the above
Both of the above
True
False
True
False
True
False
True
False
Order-by="name"
Order-by="+name"
Order-by="-name"
Order-by="name" desc
<!ELEMENT name (PCDATA)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT name (#DATA)>
<!ELEMENT name (DATA)>
True
False
CDATA
<!-- -- >
//
/* */
True
False
True
False