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
A. The color of Hello World will be red
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
<!-- -- >
//
/* */
1.0
2.0
3.0
4.0
resolveExternal = false
resolve = false
resolvcExternal = false
resolveExternals = false
CDATA
<!-- -- >
//
/* */
<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"/>
<details>
<subject>
<roll>10</roll>
<name>Jayanta</name>
</subject> <subject>
<name>Bipul</name>
<roll>20</roll> </subject>
</details>
True
False
True
False
.append (newnode)
.appendChild(newnode)
.append(newnode, ,reference_node)
.appendChild(newnode,reference_node)
select
selectNodes
selectNode
selectedNodes
XPointer, XPath
XPath, XPointer
XPath, Xlink
XQuery, Xlink
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
True
False
True
False
&attribute name;
&attribute name
attribute name
attribute name;
.replace(nodename)
.replaceChild(nodename)
.replace(nodename, reference)
.replaceChild(nodename, reference)
True
False
apply-templates
select
Any one of the above
Both of the above
Order-by="name"
Order-by="+name"
Order-by="-name"
Order-by="name" desc
True
False
Copies whole structure
Copies only the current node
Copies all leaf nodes
None of the above
match=".[centre='MP']"
match=".[centre=MP]"
match=".[@centre='MP']"
match=.[@centre='MP']
Top down approach
Bottom up approach
Closed model
content="textOnly"
content="text"
content="#PCDATA"
content="DATA"
Bottom Up approach
Top Down approach
...............…/nodename[0]
..................…/nodename[1]
.................…/nodename[0].nodes
..................…/nodename[1].nodes
dataType
type
dt:type
data:type
True
False
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"/>