CDATA
<!-- -- >
//
/* */
A. CDATA
apply-templates
select
Any one of the above
Both of the above
<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"/>
dataType
type
dt:type
data:type
.replace(nodename)
.replaceChild(nodename)
.replace(nodename, reference)
.replaceChild(nodename, reference)
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
<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"/>
<details>
<subject>
<roll>10</roll>
<name>Jayanta</name>
</subject> <subject>
<name>Bipul</name>
<roll>20</roll> </subject>
</details>
True
False
<AttributeType="centre"/>
<AttributeType="centre">
<attribute type="centre">
<attribute type="centre"/>
.............…/nodename/name[salary>10000]
............…/nodename.nodes/name[salary>10000]
.............…/nodename[salary>10000]/name
..............…/nodename[salary>10000].nodes/name
dt:dt
dt:type
data:type
dt:data:type
External, Inline
Internal, External
Internal, External, Inline
External only
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
match=".[centre='MP']"
match=".[centre=MP]"
match=".[@centre='MP']"
match=.[@centre='MP']
CDATA
<!-- -- >
//
/* */
insert
insertAfter
AddNew
InsertBefore
True
False
Bottom Up approach
Top Down approach
<!ELEMENT name (PCDATA)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT name (#DATA)>
<!ELEMENT name (DATA)>
True
False
.removeChild(nodename)
.remove(nodename)
.removeChild(nodename, reference)
.remove(nodename, reference)
Top down approach
Bottom up approach
Closed model
True
False
dt:type="list"
dt:type="enumeration"
dt:type="enum"
dt:type="values"
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
<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">
CDATA
<!-- -- >
//
/* */
DOCTYPE
SYSTEM
ELEMENT
#PCDATA
ATTLST
ATTLIST
ATTRIBUTE
LIST