External, Inline
Internal, External
Internal, External, Inline
External only
C. Internal, External, Inline
Name of object
Name of component
Name of class
None of the above
CDATA
<!-- -- >
//
/* */
ATTLST
ATTLIST
ATTRIBUTE
LIST
<?xml version="1.0"?>
<?xml version "1.0"?>
<xml version="1.0">
<xml version "1.0">
DOCTYPE
SYSTEM
ELEMENT
#PCDATA
External, Inline
Internal, External
Internal, External, Inline
External only
True
False
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
...............…/nodename[0]
..................…/nodename[1]
.................…/nodename[0].nodes
..................…/nodename[1].nodes
<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"/>
True
False
Top down approach
Bottom up approach
Closed model
apply-templates
select
Any one of the above
Both of the above
.............…/nodename/name[salary>10000]
............…/nodename.nodes/name[salary>10000]
.............…/nodename[salary>10000]/name
..............…/nodename[salary>10000].nodes/name
resolveExternal = false
resolve = false
resolvcExternal = false
resolveExternals = false
True
False
True
False
True
False
1.0
2.0
3.0
4.0
&attribute name;
&attribute name
attribute name
attribute name;
<!ELEMENT name (PCDATA)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT name (#DATA)>
<!ELEMENT name (DATA)>
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"/>
Bottom Up approach
Top Down approach
True
False
insert
insertAfter
AddNew
InsertBefore
.removeChild(nodename)
.remove(nodename)
.removeChild(nodename, reference)
.remove(nodename, reference)
dt:dt
dt:type
data:type
dt:data:type
Order-by="name"
Order-by="+name"
Order-by="-name"
Order-by="name" desc
CDATA
<!-- -- >
//
/* */