.............…/nodename/name[salary>10000]
............…/nodename.nodes/name[salary>10000]
.............…/nodename[salary>10000]/name
..............…/nodename[salary>10000].nodes/name
C. .............…/nodename[salary>10000]/name
Copies whole structure
Copies only the current node
Copies all leaf nodes
None of the above
CDATA
<!-- -- >
//
/* */
insert
insertAfter
AddNew
InsertBefore
.append (newnode)
.appendChild(newnode)
.append(newnode, ,reference_node)
.appendChild(newnode,reference_node)
<AttributeType="centre"/>
<AttributeType="centre">
<attribute type="centre">
<attribute type="centre"/>
True
False
<!ELEMENT name (PCDATA)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT name (#DATA)>
<!ELEMENT name (DATA)>
Name of object
Name of component
Name of class
None of the above
apply-templates
select
Any one of the above
Both of the above
.replace(nodename)
.replaceChild(nodename)
.replace(nodename, reference)
.replaceChild(nodename, reference)
match=".[centre='MP']"
match=".[centre=MP]"
match=".[@centre='MP']"
match=.[@centre='MP']
<?xml version="1.0"?>
<?xml version "1.0"?>
<xml version="1.0">
<xml version "1.0">
&attribute name;
&attribute name
attribute name
attribute name;
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"
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"/>
External, Inline
Internal, External
Internal, External, Inline
External only
<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"/>
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
content="textOnly"
content="text"
content="#PCDATA"
content="DATA"
1.0
2.0
3.0
4.0
True
False
True
False
DOCTYPE
SYSTEM
ELEMENT
#PCDATA
Bottom Up approach
Top Down approach
True
False
True
False
dt:type="list"
dt:type="enumeration"
dt:type="enum"
dt:type="values"