dataType
type
dt:type
data:type
C. dt:type
True
False
<?xml version="1.0"?>
<?xml version "1.0"?>
<xml version="1.0">
<xml version "1.0">
dt:dt
dt:type
data:type
dt:data:type
...............…/nodename[0]
..................…/nodename[1]
.................…/nodename[0].nodes
..................…/nodename[1].nodes
Name of object
Name of component
Name of class
None of the above
True
False
External, Inline
Internal, External
Internal, External, Inline
External only
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"
dataType
type
dt:type
data:type
insert
insertAfter
AddNew
InsertBefore
Bottom Up approach
Top Down approach
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
.replace(nodename)
.replaceChild(nodename)
.replace(nodename, reference)
.replaceChild(nodename, reference)
select
selectNodes
selectNode
selectedNodes
.removeChild(nodename)
.remove(nodename)
.removeChild(nodename, reference)
.remove(nodename, reference)
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
resolveExternal = false
resolve = false
resolvcExternal = false
resolveExternals = false
True
False
<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"/>
Top down approach
Bottom up approach
Closed model
Copies whole structure
Copies only the current node
Copies all leaf nodes
None of the above
CDATA
<!-- -- >
//
/* */
True
False
.............…/nodename/name[salary>10000]
............…/nodename.nodes/name[salary>10000]
.............…/nodename[salary>10000]/name
..............…/nodename[salary>10000].nodes/name
DOCTYPE
SYSTEM
ELEMENT
#PCDATA
Order-by="name"
Order-by="+name"
Order-by="-name"
Order-by="name" desc
apply-templates
select
Any one of the above
Both of the above
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
content="textOnly"
content="text"
content="#PCDATA"
content="DATA"