XPointer, XPath
XPath, XPointer
XPath, Xlink
XQuery, Xlink
B. XPath, XPointer
<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"/>
.............…/nodename/name[salary>10000]
............…/nodename.nodes/name[salary>10000]
.............…/nodename[salary>10000]/name
..............…/nodename[salary>10000].nodes/name
...............…/nodename[0]
..................…/nodename[1]
.................…/nodename[0].nodes
..................…/nodename[1].nodes
ATTLST
ATTLIST
ATTRIBUTE
LIST
True
False
CDATA
<!-- -- >
//
/* */
&attribute name;
&attribute name
attribute name
attribute name;
CDATA
<!-- -- >
//
/* */
<?xml version="1.0"?>
<?xml version "1.0"?>
<xml version="1.0">
<xml version "1.0">
True
False
.removeChild(nodename)
.remove(nodename)
.removeChild(nodename, reference)
.remove(nodename, reference)
True
False
True
False
dt:dt
dt:type
data:type
dt:data:type
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
<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"/>
insert
insertAfter
AddNew
InsertBefore
Bottom Up approach
Top Down approach
True
False
True
False
<details>
<subject>
<roll>10</roll>
<name>Jayanta</name>
</subject> <subject>
<name>Bipul</name>
<roll>20</roll> </subject>
</details>
True
False
True
False
Copies whole structure
Copies only the current node
Copies all leaf nodes
None of the above
.append (newnode)
.appendChild(newnode)
.append(newnode, ,reference_node)
.appendChild(newnode,reference_node)
match=".[centre='MP']"
match=".[centre=MP]"
match=".[@centre='MP']"
match=.[@centre='MP']
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
dt:type="list"
dt:type="enumeration"
dt:type="enum"
dt:type="values"
Order-by="name"
Order-by="+name"
Order-by="-name"
Order-by="name" desc
select
selectNodes
selectNode
selectedNodes