content="textOnly"
content="text"
content="#PCDATA"
content="DATA"
A. content="textOnly"
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
Order-by="name"
Order-by="+name"
Order-by="-name"
Order-by="name" desc
match=".[centre='MP']"
match=".[centre=MP]"
match=".[@centre='MP']"
match=.[@centre='MP']
Name of object
Name of component
Name of class
None of the above
True
False
DOCTYPE
SYSTEM
ELEMENT
#PCDATA
insert
insertAfter
AddNew
InsertBefore
External, Inline
Internal, External
Internal, External, Inline
External only
True
False
True
False
dt:type="list"
dt:type="enumeration"
dt:type="enum"
dt:type="values"
Top down approach
Bottom up approach
Closed model
.replace(nodename)
.replaceChild(nodename)
.replace(nodename, reference)
.replaceChild(nodename, reference)
<?xml version="1.0"?>
<?xml version "1.0"?>
<xml version="1.0">
<xml version "1.0">
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
&attribute name;
&attribute name
attribute name
attribute name;
.............…/nodename/name[salary>10000]
............…/nodename.nodes/name[salary>10000]
.............…/nodename[salary>10000]/name
..............…/nodename[salary>10000].nodes/name
ATTLST
ATTLIST
ATTRIBUTE
LIST
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
<!ELEMENT name (PCDATA)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT name (#DATA)>
<!ELEMENT name (DATA)>
apply-templates
select
Any one of the above
Both of the above
CDATA
<!-- -- >
//
/* */
1.0
2.0
3.0
4.0
XPointer, XPath
XPath, XPointer
XPath, Xlink
XQuery, Xlink
True
False
dt:values="MintoPark CamacStreet Gariahat"
dt:values="Minto Park Camac Street Gariahat"
dt:values="Minto Park, CamacStreet, Gariahat"
dt:values="MintoPark | CamacStreet | Gariahat"
CDATA
<!-- -- >
//
/* */