.replace(nodename)
.replaceChild(nodename)
.replace(nodename, reference)
.replaceChild(nodename, reference)
<?xml version="1.0"?>
<?xml version "1.0"?>
<xml version="1.0">
<xml version "1.0">
CDATA
<!-- -- >
//
/* */
CDATA
<!-- -- >
//
/* */
match=".[centre='MP']"
match=".[centre=MP]"
match=".[@centre='MP']"
match=.[@centre='MP']
apply-templates
select
Any one of the above
Both of the above
True
False
dt:type="list"
dt:type="enumeration"
dt:type="enum"
dt:type="values"
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
.removeChild(nodename)
.remove(nodename)
.removeChild(nodename, reference)
.remove(nodename, reference)
Copies whole structure
Copies only the current node
Copies all leaf nodes
None of the above
True
False
dt:dt
dt:type
data:type
dt:data:type
External, Inline
Internal, External
Internal, External, Inline
External only
content="textOnly"
content="text"
content="#PCDATA"
content="DATA"
insert
insertAfter
AddNew
InsertBefore
Order-by="name"
Order-by="+name"
Order-by="-name"
Order-by="name" desc
<AttributeType="centre"/>
<AttributeType="centre">
<attribute type="centre">
<attribute type="centre"/>
dt:values="MintoPark CamacStreet Gariahat"
dt:values="Minto Park Camac Street Gariahat"
dt:values="Minto Park, CamacStreet, Gariahat"
dt:values="MintoPark | CamacStreet | Gariahat"
1.0
2.0
3.0
4.0
True
False
Top down approach
Bottom up approach
Closed model
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"/>
<!ELEMENT name (PCDATA)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT name (#DATA)>
<!ELEMENT name (DATA)>
True
False
True
False
DOCTYPE
SYSTEM
ELEMENT
#PCDATA
XPointer, XPath
XPath, XPointer
XPath, Xlink
XQuery, Xlink
True
False