match=".[centre='MP']"
match=".[centre=MP]"
match=".[@centre='MP']"
match=.[@centre='MP']
C. match=".[@centre='MP']"
apply-templates
select
Any one of the above
Both of the above
.............…/nodename/name[salary>10000]
............…/nodename.nodes/name[salary>10000]
.............…/nodename[salary>10000]/name
..............…/nodename[salary>10000].nodes/name
True
False
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
Copies whole structure
Copies only the current node
Copies all leaf nodes
None of the above
True
False
XPointer, XPath
XPath, XPointer
XPath, Xlink
XQuery, Xlink
dt:dt
dt:type
data:type
dt:data:type
dataType
type
dt:type
data:type
dt:values="MintoPark CamacStreet Gariahat"
dt:values="Minto Park Camac Street Gariahat"
dt:values="Minto Park, CamacStreet, Gariahat"
dt:values="MintoPark | CamacStreet | Gariahat"
Top down approach
Bottom up approach
Closed model
1.0
2.0
3.0
4.0
<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"/>
True
False
<!ELEMENT name (PCDATA)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT name (#DATA)>
<!ELEMENT name (DATA)>
True
False
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
CDATA
<!-- -- >
//
/* */
CDATA
<!-- -- >
//
/* */
resolveExternal = false
resolve = false
resolvcExternal = false
resolveExternals = false
.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">
dt:type="list"
dt:type="enumeration"
dt:type="enum"
dt:type="values"
.replace(nodename)
.replaceChild(nodename)
.replace(nodename, reference)
.replaceChild(nodename, reference)
True
False
&attribute name;
&attribute name
attribute name
attribute name;
True
False
match=".[centre='MP']"
match=".[centre=MP]"
match=".[@centre='MP']"
match=.[@centre='MP']