<?xml version="1.0"?>
<?xml version "1.0"?>
<xml version="1.0">
<xml version "1.0">
A. <?xml version="1.0"?>
<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">
match=".[centre='MP']"
match=".[centre=MP]"
match=".[@centre='MP']"
match=.[@centre='MP']
dt:type="list"
dt:type="enumeration"
dt:type="enum"
dt:type="values"
True
False
Name of object
Name of component
Name of class
None of the above
<AttributeType="centre"/>
<AttributeType="centre">
<attribute type="centre">
<attribute type="centre"/>
True
False
True
False
Copies whole structure of the current node along with sub tags and data
Copies only the current node
Copies all leaf nodes
None of the above
dt:values="MintoPark CamacStreet Gariahat"
dt:values="Minto Park Camac Street Gariahat"
dt:values="Minto Park, CamacStreet, Gariahat"
dt:values="MintoPark | CamacStreet | Gariahat"
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
1.0
2.0
3.0
4.0
.append (newnode)
.appendChild(newnode)
.append(newnode, ,reference_node)
.appendChild(newnode,reference_node)
CDATA
<!-- -- >
//
/* */
<!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
True
False
.............…/nodename/name[salary>10000]
............…/nodename.nodes/name[salary>10000]
.............…/nodename[salary>10000]/name
..............…/nodename[salary>10000].nodes/name
resolveExternal = false
resolve = false
resolvcExternal = false
resolveExternals = 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"/>
XPointer, XPath
XPath, XPointer
XPath, Xlink
XQuery, Xlink
Bottom Up approach
Top Down approach
select
selectNodes
selectNode
selectedNodes
True
False
External, Inline
Internal, External
Internal, External, Inline
External only
True
False
apply-templates
select
Any one of the above
Both of the above
True
False
dataType
type
dt:type
data:type