Sei sulla pagina 1di 78

D

l p

h
G

D
u

i d

e
e

l o
t o

e
X

r s
L

Second Edition

eith

ood

t a

l o

i n

- i n

i t h

- P

l o

( D

l o

t i o

- 5
L

v e

t a

D
1

X
e

l i c

6
h

l p

I S
1

0
c

p
9

u
n

r s

- 8

t .

I .

2
t
T

- 9

i d

( p
m

t o

r k

l a

) .

i r s t

e c o n

i t i o n

P
5

a r t

o f

t h

o r

t r a n

s y s t e m
p

o t o c o p

i s

y i n

I S

B
0

N
8

Del p h
m

en

t i o n

- 5
7

i s

a
ed

9
6

r eg

9
4

- 8
3

i s t er ed

a r e u

s ed

0 0

i t i o

i ( C

l p

b o

i t t e d

e r m

i p

i t h

t e

f i l e

) .

t e

f t w

r e

r i m

b y

b e
a n
i n

i s s i o n

a r e

o k

r o d

e a n

o r

o o d

b l i s h

i n

I n

c .

o t h

f r o m

r g

i t e

2 9

c e d
s ,

1
1

6
8

s t o r e d

e l e c t r o n

e r w
t h

. a u

o a d

r e p
y

g ,

e i t h

s . c o m

o
R

a r l e s t o n

a y

r e s e r v e d

e s t e r

b y

3 ,

o r d

t s

e d

r e c o r d

o r c h
C

r i g h

b l i s h
D

o k

s m

l l

o o d

o r t h

i t i o n

i t l e

k . )

i s e ,

t h

o r .

a u

i n

i c ,

r e t r i e v a l

i t h

o u

t a t es

e c h
t

a n

i c a l ,

r i t t e n

2 - 9

t r a d
f o r

em

a r k

i d en t i f i c a t i o n

o r l a n d
p u

r p o

S
s es

f t w
o

a r e C
n l y

a n d

o r p
m

o r a t i o n
a y

i n

e t r a d

t h
em

e U
a r k

n i t ed
s

t h

ei r

a n

r es p

o t h

ec t i v

er
e c o

c o u
m

n t r i es . O

p a n

i es .

t h

er

p r o d u

c t s

Contents
Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i
P

r ef a c e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i i i
W

h a t

o n

i s

o d

i n

t h

e n t i o

k ?

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i i i

n s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i i i

l o a d s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i i i
A

CU

end
E

S
D

m
m

T
T

T
T

e n t
u

r o c e s s i n
c u

o t a t i o
n t i t y

l E

n t i t y R

l D

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

l a s s

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

p
o

c e

e n
o

l a s s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

l a s s

t a t i o

p
n

e s s a g
A

o
e

i l - O

t h
a n

e m

e t h

e r

a r y

n f i g u

c c e s s

i n
g

l a t e

r o p

e r t i e s

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

a r s i n g

t h

o n s t r u

c t i n

e
g

i d

M
M

L
o

g
D

m
b

e n

t s

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

j e c t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
o c u

e l

7
0

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

i n

l i e n t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
H

Cl i ent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2
4

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

C. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

a t i o

3
7

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

i z ed

o s t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
g

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

e s t i n

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

r a t i o

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

t h

4
5

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

e n t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

o f t

l a s s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

e n t

l a s s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
e n t

2
2

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

l a s s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

l a s s

0
1

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

r a g

e l

6
0

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

c t i o

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

l e m

l a s s

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

stom
h e

l a s s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

l a s s

e n t

a r s e r

I m

a r y

e f e r e n

t h

el . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

y p

e n t F

j M

t i o

od

l a s s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

l a s s

c e p

g I n s t r u

n
C

c u

i x

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

e n t T

l N

c u

t i o

a t a

e n t

l E

o g

l a s s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

e c t i o

l P

i c

l a s s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

j ec t M

c e p

a p

l a s s
C

e M

a t a S
m

l a s s
d

t e

C
o

I n f o r m

i s t

e d N

l C

l C

g i n

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

h a r a c t e r D

I t

r r o r

e x

i n

l a s s

l C

r o p

end

Cu

e L

l T

a s e

l l
u

t t r i b

a t a b

A
S

l ec tr oni c

a i l

l e m

i x

o a d

l E
l A

a ss E
L

l P

ent O
t i o

a m

i n

end

l N

l O

o a d

l N

l D

l D

c e p

a r s e r E

l D

l N

oc u

E
l P

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

of t s D

i x

9
0
2

c c u

S
C

i i

ex

h r o u
u

l a t i n

l i e n t

I nd

a v i n

P
g

r o p

r o c e s s i n
h

a r y

t h

o n t e n t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

e r t i e s

r o

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
w

s e r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

0
1

r ef a
T

h i s
X

o k

i s

c a n

e s i g

s e d

i n

e d

a s

c o

a n

j u

i n t r o d u

c t i o

c t i o
i t h

t o

e l p

a n

a n

e x

a m

i n a t i o

i .

What is in the Book?


T

h e
F

e x
M

p
d
d

onv

end

i c es i n c l u

a d

t h

e r e

i s

s s i o

f o

l l o

i c r o s o f t
t e m

i r s t l y

l a r

e s c r i p

t i o

D
F

i s c u

l a t e .

a r t i c u

c u

i n a l l y

e d

f r o

t h a t

s e s

t o

s t o

e n

i n

i n

s
A

i t

a p

t h

g r a m

r o

k .
e .

t h

e s s a g

f o r

a s c a l ,

r i a t e

c o

p r o p

a c k a g

a r o u
t h

i s

f o r

f o r

f o r

a s e d

a n

c l i e n t

i t i o
C

f i l e

e d

t h

o k

f i r s t
m

r o g r a m

r a t i o

a s e d

a t i c a l l y

f r o

n f i g u

i z e d

t s ,

t h
M

a i l - o u
c o

f r o

o f t

i t s

c u

S
m

f o r

o c u

a u

I n t e r n

a t e r i a l
U

a s s

L
a

C
m

t o
e

n a l

t h
l e

i s

w
t h

i t i o
o f

i z a b

e r e

o f

t h

c l a s s

l o a d

s t o

i t h

n t e n t

e t .

entions
T

h e

a i n

i n t r o d u
s a m

l e s ,

a n d
m

t e x

c e d

u
T

t h

a n d

i t e m

h r o u

a t t e n t i o

o f

t h

o o

t o

o t h
t

t h

s e t

a p

e l p

i s

t e x

e r

o t a t i o

k
t i m

e n t e r e d

o u
h

f i r s t

c e s

a n d

n .

r e f e r e n

f i l e s ,

e n

f o r

n t r o

s e d

r o p

i n

a n d

r e s e n t e d

l s

a p

a n

o r t i o

e a r

i t e m

t h

n a l

f o

a s

d o

e m

d s ,

t h

italics,

c l a s s e s

v a r i o u
u

e a r

a r e

c o

n s

i n
p

i n
i n

a r k
i n

( l i k

e d

g s

s o

n a m

i s ) ,

h i l e

i t e m

e s

font.

t e r m

s .

o d

i r e c t o r i e s

h e

n a m

e s

o f

nt .

f o

a s

t h

h a s i z e d

r i f

a r e

fixed

sans- se

e a n

a r e

e i r

e t h

n t

t o

e s c r i b

r i n

e d

t h

e l o

nd

i ng

e m
w

t o

o u

NOTE
A

no

t e

i s i nf o

r m

at i o

n o

r o

ak

ab

l e

i nt e

r e

st

l o

r e

ar d

i ng

t h

su

r r o

asi e

t e

t .

TI P
A

t i p

A
A

od

R
w

t e

i s so

i ng

t o

t h

i ng

nt

i t h

r .

i s so

t h

at

ne

t o

aw

ar e

r e

ar d

i ng

t h

r e

i ng

t .

h e

c o

nl oad
d

s i t e :

s a m

h t t p

a r r a n g

e d

: / / h

l e s
o

c h a p

s e d

e . i p
t e r ,

r i m
w

i t h

i n

t h

s . c o

i s
m

. a u

t h

a d

o o

a r e

/ k b

i t i o n

a v a i l a b
o

o f

d / D
a

l e

e l p

s i n

l e

t h

i X
p

M
a c k

a c c o
.

t h a t

o w

a n
n

a g

s p

e c i f i c a t i o

y i n

e b

l o a d s

i n c l u

a r e

e s

a l l

t h

e .
T

a n d

t h

NI NG

ow

c o

ar ni ng

e D
T

h i s
i t s

e b

s i t e

r e l a t e d

t e c h

a l s o
n

o l o

p
g

r o

v i d

i e s .

e s
i n

k s

l i n
t o

k s

t o

e l p

t h
h

e
i

v a r i o u
r e s o u

r c e s

f o r

n s

a l s o

f o r
a p

e a r .

i i i

h e s e
A
D

o u

e n

e n

i x

i s

n
o P

e n

e r g

i n

s i n

f i e l d s

p
A

c u

s t o

a s

M
a
o

e n

T
p

i s

n u

a t c h

l e ,

a n

t h

o u
e r

i s

f i r s t

e d

c u

e n t

l e ,

i t

i s

t h a t

t o

i t h
s p

i t i o

j e c t

s t i l l

i n

t h i s

s e ,

e l .

a n

k .

l t h o u

f o r m

t h

t h i s

a s i s

i t e .

t e m

t h
D

g r a m

s e d

t h

f t

a v a i l a b

r o

a l l o

i n

s u

a t i o

f r o m

a r t n e r

i c h

e m

l a t e

f i r s t

e r f o r m

t h

t h

e m

f i g u

i n

e s

a s s

t e m

e d
d

o r

c o
b

i n c l u

l a c e .

e s s a g

e c i f y

a l s o
p

f o r

n s t r a t e s

a r e

o c u

h o
e n

D
o

i m
w

i n

l e m

t o
T

c u

p
e w

p
e

t h

e l e c t r o

l a t e

r a t i o

a n

i c

f i l e

a s

e s

f r o

a l
t h

s e n

v a l u

a c t u

r o c e s s i n

m
o
r

c l i e n t

l i a n t
f

t h
b

r o
w

i e - w

n
o u

r o c e s s

s t o

- c o

e n t a t i o

s e t
t h

h i .

i n

A
p

t o
t s

h
e l p

n s .

a n

i n
s h

s e c t i o

s e e
d

r i t t e n

n s t r a t i n
y

d
w

t h

e l l

q u

a i l - o u
i n g

a s

t s

e s e
t h

d a t a b a s e
e r y

s e d

t o

i c r o s o f t s

u s e d .

t e r s

f o r m

e r c i a l l y

L
h
t .

e e n

i n

a t i o

e x

d e m

c h a p
t h

t e x

i x

a m

r e s e n t s

l a t e ,
t h

m
M

a s e

c l i e n t

i e - w

c o

i n f o r m

e t w

e r s

d a t a b
M

e r

i z e d

b
L

s
m

k s

i x

a r s e r
p

t h e

l i n

c o

e r s

i t h i n
t h

i c

i n c l u

t e m

t a i n

i c e s

l o n

o w

e s s a g

o b

u r b
A

a p
p

f o r

w
h

L
e r

i t h

a r s e r
C

d
d

o c u
o

t h

c u

a p

p r o p

i s

t o

a u

e y

a r e

t o

m
d o

m
m

e n

t o

ndl

er

i n t o
a r e

n a v

a t i c a l l y
w

t s

e n t s

r i a t e

s e d

ontentH

s e r
e n

a t c h

l o a d

a
s e d

i g a t i o

r o c e s s

t h

n
e

i n t e r f a c e .
o p
e d .

e n

t h

2
A

e n

i c e s

i x

CUESofts Document
O

j ect M
C

t i m

i s

o f t
a s

n
T
e l p

f o

l l o

s e v
s o

e r a l

ideS

T
o f

n s

l l o

s :

3
.

5
6

l i c k

.
.

a c h
D

a l l

t h

o f
s p
e s e

t h

e d

T
p

e c i f i c a t i o

a d

v a n t a g

i l e d

i m

s p

e n

t e d

s h

e r y

n c t i o

h a n

w
e

i s e ,
5

a s

t h

t h

I n

m
e

e r

h a v

i n

i n

o u

n a t i v

s ,

o b

r o g r a m

t h i s
j e c t s

i t h

c l a s s e s

i n

c l o s e l y ,

a n

l y

d
g

o u

s a b

i l i t y .

a l u

t h

r e

a l t h
u

s t r i n

i n

i g u

t h

e s ,

- 1

U
C

e y

a l s o

h e y

o t

t h

o f t

h a v

d o
e

m
S

h a v

e x

e c t e d

e r a l ,

r e p

a l l

f t

e r c i a l

o u

c a n

a c k a g
o u

c l a s s e s

c l a s s e s

a p

n.

dp

a n

d u
p

l i b

t o

a p

r o p
t h

t h a t

i t

t o

a s

a n

a c q u

a v a i l a b

i n s t a l l

r i a t e
e

i n t o

r a r i e s

c t

i l e

t h

- b

i r e d

i t

l e

f o r

a c k a g

e r s i o
D

e l p

i s

a s

d i r e c t o r y .

e l p

h i

e n

t o
n p

e d

( w
c

p
m

Package

a c k
h

a c k a g
p

t h

e r e
e

collecti on

i s
n

o u

i n s t a l l a t i o

e n t s

i n

pc) ,

( * . d

a n d

r o

s e

t o

t h

f i l e s .

t h

e r s i o
d

a c k a g

i a l o
e

a p

o f

g
p

a n

e l p

d
O

e a r

h i )
o n

t h

a n d

CU

t h
E

c l i c k
e

p
S

.
K

a c k a g

of t t a

e
i n

a l e t t e .
i s

c o
p

o u

t h
o

e n t

e c i f i c a t i o

t w
n

t y p
y

r o
m

e d

h a v

i n t o

c o

t t o n .

e r e

exm

f i l e
h

h e
p

o f

i n t o

a s

n a l i t y

d l e

r c e

a r e

e n

c o

s o u

e r e
g

f r o

b
d

i ni sh

s .
l e m

i r e c t l y

h i e r a r c h y

f u
u

h e

e c i f i c a t i o

a r e

a c e s ,

h a v

w
u

g .

c o

f i l e s

t h

l i c k

e l e c t

i a l o

c o

i n c r e a s e d
e s p

c l a s s
s p

j e c t s .
b

a t c h

e
1

f o r

e r w

S
C

o b

Component | Install Packages f r o

i r e c t o r y

t h
E

t h

c a n
i s m

e l

n a m

y o u

t h

t h

h a n

t h

e v

o f t

t h r o u

e l e c t

I f

a c k

t h

i n t e r f a c e s

n s

n p

h i .

t e d

e r .

e l p

el

e n

i t h

D
D

M
w

f o r

ing

e l p

o u

e ,

o r t

o w

e r s i o
f o

tr

o P

a b

l e m

a n d

t e n s i o

h e

u r b

e x

s u

n a t i v

a c k a g
t h

i m

o r r y

a r s e r
w

o f

t o

a l s o

s e t
e

h e
h

t h

e e d

t h a t

h a s

od

e s c r i b

a r e

n o t e d

e a r

i n

t h

e d

i n

a s
X

f u

t h
l

e y
b

r t h

a r e
M

e r

e t a i l

e n c o u

odel

e l o

n t e r e d .
i t .

.
U

D
n

i f f e r e n
l e s s

o t h

c e s
e r w

f r o
i s e

m
n

t h

o t e d ,

4
A

e n

Figure A- 1

i c e s

j e

e C

f t

l a

iera

rc

t i o

l D

l N

am

l N

l P

ar se

t i o

r E

r r o

nt

r si st e

I m

l e

ne
T

l O

l P

ar se

nt

j M

nt at i o

l N

ap

l A

t t r i b

l C

t e

ar ac

t e

r D

l C

l T

at a

l D

nt

l D

nt F

r ag

l D

nt T

l E

l e

l E

nt i t y

l E

nt i t y

l N

l P

r o

i st

l C

at aS

nt

nt

t at i o

nt

f e

r e

nc

ssi ng

I nst r u

t i o

t i o

e n
p

ep

e r a l

a c k a g
D

O
p
L

is

st

ct

od

e:

r o p
u

op

c o

a n

o u

l d
C

h i s
n

o f

x c

- o

t h

r i n
E

N
I n

c W
e

s i n

t io

oC

od

teC

y p

i z

t r i n

i e

r a

r o
a

i n

o u

i n
T

erro

r c

es

t F

t a

t S

I n

s t E

l l o

d
o

i f i c
u

I n

e l

i s t i n

c o

i t h i n

t o

- 1

t h

) .

e n

o l l o

o t e

i n

i c h

o f t

t h

t y p

t E

r r o
d

l l o

s e

t t r i b

l i d

r a

tionC

M
F

t y p

t h

ode)

e s e

r i n g

e s c r i b

e d

e l o

i n

t h

e x

c e p

i t s

t y p
t i o

n s

o f

e r r o r

o u

r s e l f ,

r o c e s s i n

g .

ode;

o u

a r e

a s s i n

d u

j e c t

o f

c a n

r o b

l e m

s e e ,

a r o s e .

t h

e s e

t i v

t o

f o

l l o

I t s
w

v a l u

t h

t h

i s

r r

r r

r r

o
h

r r

r r

i n

i s

f i t

r t e

t h

i n

s o

i s

t e

r e

t e

i d
e

r e

t r i n

i t

g
e

.
s

s e

c
d

( u

i s

l l y

s e

t a

i n

i n

r ) .

i f i e

t a
g

f o

t h

.
t o

i f i e

m
d

o
n

i f y

a
c

r e

- o

l y

f o

o
n

i n

t h

i s

t .
t i o

t t r i b
i n

r t e

r a

t i n

c
o

s e

n
a

x
a

f r o

t e

i n

s p

i s

r t

s i z

s p

t t e

l i d
c

i s
p

a
l

t a
p

v
a

.
e

i n

o
.

l o

t e
o

t e

c r e a t e

e
n

r r

r t e

ep

t i o

h a t
A

i n

r r

l l o

i n

t i o

xc

ea

w
.

e)

tion o

c e p

e
r

od

e;

o t

t h

r r

r r

- 1

ea

i s
c

r o c e s s i n

ep

ode

s u

od

l d

j e c t

r r

e x

o u

l e

e r i c

xc

i c a t e s

a b

r r

i z

e w

tionC

e r t y

r a i s e d

ep

r o p
w

ode:

S
h

l i d

( s e e
m

t io

ad

s u

n .

r c

n u

ep

i l l e
c

l e

T
oC

t h o s e
xc

s h

e r a t e s

i c a l l y

l y

o f

ode(

e n

t o
E

o d s

I n

e n

EExceptionC
e

b
c W

ex

e:
od

tions

a
e

o c u

D
ep

Error Code

xc

n l y

ep

e(

ea

o s e

od

c t o r

ode:

e c i f i c a t i o

l e A- 1

Exception)

e t h

r e a c t

r e a d

teC

n s t r u

ty

s p

f t s

tion

d u

EExceptionC

n t e r e d .

er

ep

a d d s

ea

c o u
u

tor

h i s

e r t i e s

tr

e n

o c c u

class(

i t

ons

C
:

a s

n ,

e T

co

h e

a r o s e .

g A- 1

li

i x

o t i f i e d

TDOMException
p

t h a t

e c i f i c a t i o

l e m

t in

e n

tion E

a r e

s p

r o b

e r r o r s

s p

d
u

t e
a

l i d

d
p

e
a

e
d

i f i e

e
l r e

r
a

d
r a

b
n

t e

t h

i m

y
a

f o
i s

t o
m

t h

p
l o

t h
i s

e
l e

n
e

j e

e
i n

n
g

c
t a

t o

i s

t i o
o

.
e

l e

r .
a

s s e

t o

t h

Appendices

TXmlParserError Exception
E

r r o r s

a r ising

f r o

t h

pa r sing

TXmlParserError ex

cept io

a b

a nd

o u

t h e

r ea so

XmlParser u
N

i s

li

i v

l e

l P

t h

st

rl,

ct

oU

r E

r r o
ep

t i o

t h

eParseError(oF

on

reat

oR

eason

eason

e:

rl:

st

ru

Bu

st

ent

a r e

) . Th

indica t ed

ese incl u

er r o r .

de f u

Th is

cl a ss

s p

t h r o u

r t h

er

det a il s

a ppea r s

in

t h

i n

t h

tio

i f i c

t i o

ct o r . Th

n.

it sel f
rop

ert

eason

e;

ad

ad

lePos;

eg

er
r

eg

er
r

ad

rl;

reat
oU

oR

cept io

eason

n du

t h

st

t ex

e,

oL

ePos:

eg

er;

ePos;

oFi

st

r ing

t h

ri

a nd y

o u

ds a r e l ist ed b

oL

t h is ex

nl y

o f

eason

t h

e,

it h

cept io

need t o

FR

oL

el o

ePos:

e pa r se pr o cess w

read

descr ipt io

et h

lePos,

ri

e pr o per t ies f o r

ese er r o r s,

eason

eParseError(

a l l

j ect s pr o per t ies a nd m

rl,

ex

oL

ad

r a ises t h

et r iev

ad

ePos:

new

e
e

lePos:

et er s set

r
r

st

lePos,

er

er;

il d a

st

eg

or

eg

pa r a m

class(Ex

on

i s

r se

A TXmlParserError o b
c

A- 2

co

po sit io

do cu

nit .

TXmlParserError
u

ist ing

E
r e

Listing A-2

f o r

o f

n ( see L

t h

is co

n. G

r espo

nst r u

ener a l l y

nd t o

t h

em

t h

e pa r ser

pr o b

l em

t h r o u

t h is

r ea d- o

nl y

e X

do

ent

t h

is

pr o per t y .
p

rop

ert

e:

Th is r ea d- o
w
p

rop

er e t h

ert

eg

er

pr o per t y

e er r o r

Th e

nl y

FL

r ns t h

e;

e l ine nu

er

in t h

cu

a s det ect ed.

ePos:

ch a r a ct er

read

r et u

eg

er

po sit io n

read

it h

in

FL

t h a t

ePos;

l ine

is

g iv

en

r ea d- o

nl y

is r ea d- o

nl y

do cu

ent

pr o per t y .
p

rop

ert

Fi

ind t h

lePos:

e o f f set

int o

t h

eg

er

e X

read

do

FFi

cu

lePos;

ent

a s a

l e w

it h

t h

pr o per t y .
p

rop

ert

rl:

Th is r ea d- o

st

nl y

ri

read

pr o per t y

FU

r et u

rl;

r ns t h

e so u

r ce na m

e o

t h

e X

in er r o r .

TXmlN

od
Al l
t h
L

e b

e C

no

des w

lass
it h

a sic f u

ist ing

A- 3

in t h

nct io
em

e D

na l it y
o

M
u

dies t h

st r u

sed b

is in t h

ct u
m

r e der iv
o

e C

st
U

o f
S

e f r o

t h
o f t

em

. Th
pa ck a g

co

e TXmlN
e.

n cl a ss t h a t
od

e cl a

pr o v

ss ( sh

ides
n in

Appendix

Listing A-3
TXmlN

od

ct

od

eI

od

eN

ame:

od

eTy

od

eV

ct

li

eg

eg

er;

eS

ri

alu

e:

st

et

od

ct

reat

st

ct

aseN

ame:

ld

od

es:

rst

ld

ast

ld

ev

elC

od

amesp

ac

ex

li

od

eI

od

eN

ame:

od

eS

od

eTy

od

eV

erD

Paren

Pref

Prev

ou

Tex

ce

ce

ct

ce

ct

et

ct

et

od

esB

ct

asA

ri

ct

asC

ld

ce

ct

ce

elease;

ce

emov

ct

emov

ct

ep

sing

f u

cept io

no

de. S
e cu

est

roy

ri

im

on

st

o
h

rop

ru

j ect

del

od

eM

ap

et

TXmlN

od

eL

st

TXmlN

od

e
r

e
e

ad

ad

et

ad

et

TXmlN

od

e
r

ad

eg

er

ad

od

ad

od

et
et

ev

elC

od

amesp

ac

G
eI

ex

e
w

eN

ame

ad

eg

er
r

ad

od

eTy

ad

od

eV

TXmlD

oc

men

ad

e:

TXmlN

od
ad

g
n

r
:

ad

men

st

ld

e
G

et

et
r

od

Tex

(oN

ew

eep

oolean

oc

men

eTy

ld

od

es;

ld

ld

ri

es;

e;
S

li

od

eI

od

eN

eS

ri

Ty

ame;
p

e;

e;

alu

od

eV

et

erD

oc

men

od

e;

li

ad

e;

od

alu

e;

;
G

et

Prev

ou

XmlD

oc

TXmlN

od

e;

TXmlN

od

e)

Ty

e:

eg

er)

TXmlN

od

eL

eg

er)

TXmlN

od

eL

st

TXmlN

od

e)

ad

sS

;
G

Paren

et

Pref

TXmlN
G

et
d

st

e:

rst

ast

C
i

Ty

st

F
F

men

ad
G

ad
ame;

st
g

ad

st

aseN

ad

et

men

;
C

i
e(b

eO

ld

erD

ld

od

esB

od

es:

oolean

od

es:

oolean

ef

eTy

od

e:

ew

e:

TXmlN

ld

od

oR

e)

od

e)

Tru

e:

e(w

Ty

od
p

e(w

ore(oN

er(oN

eA

od

(oN

TXmlN

ef
B

e)

ld

oolean

st

TXmlN

od

e;

ll;

eC

ld

eC

na l it y

(oR
ld

f r o

t h r o

ld

(oN

ew

t h

e b

ef

TXmlN

ld

oR

a sic no

f o r

ex

a m

ef

de w

pl e,

r n a n em

od

e)

TXmlN
:

is no t

pt ing

st r ing

od

TXmlN

en it

a t t em

pt y

:
ld

t o

o r
n

e;
od

e)

a ppl ica b

l e r esu

l t s in a n

a dd ch il d no

des t o

l if

no t

t h

ey

do

t ex

a ppl y

t
t o

de t y pe.

or

no t

ad

pl e pr o per t ies r et u

sert

reat

et h

a s o ne o f
t

ed no

ri

e a t t r ib
de

def ined o

n a l l

t y pes r et u

r n n

t h

TXmlN

es dir ect l y

od

is cl a ss

es:

des,

l.

su

TXmlN

t es o

a p co
no

o ds o f

e o

od

j ect

a r e det a il ed b

el o

e;

cr ea t e TXmlN

Access t h
na m

li

od

ier a r ch y
ert

amed

Th e pr o per t ies a nd m
c

ent

eN

lac

TXmlN

ef

st

st

st

en

no

n.

e:

st

eing

r r ent

tio

e:

sS

nct io

r a

o cu

od

sA

l a

f t s D

od

lon

e:

TXmlN

oc

orc

e:

e:

n b

oc

Ty

st

ri

es:

alu

XmlD

e;

e:

er;

st

st

l N

co

ex

t h

class

:
=

A:

no

nl y

amed

el em

. Th

ey

a r e o

nl y

sed w

it h

in t h

ri

e D

cl a sses.

de w

nt a ining
o

od

it h

t h

TXmlA

ent

no

eM

ap

read

is r ea d- o
ri

des ca n co

nl y
e

o b

FA

pr o per t y . I t
j ect s. Al t h

nt a in a t t r ib

es;

r et u
o u

r ns a

g h

it

t es. Al l

o t h

is
er

Appendices

rop

ert

e t h

pr ef ix
N

I n

t h r o u

ert

no

ld

do

r ns a

no

n t h r o u

ert

t h

t h

rop

t h

aseN

nl y

pr o per t y .

t h

l o

od

ld

eL

e do cu

r t

t h

st

ent

o r der ed no

edia t el y

ld

od

nl y

ame;

t h

e pa r t

t h

read

t r ee u

des,

pda t e t h

is pr o per t y

TXmlN

od

r et u

a f t er

a ny

na m

i s

espa ce

i v

ses t h

e m

read

od

r e,

Fi

pr o per t y . I t

ch a ng

a nd v

in t h

ld

e C

es t o

ice v

v a l id l ist ,

rst

ent r y

es;

nl y

a ny

ct u

r ns a

et

e f ir st

ld

t h a t

a in st r u
r et u

is r ea d- o

ea ning

st il l

r ns t h

FC

t h

er sa . I f

t h a t

l ist

ld

es l ist

od

ch il dr en.

TXmlN

od

r et u

e:

st

read

r ns t h

seq u

o u
t h

co u

r t h

e l a st

read

r et u

n o f

e seco

t h e f o u

ence o

e po sit io

de a t

ri

pr o per t y

a s a

ev

elC

ert

od

r o

amesp

na m

r ns

nu

t h

et

ent r y

t h

e no

nt ing

ast

ld

ld

in t h

e C

et

no

elC

od

e;

l o ca t io

ev

de s

er s sepa r a t ed b

de s a ncest o r s w

er e st a r t s a t

nd po sit io

po sit io

r t y

ac

is b

i s

n in t h

n in t h

st

ri

r t

e do

if

no

t h

cu

per io

it h

in t h

o ne) . F

e no
m

es l ist ,

od

o r

de a t

o r

t h

it h

in

ds. E
eir

ex

nu

er

pa r ent s l ist

a m

e f ir st

t h

a ch

pl e,
4

po sit io

f
is

n in t h

ent .

read

f o r

na m
s

mln

descr ipt o r

l a nk
g

e:

espa ce

decl a r ed t h r o u

t h

g h

il dr en,

elC

pr o per t y . I t

t h

et

no

s p

amesp

de

co

espa ce a ppl ies t o

pr ef ix

ed a t t r ib

i f i c

ac

t i o

e;

es
t h

f r o

e no

t h

de. N

is

a m

r ea d- o

nl y

espa ces a r e

t es.

E
e

ames

rop

ert

cu
t h
rop

er

co
o

t t r i b

ex

nv

a y

i f i c

t i o

t h

TXmlN

enience

f o l l o

od

eI

w
:

s p

f o

t h

i s

i v

t h

li

se t h is pr o per t y

t h a t

c
t e

od

ing
I

t o

no
t

pr o per t y ,

ne in it s pa r ent s l ist

er e is no
y

s p

a
I

r r ent

ert

aceU

Ano t h

et

E
L

Th e

de s na m

ne.
ev

de a t

is pr o per t y

r ea d- o

e no

no

im

ch

il dr en ( a l t h

t h

t i o

er e a r e no

ast

ier a r ch y

ch

read

e no

TXmlN

l ist

r epr esent s t h

enience pr o per t y

no

Th is

rst

il a r l y ,
l if

es:

e l ist

nv

im

rop

od

l iv

l if
i

ert

t h

Fi

i f i c

ert

rop

c
t e

ent r ies in it .

o r

e
u

de h a s no

Th is co

I n

ri

o f

is r ea d- o

h a s no
rop

st

pa r t

t h

s p

des in t h

t t r i b

v ing

r et u

localName a

rop

ame:

e l o ca l

t h

t h

aseN

et r iev

eg

t h
o f

is
ch

ne

et

ex

r et r iev

es

il dr en. Ag a in,

t h

li

a
n

FN

no de

a f t er

l is r et u

t h

er

e do

read

o u
cu

o
m

FN

od

n I D

ent

eI

f o r

it sel f .

ea ch

ri

no de,

od

eI

sepa r a t e f r o

r ned if

de.

def ine y

e def ined in t h

read

a ny

Appendix

rop

Nod

eI

ert

r o

f t s D

eN

i s

ame:

r t

ri

st

t h

o cu

e. S

ee Ta b

l e A- 2

ent

j ect

del

en b

FN

od

s p

eN

i f i c

ame

t h is pr o per t y . F
f o r

t h

e m

t i o

ri

o r

ea ning

so

FN

od

e no

t h

T
T

R
X

na

nd

l u

no

I B
T

_
T

ty

ode N

l e

ode V

( E

I O

t e

t t r i b

t e

I T

I T

t a

- s e

t i o

S
O

E
D

I N

I N

I O

r g

t i t y

i n

s t r u

t i o

rop

M
T

I O

ert

O
Y

od

rop

r ns t h

E
A

_
G

D
N

E
T

ri

nl y

Ty

e:

pr o per t y

st

ri

r et r iev

de t y pes f r o

u
e

n
n

e no

l e A- 3

t - f r a
o

t i o

et

t a

t y

e
x

t
i n

t
t e

t
e

o
n

f
t

od

eS

ri

de s t y pe a s a

a s t ex

l u
t e

read

es t h

Ta b

m
d

e no

eS

Ty

st r ing

e;

v a l u

e. I t

t .

E
Nod

eS

ert

od

j ect ,

a b

il it ies. Th

rop

ert
FN

od

a l l o

N
eV

et r iev
no

e p
p

nl y

o b

co r r espo

eTy

Th is r ea d- o

Th is r ea d- o
r et u

n
d

e
n

t e

c l u

v
t

n
T

r g

t e

t e

l u

t y

t i o

o
e

A
c

a sed

t e

t i t y

t a
O

t t r i b

s e
E

is is a

ame;

is pr o per t y

s t r i n
A

eN

des t h

e no de s t y pe.
:

read

pr edef ined v a l u
n t h

e o f

iv

A-2

r t y

de is g

ode T
L

e no

l e

t h

o
b

od

Th e na m

A:

od

e o r

r t y

it

t o

su
alu

er

t e

s i o

read

e sa f el y

ca st

ne o f

t h

ri

read

t o

FN

ident if ies t h

e is o

i s

eg

pr o per t y

e v a l u

eV

e:

ing

nding

alu

r o

t h

od

eTy

e t y pe o f
t o

t h a t

o se sh

s p

i f i c

t i o

e;

no

de r epr esent ed b

t y pe t o

t h is

a ccess it s a ddit io na l

n in Ta b

l e A- 3

a l o

ng side t h

cl a ss.
e:

st

FN

od

eV

alu

ri

e;

set

de t y pes do

t h

no t

e t ex
u

se t h

v a l u

e o f

t h

is pr o per t y ,

e no

de t h r o u

a s sh o

n in Ta b

t h is pr o per t y . M
l e A- 2

a ny

Appendices

l e

A-3

ode T
E

L
A

T
T

R
T
A

I T

I T

I O

ert

et

ert

rop

ert

pr ef ix
rop

ert
G

et

rop

N
B

s p

men
t

oc

X
X

t i t y

n
r o

l C

l N

men

t i o

f e

e
m

n
e

t i o

I n

t T

t F

r a

s t r u

t i o

t
t

r e

t a

s s i n

l D

c
m

t e

t a

t i t y

l E

t
a

l P

n
u

l D

l D

n
n

e
g

read

r ef er ence t o

TXmlD

l E
m

X
X

t t r i b

l C

m
X

l e

Cl a

t h is

r ea d- o

t h

e do cu

nl y

ent

pr o per t y .

t h a t
F

cr ea t ed t h

o r

do cu

em

ent

no

ich

des

is

t h

is

od

e:

t h

e no

f r a g

ent

t h

TXmlN

od

st r u

ct u

r e,

de. Th
no

read

t h is r ea d- o

e pa r ent

des,

FParen

a s w

el l

read

is n
i

nl y

l f o

o t h

er

a s f o r

od

e;

pr o per t y
a t t r ib
no

t e,

l et s y
do cu

des t h a t

o u

h a v

r ea ch

ent ,

a nd

e no t

et

e t r ee.

st

ri

pr o per t y
f r o

t h

r et u

e no

r ns t h

et

Pref

e na m

de s na m

e,

espa ce pr ef ix
o r

a n em

pt y

t h

e pa r t

st r ing

if

t h

p t o

t h

er e is no

Prev
i

ou

ou

ert

et h

li

li

st

t h

v ia

TXmlN

read

de b

ef o r e t h is o ne in it s pa r ent s l ist . n

io u

s no

de.

read

f r o

t h is r ea d- o

od

e no

pr ev

ri

e t ex

n
;

es t h

er e is no

e a l l
er

r et r iev

t h

Tex

et r iev

sS

sS

nl y

t h

et

is no

Tex

l is

de a nd it s descenda nt s co

nca t ena t ed

pr o per t y .

t h
e

l E
l A

Prev

men

nt a in a

r ned if

t o

I O

o f

r et u

oc
u

Th is pr o per t y

t i n

l.
i

n (

oc

Pref

l o

Th is r ea d- o nl y
co

en

l T

t h r o u

ent

erD

e pa r ent
m

een a dded t o

rop

Paren

do cu

E
E

nce pl a ced int o


t h

l e

r ns n

des co

r et u

erD

a v a il a b

no

Al l

I N

T
_

rop

E
G

l em

I O

D
I N

s.

E
E

D
S

ty

O
_

I m

_
T

N
p

I B

X
D

t h
c

i f i c

rop

ert

ex

t i o

t r a ct

a
t

d
X

mlD

ocu

men

p
t

r o

r t i e

r e

t e

s i o

t o

t h

XmlD

t h

e X

oc

men

descenda nt s f r o

f r a g
t h

st

ri

ent

is r ea d- o

t h a t
nl y

read

et

XmlD

co r r espo nds t o
pr o per t y .

oc

t h

men

is no

de a nd a l l

o f

it s

Appendix

roc

ed

re

Add a
co u

roc

ed

re

en

ent
C

a l so

lon

eir
du

ed

t o

t h

t o

t h

it

od

ceO

k i n

r t

no

e(

is

t h

ew

eO

in t h

se

a l l

j ect

del

t o

elease

en t h

e no

i f i c

decr em

ent

t h

de is cr ea t ed,

r e,

it

a nd

f r o

is f ir st

o f

ch

r em

il dr en. I f

t h

ed. Adding

il dr en inst ea d.
=

l t ing

e)

t i o

de s l ist

t h is m

Tru

et h
m

e)

et er

d,

TXmlN

incl u

def a u

l t

t h

is no

pa r ent

od

ding

v a l u

t h

it

a t t r ib
e D

t es

TD

a r e

e pr o cess st o ps

de a r e a l so

nt il

e;

a ny

es in t h

is False,

e descenda nt s o f

pl ica t e h a s no

od

is no

it s ch

pa r a m

t h

eep

s p

TXmlN

ct u

o f

oolean

t es r esu

t h

e st r u

ld

de t h r o u

e b

du

erD

er

t h

erD

oc

oc

men

e t h

ne do

ocu
i

et

od

et r iev

r t

Nod

cl o

is pl a ced b

ned u

a ck

nder

int o

t h

men

oN

od

pr o per t y
t

e sa m

cu

e a s t h

ent

t o

e:

f o r

e cu

a no t h

TXmlN

t h

r r ent

su

no

od

e)

ppl ied

no

de

a nd

de. Th is l et s y

o u

a l l

it s

t r a nsf er

er .

eL

or

e a

men

mp

ld

st

no

m
t

Nod

od

t h

esB

i s

t h

n
d

od

r t

t h

s p

i f i c

t i o

eTy

e(

Ty

e:

eg

er)

de l ist

co

nt a ining

a l l
sing

t h

e im

t h

e v a l u

edia t e ch il d no
es sh

des o f

n in Ta b

l e A- 3

iv

en

i t h

r e

ca l l ed w

e end o f

t y pe. Th e t y pes a r e specif ied u


O

ent

de.

t h

eep

t h

e,

oN

e no

e new

on

no

de a dds a l l

t h

is Tru

t o

TXmlN

e t r ee.

de t o

es. At t r ib

Forc

des f r o

or

i s

o cu

a t ica l l y

t h

ld

pl ica t ed. I f

re

et

f t s D

e
t

ent

descenda nt s t o

h ier a r ch y .

no

v a l u

e co py . Th
O

eN

er e. I f

nt

d is a u

i s

co py

t h

roc

de is a l r ea dy

t h

f r a g

r ea t e a
a nd t h

co u

e specif ied no

on

is a dded t o

t h

ppl ied no

do cu

et h

en it

ef

su

ef

nt . Th is m

Adds t h

r ef er ence

a g a in w
N

A:

eI

t h

o
t

f
er

on

im

et

at

TXmlN

t h

et

eL

il a r l y ,

ld

Nod

es

s p

Nod

i f i c

eT

t i o

l t h

r
o

et

Nod

t h

es

f u

Nod

c t i o

eT

s o

e m

e
h

t h
a

o
t

d
l i k

s
e

or

od

od
i

esB

st

od

eTy

e(

Ty

e:

eg

er)

t h is m

et h

d r et u

r ns a

l ist

o f

a l l

descenda nt s o f

t h

e specif ied

t y pe.
f

on

asA

Th is m

et h

False w
u

on

A co
t h

nv

e l ist

ri

o d r et u
en t h

asC

es:

r ns Tru

er e a r e no
ld

enience f u

od

es:

nct io

n,

a nd False w

oolean

e w

en t h

er e a r e ent r ies in t h

e a t t r ib

t es l ist

a nd

ne.
B

oolean

t h is r et u

en it

is em

r ns Tru
pt y .

e w

en t h

er e a r e ch il d no des in

Appendices

roc

ed

re

l a ce

it h
no

t h

sert

new

no

in t h is no

ef

oN

im

de s l ist

de is pl a ced a t

r em

ore(

de

o f

ch

t h e end o

ed. I nser t ing

ew

do

ld

edia t el y

il dr en. I f

t h

cu

oR

ef o r e
t h

ent

f r a g

od

e)

t h

ld

TXmlN

no

ent

de is n

de a l r ea dy

no

od

e)

specif ied r ef er ence

e r ef er ence no

e l ist . A new

ef

in t h

de a dds a l l

l,
i

t h

no

de

e new

e t r ee is f ir st

o f

it s ch

il dr en

inst ea d.
f

on

sA

Th is f u
no
F

de in a
o r

roc

e
I

ed

roc

ed w

w
T

h
X

i s

o f

t h

oolean

r r ent

no

e h ier a r ch

it s pa r ent

a nd a ny

r t

is dest r o

t h

e no

emov

ch

de a ppea r s a f t er

y ,

a nd False if

a nd a ny

il d no

t h

pr ev

io

s sib

t h e g iv

it

do

en

es no t .

l ing ,

it

is

des.

nt

f o r

s p

t h is no

ed. Be su

de a f t er

i s

eA

i f i c

t i o

a dding

r e t o
it

t o

de. W

ca l l

t h

en t h

t h is m

e co u

et h

d o

nt

r ea ch

nce y

es

o u

a r e

e t r ee.

r t

t h

s p

i f i c

t i o

ll;

ch il d no

et h
i

t h

emov

es t h

t h a t

e
O

l ing

e cu

des f r o

t h

e l ist

a nd dest r o

t h

e no

de o b

j ect s.

eC

de

em

ep

is

o d is f inish

od

i s

ld

oR

e specif ied no

no

on

lac

r et u

r t

ef

ld

de f r o

r ned.

t h

TXmlN

t h is no

Th e

o l d

no

s p

od

e)

sh o u

i f i c

de s l ist

de

t i o

TXmlN

l d

od

e;

ch

il dr en. A r ef er ence

r el ea sed

nce

t h

ed.
eC

ld

oN

ew

ld

oR

ef

ld

TXmlN

od

e)

e;

e t h

e specif ied r ef er ence no

nct io n r et u

r ns a

po int er

t o

de a nd inser t

t h

e no

de t h a t

t h

e new

is r em

no de in it s pl a ce.

ed.

l t h

or

t r a v er sa l

t h

e r ef er ence co u

t h

ll

on

Th e f u

j ect

eA

em

re

emov

TXmlN
e if

de is a f t er

sib

it h

TXmlN

e:

t h

e o b

el et e a l l

no

t h

ent

f inish

t o

od

r ns Tru

elease;

t h

eleas

ecr em

nex

er

re

ed

pl e,

z er o ,

oN

pr e- o r der

a m

er(

n r et u

ex

ef o r e a ny

nct io

s
M

i n

t h

c
L

l u
e

mali

i l e
mlD

omI

z
s

d
l

u
mp

o
p

e
or

S
e

s p

e
S

s e

o
l

i f i c

a
t

lemen

f t

r a

r o
a

k
e
n

i n

i s
at

c
p

t i o
a

ed
t

p
p

d
on

r t i e
a

c l a

r e
t h

d
s

t h
e

l i c
s s .

t e

e
X

l i n

or

mlE

t
w

l i c i t l y
n

mali

lemen

i t h

t h

a
e

c
t
H

s u

e
a
l a

as

s p

d
s s
F

a
i

C
u

s .

i n
eat

r t

M
p

U
e

i s s i n
or

S
e

ed

e
p

f r o

f t s
t h

t h

c
o

i t

t h

o
a

s .
e

t h

,
e

Appendix

TXmlN

od

eL

Th e

ist C

TXmlN

co

l l ect io

no

de,

od

n o

a s w

no

Listing A-4
TXmlN

od

li

ct

st

eL

st

ct

ce

u
f

u
p
f

en

XmlD

ce

elet

ce

Emp

ct

Ex

ct

ex

ce

sert

ct

ct

ce

ep

ce

ort

ru

no

rop

t h
f o

l l

t h

D
r

p
O
a

r o

M
n

eg

er

oc

men

st

(oN

od

j ect

del

ist ing

j ect

r et u

et

r ned b
od

po sit io

A- 4
y

t h

e*

enca psu
e C

et h

ld

l a t es

es pr o

od

ds. I t em

a n

s w

o r der ed

per t y

it h in t h

o f

e l ist

a r e

n.

l a

r a

tio

n.

ad

TXmlN

od

e)

ex

eg

er)

est

e(w

rc

(oN

od

e:

ov

et
e

ad

en
G

et

XmlD

oc

men

oolean

ex

ex

rc

est

ex

ri

e:

e(w
t

I
t

o b

st

ld

e nu

eg
:

eg

er;

er)

eg

eg

er;

st

er)
n

:
eg

od

e:

TXmlN

od

er)

B
oN

od

=
g

oN

eg

er

e indiv

cr ea t ed f o r

es pr o

od
I

n
e)

'

er;
TXmlN

oolean

'

od

e)

e;

e:

TXmlN

rd

od

er:

et h

e)

eg

o ds a r e sh

er

n b

el o

e;

a t ica l l y

I
od

j ect s pr o per t ies a nd m

reat

t o

TXmlN

(sA

(w

lac

e(w

en

an

eL

e:

e(w

em(w

L
i p

r t i e

ert

l a

e
t i n

t h

f r a g

roc

ed

ent
re

Add t h
roc

ed

eg

idu

roc

ed

re

o u

a s t h e r esu

l t

o f

q u

er y ,

o r

t h r o u

per t y .

er

read

ent r ies in t h
a l

it em

s w

s
.

l i s t ,

et

en

e l ist

it h

od

e(

t h r o u

index

es in t h

t h

ri

t h

f o
e

en

i f i c

r e

a
a

t h

el l - f o r m

t i o

t h is r ea d- o

e r a ng

et

e it em
ed

t h
d

od

e)

e end o f

ex

de f r o

des f r o

t h

t h

e l ist .

eg

e l ist .

er)

t h

e l ist .

a
h

i n

read

e no

r
c

r ns a l l

TXmlN

de t o

p
s p

e l ist .

e indica t ed no
t

no t

e
e

r et u

is

c
h

t h

st

e:

I t

de in t h

en no

Emp

el et es a l l

o
t i o

men

oN

elet

es t h

t h
a

pr o per t y

ent .

e
i f i c

t y pe no
A

c
n

oc

nl y

e g iv

re

em

n
s p

XmlD

el em

ent

e;

Th is r ea d- o

e z er o

nl y

pr o per t y .

t o
L

en

s i o

rop

o cu

.
1

f t s D

( see

List d

ind t h

Access t h

or

s G

eir

de s C

ert

l N

t h

ist s a r e a u

roy

e o b

est

od

reat

class

e v a r io u

st

is t h

t h

on

e
=

Th e TXmlN
c

des. I t

cl a ss

st

ent ia l l y

st

co

a s b

a ccessed seq u

lass

eL

el l

A:

i n

t e

i t e

d
I

t i o
s

XmlD

oc

s in t h
L

em a

r e

l e

l l y

e
f t

x
o

t e
u

t h

t o
o

t .

men

e l ist

nl ess

t h

a s a
er e

f o r m
is

a t t ed
sing

l e

Appendices

on

w
Tru

er w

roc

on

ed

P
f

an

r et u

ex

t h

re

sert

on

it h

if

oN

od

t w

t h

e:

est

eg

er)

ent r ies in t h

e l ist ,

ex

cceeds,

ch a ng

TXmlN

t h

su

ex

ex

e l ist . I f

t h

e f o u

de a t
I

in t h

od

e)

e specif ied no

de ca nno t

ent r y

ov

e(

rc

es a n it em

oolean

g iv

en t h
a nd

eir

l o

ca t io

ns. A

r et u

False

r ns

eg

e l ist

eg

er;

iv

eg

it h

it h

er;

in t h

od

is f u

e:

e l ist . A

od

e;

n,

g iv

nct io

e is o u

TXmlN

n in t h

TXmlN

t h

v a l u

oN

en po sit io

er)

de w

v a l u
1

e is

nd.

t h e g

e index

o t h

ise.

er w

ed

re

em
no

ep

e(

est

e l ist

nct io

lac

es t h

in t h

n. Th e f u

roc

n o

l o ca t io

e no

em(

in t h

roc

rc

e specif ied no

on

o f

r a ng

od

e)

e l ist .

ing
e,

t h
t h

e it em

e f u

s po sit io

nct io

n r et u

r ns

l.
i

ns o
r ns

r ned if
u

e(

Access ea ch

e po sit io

l a ces t h

ise.

inds t h

r et u
p

v a l u

o t h
f

Ex

a ps t h e po sit io

n r et u

e it em

cu

f r o

eg

r ns Tru

ex

er)

it s so u

r r ent l y

e if

eg

a t

oolean

r ce po sit io
t h

e m

er;

t h e no

oN

od

n t o

it s new

e su

cceeds,

e:

TXmlN

ina t ed index

dest ina t io

a nd False

od

e)

a nd pu

t s t h

e new

de in it s pl a ce.

ed
0

re

ort

sA

ri

e:

st

ri

'

'

rd

er:

eg

er

r der

su

t h e

ppl ied,

no
t h

des in t h

l ist

e no des so r t

na m

e is l ef t

l a st

pa r a m

l a nk ,

et er

t h

t o

e no

so r t

it h

t h

t h

e v a l u

des a ppea r

is m

et h

e o

t h a t

in o r der

in a scending

( 0

d. I f

t h

a n a t t r ib

a t t r ib

o f

t h

eir

t e. I f

t ex

e def a u

l t )

o f

el em

co

o r

t e na m

t h

e is

e a t t r ib

nt ent . U

t e

se t h

descending

( 1

e
)

o r der .
I f
ph
o

TXmlN

t h

nl y

t h a t

amed

pr o v

e it em
a ny

TXmlN

amed

li

st

s b

:
N

co

st

ct

ce

ce

ce

ct

ct

od

ct

t h

T
ap

C
D

it h

o u

ld

no

es

it h
t h

ist ing
v

t h
t h

od

a f f ect ing

em

n,

o f
d

des w

a n

in t h
e D

a l so

e D
M

A- 5

t h

is is m

e no
e

ia

eir

na m

er el y

co

des.
p

l a

r a

tio

n.

e;

roy

en

(oN

od

elet

Emp

et

amed

ex

t
e:

e(w

eg

ad

er

et

od

e)

ex

eg

er)

TXmlN
:

em(sN

ame:

st

od

TXmlN

od

e)

en

:
I

I
(oN

e:

ent ,
M

. F

t h
o r

en

so r t ing

o t h

er

l ist s,

ier a r ch y .

TXmlN
t

eg

er;

od

a na g

es. Al t h

class

reat

lass

t h

po sit io

l N

a l

cl a ss ( see L

ap

est

o r der ing
m

ap C

eir

t h

e a ct u

a ccess t o

l a r

eM

a r y
y

eM

o
o

is

eM

od

pa r t icu

Listing A-5

l ist

is so r t ed,

od

amed

r et r iev

de

l ist

ides pr im

im

pl y

no

r eo r der s t h

Th e TXmlN
b

y sica l l y

e;

nv

o u

es a
g

l ist
y

o u

no

des,

ca n a l so

enience a nd do

es no t

Appendix

ce

ct

ct

ce

ct

em(w

emov

sert

e
S

ep
et

el o

on

st

ex

ex

amed

od

e(w

eN

amed

I
t

ru

t
N

ri

ot

at

or

no
b
i

ert

roc

ed

,
d

i f i c

roc

e nu
A

ed

R
n

t h

s p

i f i c

st

TXmlN

t h

e:
od

i
oN
od

od
e)

e TXmlN

j ect

TXmlN

od

e)

TXmlN

od

e;

del

e;

er;

de m
t h

e:
:

TXmlN
TXmlN

amed

eg

e:

a ps a r e a u
e TXmlN

t h

e TXmlD

r espect iv

od

od

od

od

e)

e;

eM

o b

ap

j ect

a r e descr ib

ed

er

read

e m

t h

t o

a t ica l l y

e cl a

od
oc

men

cr ea t ed f o r

ss a nd t h
t

Ty

e En

e cl a
p

ss a l l

o u
i

r et u

. Th

es a

nd

r n no

de

e no de t y pes.

ent r ies in t h
TXmlN

mp

od

e)

et

en

a p t h r o u

t h

is r ea d- o

nl y

pr o per t y .

e l ist .

m
y

ex

de a t

t h

r e

t e

s i o

t o

t h

t h

e g iv

eg

er)

en po sit io

n f r o

t h

e l ist . An o u

r a ng

e no

des f r o

amed

es t h

r n t h

e no
no

em(

de f r o

no

ex

t h

sN

t h

a t ch

oN

od

r ns

e m

t h

st

ri

a pping

es t h

is na m

t h a t

TXmlN

h a s t h e g

e. Th

e r esu

a ccess it s specif ic a b

e:

n o f

e l ist .

ame:

cl a ss t o

n r et u

de m

e po sit io

nct io

t i o

ed

ex

a
f

TXmlN

e g

iv

od

en no

e)

de in t h

od

iv

e;

en na m

l t ing

no

e. A n

de ca n b

l is

e ca st

t o

il it ies.

eg

er;

e l ist . I f

t h

e no

de is no t

f o u

nd,

.
1

re

o f
on

r a ng

d
I

sert

e new

r a ng
I

e,

e,

no

er

m
t

ex

de a t

a n er r o r

em(

Access t h
o f

t h

r e

t e

s i o

t o

t h

l a ce t h
o u

o f

e(

t h

et

on

e f u

e:

eg

od

oN

TXmlN

ent

roc

no r ed.

r ned if

et u

e
e

od

o f

eir

er

e no

e a l l

et r iev

t h

ese no

oN

elet

Emp

on

per t y

it s a ppr o pr ia t e su

er;

ame:

per t ies o f

e,

e t h
is ig

r et u

eg

o cu

re

em

f t s D

er)

ds o f

t h

m
(

elet

re

em

roc

en

index

e specif ied no de t o

t i o

ed

s p

n
eg

e(sN
ex

e;

nt a ining

re

Add t h

s pr o

on

r n t h

reat

es pr o
t

et u

de l ist s,

a ps co

rop

I
t

em(oN

et h

As f o r

Th e pr o per t ies a nd m
b

(w
I

lac
N

A:

ex

l is r et u

pa r t icu

o ccu

e ent r ies in t h
a

eg

l a r

er;

oN

po sit io

od

n w

e:

it h

TXmlN

in t h

od

e)

e l ist . I f

t h

e index

is

r s.
n

e l ist
r ned.

eg

ia

er)

t h

eir

TXmlN

po sit io

od

n. I f

e;

t h

e su

ppl ied index

is o u

Appendices

on

t h

roc

nd,

ed

O
T

re

r n a

ep

ep

lace

on

et

f r o

et

t h

et

t h

li

st

it h

no

t h

ri

e g

iv

de is r et u

TXmlN

en na m

od

e;

e a nd r em

no

ing

r ned. I f

a t ch

e it

f r o

no

de is

d.

ex

in t h

eg

er;

oN

od

e:

TXmlN

e specif ied po sit io

is r a ised if

t h

e index

od

e)

n a nd inser t

is o u

o f

r a ng

t h

e new

e.

t h

t e

em(

s i o

oN

de t o
ex

t h

ist s w

od

t o

t h

e:

TXmlN

e m

a pping ,

it h

t h a t

e del et ed no

od

e,

e)

sing

na m

de is r et u

it s N

t h

s p

i f i c

TXmlN

od

od

t h

no

er w

t i o

e;

ame a

eN

e new

r ned. O

s t h

e index

de r epl a ces it

ise,

t h

e r et u

. I f

a nd a

r n v a l u

e is

t h

s p

eNamed

h a v
T

i f i c

t i o

t h

e D

ese r epr esent

r e

t h

e
v

n
e

s p

- a

r e

r s i o

t h

st

ct

il l

t h

t es a nd ch il d no

l E

l e

nt d

e TXmlElemen

el em

ent s f r o

l a

des a t t a ch
r a

tio

ed t o

od

e)

st

ad

et

Elemen

oolean
r

ad

llEn
F

class(TXmlN

o b
t

t h

t h

em

j ect s ( a s sh

do cu

n in

ent ,

a nd

n.

C
r

reat

e;

co

st

ct

Elemen

Tex

llEn

Tag

oreEn

Tag

oreEn

Tag

Tag

st

ct

reat

eC

ld

at

aS

ct

reat

eC

ld

Elemen

ct

reat

eC

ld

Tex

ct

Elemen

(sN

ame:

ct

et

ri

e(sN

ct

et

ri

eN

ct

et

ld

Elemen

ct

et

Elemen

sB

Tag

ame(sN

ame:

ct

et

sB

Tag

ameW

est

ame,

roy

ame:

Elemen

r,

sV

alu

at

Ex

sA

ce

ce

ct

emov

eA

ct

elec

od

es(sQ

ct

elec

leN

ce

ri

ct

ri

eN

st

e(sN

ame:

st

Tag

emov

e(sN

ri

eN

od

N
)

e(

i
t

r:

ery

st

ame,

sV

alu

st

aS

ec

on

st

ri

)
g

e;

TXmlN

od

eL

od

eL

st

od

eL

st

e)

TXmlElemen

alse)

TXmlA

:
r

TXmlA

ri

ri

od

st

Tag

TXmlN

TXmlN

TXmlN

e:

ame;

eL

eN

od

at

llEn

st
g

TXmlElemen

r:

F
g

TXmlA

od

Tag

TXmlC

r
b

st

ew

ri

ld

e(oN

ame:

e(oO

e(sQ

e
i

)
g

oolean

st

t
r

st
n

ame:

TXmlTex

st

st

st
g

TXmlElemen

TXmlN

e:

ery

e(sN

ame(sN

ac

od

od

ame:

i
)

e(b

et

ormali

ri

st

Tex

Tag

oreEn

st

sB

ame

eA

eN

(sTex

(sTerm:

od

on

N
on

ressi

et

ad

(sElem:

st

ct

st

e:

ad
ec

(sTex

oolean

od

lass

e a t t r ib

em m
t

sN

en no

) . Th

TXmlElemen

e no des in t h

Listing A-6

ame:

t h a t

r r ent l y

i s

a l r ea dy

emov

A- 6

t y pica l l y

amed

e g iv

m
R

o f

ist ing

sN

o st
L

e(

de cu

TXmlElement C
M

e(

a pping

l.
i

i s s i n
G

od

l inst ea
i

lac

r ef er ence t o
n
O

e no

a n ent r y

e m

de in it s pl a ce. An er r o r

Adds t h

amed

eN

de in t h

r et u

el et e t h
no

emov

e no

e l ist . A r ef er ence t o

f o u
p

ind t h

eL

u
st

TXmlA

ri

ri

e;

;
;

;
b

e)

TXmlA

e;

Appendix

Th e TXmlElemen
c

on

st

ru

l em
C
C

rop

or

ent

reat

e;

no

des

sh

eElemen

reat

eC

ld

lemen

rop

ex

ert

llEn

t h

et

Fu

pa t ib

il it y

t h

el em

et

on

el em
sa m
o b

C
D

ri

ent

et h

t h

del

dir ect l y .

do cu

el o

I nst ea d,

ent

o b

t h

o r

t h

de ch

il d o

j ect

se

ed l a t er .
G

e v a l u

l e t ex

j ect

o ds a r e l ist ed b

read

r ns t h

sing

cr ea t ed

d descr ib

et

Elemen

e o f

ch

t h

il d,

it

Tex

e sing l e t ex
r et u

no

r ns a n em

pt y

st r ing .

reat

eC
ec

ing

e t o

or

eE

read

ag

FFu

e o u

) .

r o

llEn

t pu

o f

r t i e

Tag

f u

l t ) ,

a n

l e in X

pr o per t y

a ppl ica t io

oolean

def a u

a v a il a b

Th is

ist ing
B

nt a x

r e

ri

l l

r t

cl o sing

el em
L

ca n

ent

FI

t a g

t h a t

( pl a cing

sed

ns ( specif ica l l y

read

Ag a in,

t h

b u

st

sh o u

oreEn

ri

t h r o u

ld

on

en

sl a sh

t o

TM
w

h a s no

Tag

a t

a int a in

) .

ri

read

t h

at

FN

eN

ent

ec

on

e o

it t ed ent ir el y

False,

is

int ended
t r u

ame

t h r o u

ame pr o

eN

aS

od

is

sed in a ny

e el em

od

t o

it

pr o per t y

e u

new

e X

ri

t h

h
f o r

ich
u

do cu

FN

od

a l w
se
m

if
a y

it h

ent .

eN

ame;

is pr o per t y . I t

a ps

per t y .

sTex

ATAS

r ef er ence t o
t h

is

l t ,

st

ri

ed b

e o f

e end t a g

def a u

l d no t

er it ed N

ses t h

t a g .

e na m

u
By

e ca

Tru

il dr en.

r ning

f o r ce t h

t a g

e ex

n cr ea t es a

l l o

ch

e inh

at

f o

t h

r et u

oolean

t o

no

e t h

aS

en False ( t h

Tag

ame:

nct io

e t h

end

nt o

TM

ag

o r t h a nd sy

so

h a s

ent ,

j ect ,

eat

m
t

t h

eC

on

el em

ent ,

on

t h

e C

reat

a n A
p

en

eC
d

at

eC

aS

ect

r t

ld

on

t h

t h

ect io n no

e new

TA

no

ec

ca l l

ld

Elemen

r ns a

po int er

o u

ld

r eceiv

e a

Tex

a nd r et u
eC

eat

n a dds a

ca n ea sil y

nct io

y o u
y

is f u

reat

a st l y ,
Ag a in,

r e

reat

il a r l y ,

ld

im

o cu

de a nd a ppends it
de. Y
m

on

n t h

et h

is no

t o

ca n a ch iev
d o

n t h

e do

cu

t h

e t h

ent

de.

st

o pening

Tag

r et r iev

Th is f u

et h

Tru

. W

it h

a n

Tag

o r

TXmlC

ex

b
o

is pr o per t y

ener a t ing
ert

e sh

ent

dir ect l y

no t

r et u

t i o

t o

oreEn

ener a t es

Tag

t h

oreEn

et t ing

rop

i f i c

co

f t s D

ses t h
o f

t h

o d

llE

is pr o per t y

end

er e is no

Tag

ert

llEn
d

il dr en u

FI

Tex

t h

s p

t h

rop

et h

pr o per t y

,
t

ener a t ing
ch

ent . I f

FFu

l d

Elemen

nl y

t h

o u

Elemen

t h is el em

j ect s pr o per t ies a nd m

Th is r ea d- o

o b
t

reat

ert

A:

eC

t o

it .

sTex

lemen

st

ri

cr ea t ed el em

st

e new

ri

ch

il d t ex
no

,
t

i f i c a

l y

cr ea t e a nd a dd a
t h

s p

sElem:

new

r ef er ence t o

ld

t i o

d
C

no

no

eat

de t o

TXmlTex

eC

TXmlElemen

ent

ld

de w

de a s t h e r et u

it h

t h

e cu

r r ent

t h

is m

r n v a l u

e.

et h

d.

Appendices

on

Fi

ind t h

t h is
m
N

O
T

et h

a t ch

no

on

im

et

t h

st

is

ri

ent

sea r ch

TXmlElemen

it h

ed

l is r et u
i

no de w

t h

in

e g

iv

en t a g

pr e- o r der

na m

e t h r o u

t r a v er sa l .

I f

h
no

r ned.

ri

e(

sN

se

r t

t h

ame:

t h

st

e st r ing

ld

v a l u

ri

t h er e a r e sev

ri

er a l

co

e o f

t h

st

s p

ri

i f i c

enience m

e na m

t i o

pr o per t y

es

nv

t o

et h

ed a t t r ib

dea l
ds t o

t e,

it h

a ssist

o r

a n
y o u

a n em

pt y

nd.

eN

od

a t t r ib

e f o u

st

e f o u

l d

t es,

nd,

e(

sN

t e

no

it

Elemen

ame:

de

r et u

sB

st

r ns n

Tag

TXmlA

it h

t h

is

ri

et h

e;

d.

I f

t h

l.
i

ri

na m

ame(

sN

ame:

st

ri

e G

et

Elemen

sB

t h

Tag

e el em

ame m
N

et h

d,

t h

is o

ne o

nl y

sea r ch

es

ent .

lemen

et

od

st

t h

e su

is no
b

on

alu

e:

o f

ag

Name

t h

i s

r t

ri

t h

sB

Tag

ame(

et

a l l
it h

t h

e el em

t h is f u

e su

er

ri

en na m

v a r ia t io
g

ame:

st

ent s w

it h

n. U

se a

nct io

e l ist

iv

en na m

na m

e o

a ppea r

in t h

e t h

a t

t o

e sa m

a r e descenda nt s

e o

et

a l l

r der

el em

a s a

ent s in

pr e- o r der

t r ee.

Elemen
st

sN

t h

o k s t h r o u
iv

t r ee. Th e ent r ies in t h

er sa l

Elemen

eL

de w

sB

a l l

Tag

ameW

TXmlN

n t h

od

et

a n a t t r ib

st

r et u

t e w

ri

sB

r ning

it h

e(

sN

ame,

sA

r,

Elemen

descenda nt s,

e a nd a l so

eL

t h

Tag

t h

ame

o se el em

et h o

d,

t h

ent s t h a t

e specif ied na m

is

h a v

e a nd v a l u

ne

e t h

e.

E
G

et

lemen

s p

ed

o
S

t h

e g

ag

Ex

NameW

en ex

a t ch

ch a r a ct er

e
t o

at

on

ch

r
E

i
x

sTerm:

st

descenda nt s

pr essio

n,

a nd r et u

o r der
A

t ex

ac

no

ac

e:

pa r a m
b

et w

t o
e

t h

t
b

p
e

t r a v

el em

nt ent s

o f

ses

o f

t ex

eL

t h

st

no

des

l ist . Th eir

t h e h

f o r

t h a t

o r der

ier a r ch y .

enea t h

ca u

o
.

od

ent

False)

t r ee b
e

r t
w

nd a s a

er sa l
=

a
l o

TXmlN

t h

o se f o u

Tru

co

i s
e

e ent ir e su

t h

oolean

et er

een

o
m

r ns t h

t h

on

pr e- o r der

des in t h

pl a ced

in a

ri

eir

es

t h

e(

es

es t h

ormali

t h

t h

ressi

ine a dj a cent

et t ing

i s

sea r ch

iv

t i o

at

e l ist

et h

re

i f i c

a t ch

in t h
roc

on

Th is

l ist

i s

r ns t h

t a in a

t h

l o

t h

ld

Ano t h

ri

ent ir e

o f

sV

t r ee

edia t e ch il dr en o f

on

t r a v

co u

eL

t o

t i o

et

TXmlN

ame:

el em

nd,

ca nno t

od

il a r

et

su

t h

t e ca nno t

e im

i f i c

sN

s p

o u

it

on

t h
N

ne r et u

TXmlN

if

on

a t t r ib
n

Access

de is f o u

ent s a t t r ib

Th is o

Th

et

o u

st r ing

descenda nt

d.

lemen

el em

Elemen

ing

Al t h

e f ir st

t h

is el em

a n

ex

t r a

no

des

ent .
spa ce

t h a t

a r e

Appendix

co

nca t ena t ed. D

pa r a m
N

I n

e i n

Nod

roc

ed

t e

re

em

r f a

e
c

on

em
m

s p

h
L

eA

t h

e
A

ent

False a

j ect

f u

nct io

del

na l it y . H

nd ca n sa f el y

e o

ev

er ,

t h

it t ed.

t h

Nor

e f u

mali

st

ri

t i o

l i t y

t o

no

ri

e(

it h

sN

t h

ame:

e g

iv

de is no t

eN

en na m
f o u

od

e(

oO

t e

f r o

e u

sing

t h

is m

et h

d. N

o t h ing

nd.
ld

r:

TXmlA

ri

e)

e;

a t t r ib

ent ,

od

l ist

es(

sQ

a l l

) . Th

t h

es

i f i c

t i o

t h

no

t h

el em

ent s

r ned. I f

t h

e g

l ist

iv

t h r o u

en no

t h is

de is no t

a n

h a ppens.
:

st

ri

des t h a t

r r ent

l ist

de is r et u

ery

e no

e cu

pt y

o
n

no

is r et u

TXmlN

a t ch

t h

de a ct s a s t h
r ned if

no

e g

iv

od

eL

ing

po

no

st

e st a r t ing

a t ch

en X

a t h

ex

int

f o r

pr essio

r el a t iv

des a r e f o u

nd.

is m

se t h

ri

et h

r ned. O

e(

sN

t e w

s o

od

eN

e(

t h

oN

t h

st

ne,

sV

it h

nt ent s o

ri

ery

io u

ame,

a l l .

sQ

ri

r e

r t

t h

er w

ew

alu

is m

ri

st

d. Any

r:

TXmlElemen

r ns o

e:

et h

r it t en b

r et u

ri

t h

nl y

t h

e f ir st

ist ing

a t t r ib

ex

ent

e new

TXmlA

el em

v a l u

ri

t e w

e. Th

e)

it h

e v a l u

e;

d t o
v a l u
t h

a dd a t t r ib
e. Bu

is m

er w

il d y

et h

e na m

t h

e(

pa r sed a t

e sa m

leNod

ne.

a n a t t r ib

ef o r e ca l l ing
t h

t h er e a r e no

e h a s it s co

pl e st r ing

it h

e o

ppl ied is no t

l if
i

et

od

su

e pr ev

e na m

e t h

et

elect

leN

e sa m

on

t h

d a ct s l ik

e v a l u

TXmlA

elec

re

et

e,

ise,

d. Th

in w
it

r et u

t es t h a t

o u

a t t r ib

e new

ich

h a v
u

no

st r u

de a nd

r ef er ence t o

ct u r e b

a t t a ch

de r epl a ces a ny

ca se a

r ns n

e int er na l

t e no

ex

t h

ey

it s ch

ist ing

nd a

il dr en

a t t r ib

e del et ed no

t e

de is

l.
i

g
n

t h
t

o r

Nod

nd,

ed

r s i o

ri

e el em

elec

f o u

i s s i n
e

t i o

t e w
ing

h a pt er

on

r et u

specif ied

t h

es a

et h

no t h ing

Th is m

i f i c

a t ch
eA

ri

t e o f
S

s p

sim

o cu

st a nda r d D

e o

on

v a l u

t h a t

elect

roc

f t s D

is no t

l t

e a t t r ib
a

et r iev

o d. A r ef er ence t o

( see C

so

r ef er ences. An em

emov

et h
a t t r ib

ing
def a u

emov

e t h

TXmlA

h a ppens if
f

h a s a

t h

t h

et er

A:

o
i

a
s

d
b

b
o

s
u

i l i t i e
f

t h
a

es

f r o

r e

e
n

o
e

t h

t h
t

d
i m

s
p

e
a
l e

D
b

r o

o
m

e
v

i d

s p

t e
e

l s o
,
s i m

,
a

i f i c
t h
l t h

i l a

t i o
h

u
i n

as

f o

i n
A

r m

t h
a

l u

t i o

e
u

t h

e a
t
d

ex

n
f

m
h

as

s p

t h

e
i

- a
b

r e

eNS

t h

Appendices

TXmlA

ttrib
At t r ib

do

no t

sib

l ing s,
o

n t h

f o r m

so

ct

st

ct

ame:

alu

e:

ct

lon

eN

est

ec

pr o per t ies
w

on

st

ru

st

ed

st

od

rop

ent

ert

rop

ert

FS

ec

o b

od

e)

ad

l a

od

oolean
r

ad

et

e(b

eep

et h

r a

er

t h

t h a n a ppea r ing

ier a r ch y . Th

eN

tio

r n n

ey

eir

in t h

h a v

l. Th
i

e A

ri

ese l ist s,

e no
C

pa r ent

o f t

es

t h ey

a nd no

def init io

ds

o f

F
N

od

t h

n.

ame

ad

oolean

ec

ed

eV

alu

Tru

e)

TXmlA

od

eN

ec

et

od

eV

alu

e;

TXmlN

od

ri

ame;

e;

o b

ed

j ect

;
e

a r e

discu

ssed

rop

se

the

t h r o u

st

reat

o f

t h

eA

cr ea t ing

t h

e
S

t h

e a t t r ib

et

ri

a t t r ib

ri

f a c to r y

t es y

o u
m

et h

r sel f . Y

et h

o f

FN

od

eN

o u

t h

ca n a l so

a n

el em

ent

eV

ea d o r

inh

er it ed N

ca u

ses a ny

w
em

it h
b

j u

st

ed

r et u
M
t h

cl a sses. Th e b

FN

od

od

eN

ame

ame pr o

eN

oolean

ri

t e t h r o u

read

g h

t h

ame;

is pr o per t y . I t

a ps

per t y .

FS

ec

ed

ri

e if

ent

t h

e v a l u

it sel f

e der iv

o r

es f r o

e f o r

t h

a s set
a

e a t t r ib u

t h r o u

def a u

l t

t e ca m

t h

e V

e f r o

specif ied f o r

e pr o

alu

t h

t h

per t y ,

is a t t r ib

t e

st

od

eV

ch

read

e st r ing
alu

su

v a l u

t h

ppl ied

od

t .

at

t h

eV

alu

e a t t r ib

h a s t h
u

e sa m

t e t o

Th e

r ef er ences a r e ig

erD

et

e o f

e a t t r ib
t ex

ata C
t

pr o per t y

il dr en o f

ri

ri

e;

r it e t h

t h

t h

do cu

e:

alu

arac

it h in

e v a l u

aracterD

er it ed N

r ns Tru

edded ent it y

Th e TXmlC

read

e o f

alu

od

e X

TD

e na m

e inh

ed

ri

t h

t h

ec

e D
y

et

des

em

set

nt o

o f

ert
S

e;

inst ea d

t h

e o r

dy

in t h

te

j ect

a nd False if

su

ent s,

Th is pr o per t y
b

no

pr o per t ies r et u

o
g

ame:

et r iev
dir ect l y

t h

j ect .

TXmlC

reat

el em

inst a nt ia t e
o b

e;

roy

a nd

or

f o r

do cu

nding

des. O
D

r o u

As

a l

l e t h

l Attr ib

reat

no
t

class(TXmlN

el o

ent s a nd a r e a v a il a b

e no r m

A- 7
X

t h

e co r r espo

ri

st

o f

ist ing

co

Th e
b

li

pa r t

t h

Listing A-7

el em

e TXmlElemen

n in L

TXmlA
u

lass

t es a r e a t t a ch ed t o

pr o per t y

is sh

te C

v a l u

t e w

it h

t h

e ef f ect . S

is pr o per t y . Th

et t ing

e disca r ded a nd t o

t h

is

no t

pa r sed

a t

is v a l u

e r epl a ced
a l l ,

so

a ny

no r ed.

lass

a cl a

ss ( see L

ist ing

I t

ppl ies

su

a se cl a ss it sel f

do

co

es no t

A- 8
n

a ppea r

f u

is t h

nct io

in t h

e h

e b

na l it y

a sis o
f o r

ier a r ch y .

a l l
t h

t ex

t u

v a r io u

a l
s

Appendix

Listing A-8
TXmlC

arac

r a

class(TXmlN

at

a:

st

en

eg

er

ce

en

ce

elet

ce

ce

ep

lac

eD

at

ct

ert

et r iev

rop

ert

ed

a:

re

t h

co

ined t ex

roc

ed

re

em

su

r a

od

eV

alu

ad

et

F
e

en

F
e

od

a:

st

set

ou

eg

er)

at

a(w

set

eg

er;

sD

at

a:

st

a(w

set

ou

eg

a(w

ou

at

erD

im
st

er

en

o
D

f r o

elet

eD

e t ex

a(

ns,
FN

od

o f

t h

er

t h

at

a(

alu

er;
eg

er)

at

a:

e D

t h

st a r t ing

en

at

st

et h

e;

o f

;
g

ds a r e l ist ed b

el o

z er o .
e

st

;
a:

a t

ri

a pr o

at

ri

FN

t h

od

eV

alu

e;

is pr o per t y .

per t y ,

ich

a y

e z er o .

t h

ex

ist ing

a l u

e.

et r iev

t h

per t y .

set

f r o

alu

et

end

a pr o

at

del

)
g

sD

f f set s st a r t

eV

e D

st

e no de t h r o u

read

t o

a l l

read

sD

t ex

eV

j ect s pr o per t ies a nd m

co nt ent

eg

;
n

ch a r a ct er s in t h

at

ent a t io

e t ex

set

pl em

ri

t h

a o

at

n.

tio

at

ppl ied

e t h

l a

j ect

Add

a(w

e nu

e)

a(sD

set

en

ind t h

roc

at

od

ad
r

ta

ent

at

e o r

at

r D

o cu

ri

er

f t s D

eD

sert

arac

t h e o t h

te

l C

rop

X
a

li

Th e TXmlC

T
at

As f o r

erD

A:

t h

e g

ou

iv

en o

f f set ,

eg

er)

f o r

t h

e g

iv

en nu

er

o f

ch a r a ct er s.
p

roc

ed

re

I nser t
p

roc

ed

st

ri

re
n

e g
i

f r o

el em

ent

li

a(

eD

at

st r ing
b

er

ri

set

int o
w

a ny

ex

eg

ist ing

set

st a r t ing

o f

e sect io

t h

h
m

o b

e b

a t

t h

ch a r a ct er s,

at

n o f

a(

t ex

f r o

er;

sD

v a l u

ou

e no

a nd t h
set

a se ch a r a ct er

o l ds t h
ent

o t h

t ex

TXmlTex
u

lac

e su

do cu

at

e a t

a:

st

ri

t h e specif ied o f f set .

eg

er;

sD

at

t h

ina t ed o f f set

en r epl a ce it

ou

w
n

e specif ied o f f set ,

a nd ex

it h

t h e su

a:

eg

er)

f o r

t h

t ending

e g

f o r

ppl ied t ex
st

iv

ri

en nu

er ;

no

e a ct u

is f ir st

co

a l

o u

da t a

so

s sect io

st a t e

no

nt ent

l o a ded,

nt ig u

de. Th is

co

o f

de,
t h

e o t h

ns o

er

t ex

is r est o r ed

t h

e X

e TXmlTex
M

no

do

cl a ss ( a s sh o
t

ent

it h in t h

de t y pe sepa r a t es a l l

in t h

cu

t .
;

t h

e do

e
N

cu

ent

ormali

l T

class(TXmlC

t d

arac

(w

e(b

eep

c
t

l a

r a

tio

er

at

a)

et h

eg

er)

oolean

co

st

ct

ct

li

ct

lon

reat

e;

Tex
eN

od

set
:

I
B

TXmlTex
Tru

e)

TXmlN

od

e;
o

n in
O

no

o f

des

a r e pl a ced int o

n.

erD

e D

t ex

j ect .

Listing A-9

t h

f r o

ea ch
l e

a(

lass

A- 9

en a

sing

at

ch a r a ct er s.

er it ing

ppl ied t ex

en nu

t r a ct

ist ing
W

sert

ep

iv

TXmlText C

on

x
o f

I nh

e su

el et e t h
t h

t h

a
t h

Appendices

Th e pr o per t ies a nd m
c

on

st

ru

no t
u

t h

t u

l l o

a l

A- 1

D
c

li

at

l ing

co

aS

ec

st

ct

ct

lon

st

ru

o
C
C

A- 1

eC

reat

eC

r
:

aS

ommen

li

ct

lon

on

st

ru

Bu
o b

o
c

ds o
t

il d

or

co

j ect . D

C
i

tio

n d

od

et h

d o

et h

n a n el em

t h

ent . D

TXmlTex

f r o

t h

t h a t

de

no

eco

e cu

r r ent

de. Th

es

t h

no

e cu

im

de pa st

r r ent
m

t ex

edia t el y

ec

o u

t h r o u
t

l d
g

no r m
C

on

o b

no r m

a l l y

ATA sect io

j ect s ( a s sh o
a l

t ex

t r ea t ed

a s

ns. W

in

it h

n in L

ist ing

no de a nd sim

pl y

l a

r a

tio

n.

;
e

oolean

et h

Tru

ATA
m

et h

nt a in
O

e)

TXmlN

ds a r e sh o

sect io

d
m

on

a ddit io
t h

ey

o n

et h

na l ,

no

t h

d o

l C

eep

nt d

e TXmlC
reat

ent s

no

a ppea r

a sed no de t y pe,

e(b

od

no t

il it ies o f

ec

e;

no

t h a t

t ex

aS

on
aS

eN

at

j ect s m

reat

t h

e t ex

r ef er ence t o

h t

e a b

u
i

m
t

er)

t h

de.

ct

eTex

Tex

eg

no

st

a l l

ina l

arac

new

ld

class(TXmlC

reat

Th

et h

e D

t - b
T

o b

at

co

t ex

co

Th e m
c

a l l y

er

el o

od

e;

n b

el o

des
do

dir ect l y .

cu

a n el em

ent

ent

o b

j ect

se

t h

o r

t h

inst ea d.

lass

it h in t h

) . Ano t h

ct

ec
C

ed b

e;

nst r u

ld

on

reat

st r a ig

t h

ta

su

ent . W

eep

at
h

co

a r e descr ib

it s da t a s o r ig in.

ch a r a ct er s
st

r n a

a s TXmlC

l C

j ect

lass

e(b

ec

eC

nt a ining

e o r ig

e;

or

reat

TXmlC

t h

eN

aS

set

class(TXmlTex

od

t h

del et ed.

reat

no t

Listing A-1

a nd r et u

o f
m

at

ent s
m

er it s a l l

omment C
m

ed a s j u

on

g h

reat

de co

o f

is cl a ss inh

nt a ining
g

o b
t

des dir ect l y .

no

ese a ppea r

do cu

t h

t ex

e f l a g

e C

t ex

sib

co

on

t h r o u

o r
no

Tex

nt ent

Th e TXmlC

TXmlC

e TXmlTex

des

ection C

t h

) . Th

t ex

es a s a n indica t o r

TXmlC
u

no

t h a t

ing

Listing A-1

li

h a s

co

ser v

j ect ,

new

p ca n b

e D

ataS

a r k u

o b
ct

t h

e;

t ex

nst r u

de

f o

Tex

reat

o ds o f

e specif ied o f f set ,

no

co

r ea t e a
t h

ent

on

TXmlC

ener a t e
do cu

or

et h

a l l

r a

at

a)

erD

l a

e
B

oolean

ommen

o b
t

n- essent ia l

a s TXmlC
o

it s a b

tio

inf o r m
o b
t

a t io

a b

j ect s ( see L

il it ies a r e inh

o u

ist ing

er it ed.

n.

Tru

j ect

ommen

e)

TXmlN

a r e discu

od

ssed b

e;
o

el o

e;

it h

cr ea t e t h

t h
em

e
C

reat

dir ect l y

eC

ommen

it h

t h

et h

is co nst r u

ct o

o f
r .

t h

do

cu

ent

Appendix

TXmlProcessing
P

r o cessing
do cu

inst r u

ent

TXmlProc

a ccess t h

co

Listing A-1
TXmlProc
p

li

essi

ns

se

desig

ned

a ppl ica t io

st

ru

l P

r o

o cu

ent

ction C

a r e

f t s D

j ect

ca r r y

inf o r m

r ea ding

cl a ss

on

del

lass

t o

ns

( sh

t h

in

a t io n

o se
L

do

t h r o u

cu

ist ing

A- 1

t h

ent s.

Th

l et s

o u

h
g

st

reat

m
ru

on

ssingI nstr u
=

tio

n d

od

class(TXmlN

l a

r a

tio

n.

e)

c
n

st

ct

at

a:

Targ

ct

el o

on

st

e;

ad

et

st

eN

od

e(b

eep

st

lon

A TXmlProc

essi

st

;
F

od

eV

alu

od

eN

ad
B

ru

oolean

o b

on

ame
Tru

e)

od
F

eV
od

alu

TXmlN

eN
od

e;

ame;
e;
o

j ect s pr o per t ies a nd m

et h

ds a r e l ist ed

:
ru

or

se t h
t o

rop

reat

at

no

n- w

im

a:

st

j ect s C

ri

des,
n

t h

Targ

et r iev

st

set

FN

f o

od

nt ent
l l o

eV

ing

nst r u

alu

st

ru

t h

e t a r g

ri

et

on

et h

ct o r .
t

FN

od

eV

t h r o u

alu

f r o

t o

t h

e;

t h

e f ir st

e ch a r a ct er

.
>

read

t a r g et

essi

a ppea r s in t h is pr o per t y ,

e cl o sing

ri

t h

eProc

t h a n t h is co

read

e t a g s co

ef o r e t h

et

o r

reat

r a t h er

it e spa ce ch a r a ct er

edia t el y

ert

o b

ese no

a inder

e;

ent

inst a nt ia t e t h

ert

rop

e do cu

Th e r em

nt ent s.

co

essi

eir

I nstru

ct io

f o r

A:

FN

od

eN

ame

a ppl ica t io n

f o r

t h

ri

inst r u

FN

od

eN

ct io

ame;

it h

t h is

pr o per t y .

TXmlD

ocu
Th e

mentTy

TXmlD

decl a r a t io
pr o per t y
t o

t h

o f

oc

men

e do cu

li

men

Ty

reat

st

co

st

ct

ct

el o

ct

roy

En

es:

ame:

ot

lon

l D

it h
p

od

eM

ap

od

eN

ame

s:

TXmlN

eN

od

e(b

eep

et h

amed
B

od

eM

oolean

ds o f

l a

tio

l. W
i

enca psu

l a t es

a ppea r s a s t h e D

it h in it

oc

Ty

t h

a r e r ef er ences

ent .

e)

on

e n

n.

r a

a y

ad

A- 1

ent . I t

cu

e do

amed

ist ing

in t h

TXmlN
r

do cu

t h is m

ntT

ns def ined w

st

at

o u

e;

est
t

a l t h

od

( see

t y pe f o r

class(TXmlN

lass
cl a ss

ent

ent ,

Th e pr o per t ies a nd m
b

Ty

e do cu

e ent it ies a nd no t a t io

TXmlD
b

t h

t h

Listing A-1

oc

n o f

pe C

t h

ad
w

ap
r

ad

Tru

e)

e TXmlD

oc

En

od

ot

F
:

es;
eN

at

ame;
i

on

TXmlN

od

men

Ty

s;
e;

o b

j ect

a r e sh

Appendices

on

st

ru

or

o r m

a l l y ,

reat

is l o a ded. E
t o
p

rop

do cu

ert

ent it ies,
it em
p

rop

ert

ert

ich

t h

ot

Access t h

TXmlN
N

o t a t io

TXmlN

at

on

t h

e N

ot

ot

at

Listing A-1
TXmlN

ot

li

at

st

ct

Pu

st

ct

lon

ru

se

t h

rop

ert

rop

ert

R
em
p

rop

ert

if

a t

FN

ap

FEn

ent it ies

pa nded,

o u

do cu

ca nno t

ent

a t t a ch

it

is do

es;

def ined

es no t

no r

pa r a m

it h

incl u

et er

in

t h

de int er na l

ent it ies. E

a ch

j ect .
eN

ent

amed

nl y .

read

t er na l

od

cu

ame

ri

t y pe

od

eM

f r o

el

ap

e do cu

TXmlN

ent

ame;

pr o per t y .

in t h
ot

TD
o b

on

eN

is

FN

ent s D
at

od

t h

read

ot

FN

el em

l N

e do cu

at

it h

on

Th is

ent .

s;

t h is r ea d- o

nl y

j ect s.

ist ing

ct io ns.

A- 1
cu
e

in t h

ent

l a

r a

Th

a t t r ib

a r e

is D

t y pe no

tio

ey
O

ad

Pu

d
w

Pu

emI

st

ad

st

emI

d
w

st

eep

oolean

Tru

e)

od

e(b

on

o b

li

j ect s pr o per t ies a nd m

reat

t a r g et

t h

ed f r o

e
m

n.

st

eN

a nd o f

de.

t es,

a nd a r e r et r iev

r epr esent ed

e;

npa r sed ent it ies,

inst r u

reat

do cu

TXmlN

et h

y
od

li

emI

e;

o ds a r e l ist ed b

;
e

el o

e;

ent

o b

j ect s
C

ri

read

reat

eN

ot

at

od

eN

on

et h

t o

il d

new

des.
eN

ame:

e o

t h

li

st

e no t a t io
I

e pu

st

no

ex
o b

cr ea t ed a s a
des,

is r ea d- o

e sing l e t o p- l ev

o f

e)

if

st

n is f o u
ri

l ic ident if ier

no

emI

Th is pr o per t y
st r ing

e f o r m

od

st r ing
S

ese no

pr o per t y . Th

a r e a l l

class(TXmlN

e t h

pt y

e l ist

a t ica l l y

t h

eM

ex

ns def ined in t h

n d

od

Pu

et r iev

t h

tio

n no

Th e na m

e o f

ta

at

do

TXmlN

per t y

li

or

no t a t io

e do

n
r

st

t h

t h

o f

co

on

ot

s:

per t y

od

nl y

read

o f

cl a ss ( see L

t h

a t ica l l y

pr o cessing

s pr o

amed

t o

lass
e t h

on

on

Th e TXmlN

e na m

s in t h

f o r

t h

e no t a t io

ns descr ib
ns

on

otation C

a ppl ica t io

ri

na m

pr o per t y . I t em

t o

ne o

e pr o
p

o f

TXmlEn

st

at

Ty

is r ea d- o

a r e a u

oc

l ist

t h

is a

nds t o

a
h

de is a u

did cr ea t e o

TXmlN

t o
g

e l ist

t y pe no

o u

es:

ame:

et r iev

rop

t h r o u

co r r espo
p

in t h

ent
y

since it s D

a ccess

ent

en if

ent

En

do cu

t a in

e;

do cu

pr o

ne is su

FN

nd in t h

read

f o r

is inh

FPu

t h

ame

ri

FN

od

eN

li

ame;

er it ed pr o per t y .

li

is no t a t io

n f r o

ri

t h

FPu

is pr o per t y ,

o r

a n

ne is specif ied.
:

st

ri

v ides t h
ppl ied.

read

e sy st em

FS

st

ident if ier

emI

f o r

t h

ri

e no t a t io

FS

n,

st

o r

emI

a n em

pt y

Appendix

TXmlEntity

in t h
t h

t h

e do cu

since t h

cl a ss ( see L
y

f r o

t h

is l ist

e D

r ea d

pr o per t y

f t s D

o cu

ent

j ect

su

ppl ies t h

del

lass

Th e TXmlEn
ent it ies

A:

. O

nl y

do cu

ent

A- 1

ent s

t y pe no

ese a r e a u

t h

ist ing

t o

e def init io

TD

de. N

a t ica l l y

n o f

t h

Access

pa r a m
ex

e def init io

t h

et er

em

o r

is m

t h

int er na l

pa nded a nd t h

e ent it y

ia

ns o f

eir

del ed,

ex

En

t er na l
i

es

ent it ies a ppea r

v a l u

no t

e incl u

t h

ded in

e decl a r a t io

it sel f .
Listing A-1
TXmlEn
p

li

ot

at

on

ame:

ad

Pu

li

st

ad

Pu

st

emI

st

ad

ct

lon

eep

oolean

st

ru

I N

r t u

g
w

i t s

eN

no

t e

t h

y
O

od

eN

ame

d
w

st

emI

d
w

Tru

e)

li

i
r

r
F

Pu

e
b

st

TXmlN

et h

y
od

li

od

eN

emI

e;
o

ame;
;
;

o ds a r e discu

ssed b

ent

;
e

el o

e;

des a r e a u

t o

a t ica l l y

e a dded t o

eN

j ect s pr o per t ies a nd m

reat

ame:

st

ri

er it ed pr o per t y

cr ea t ed w

do cu
n

ent

read

pr o v

FN

ides t h

en a

t y pe no
od

e na m

do

de t h

eN

cu

ame

e o

t h

is f ir st

l o a ded.

er ea f t er .
w

ri

FN

od

eN

ame;

e ent it y .

l y ,

t h

r e

at

t h

r o
e
v

on

r t y ,

f t
p

ecl e
D

ot

eN

t r i e

od

eName p

Nod

t i t y

r e

r a

t h
n

t u

r n

t h
e

t h

t h

l e

s s

n
e

n
y

a
o

m
u

e
g

o
o

f
f

t h
t h

t o

t h

e
e

n
u

t i t y

t i t y
n

i t s e

l f .

r l y

i n

t a
T

t i o
h

n
r e

r s e

t .

ame:

st

ri

read

FN

od

eN

ame

ri

ame;

npa r sed

ent it ies r et u
o r

r n t h

pa r sed ent it ies,

na m
it

r et u

o f

t h

eir

no t a t io

r ns a n em

pt y

t y pe t h r o u

t h is

st r ing .

l t h
e

e(b

o b
y

od

t o
n

ert

od

ca nno t
y

e;

o
d

reat

or

nt it y

ert

f o

s
m

rop

t h
t u

Not

r n
t h

ert

t h
e

ert

at

Pu

et r iev
pu

rop

r e

d
r

n.

ct

pr o per t y . F

r
st

tio

FN

r a

l a

rop

e)

r o

od

ntity

st

l E

Th is inh

i s

rop

t h

Th ey

on

class(TXmlN

co

Th e TXmlEn
c

t i t y

t h

st

emI

r ns a n em

l u

r o
.

e
o

r t y
w

i s
v

ri

st

st r ing

read

l ic ident if ier

is specif ied,

r ea ds o r
pt y

st

e pu

l ic ident if ier
y

m
r ,

a
t h

e
n

d
o

o
d

t o
n

t h
m

f i e

l d

s h

l d

f i e
h

l d

l d

i t

t h

l f .

set

Th is pr o per t y
r et u

Name p

on

i t s e

li

e o r

r r e

ri

a n em
read

r it es t h
if

no

FPu

f o r
pt y
FS

e sy st em

sy st em

t h

li

st r ing
y

e ent it y

st

r esu
emI

ident if ier

ident if ier

ri

f r o

t h

FPu

li

is pr o per t y . I f

no

l t s.
w

ri

f o r

t h

is a v a il a b

FS

st

emI

e ent it y . Ag a in,
l e.

it

Appendices

TXmlEntity
R

ef erence C

ef er ences

TXmlEn

t o

pa r sed

ef

eren

t h is r ef er ence du
Listing A-1
TXmlEn
p

li

ct

lon

T
C
u
p

m
e

e
a

S
n

t e

f t

t .
w
o

st

ed b
ru

el o

ert

t h

ist ing

A- 1

l a

r a

no

tio

D
6

de ( if

) . Th

e ch

a v a il a b

l e) .

it h

t h

il dr en o

n.

r
:

e
B

oolean

Tru

e)

TXmlN

od

e;
o

r s e

e co

nst r u

TXmlD

oc

f u

na l it y . I t

oc

li

men

ct

ct

lon

ru

nev

er

no

a
i r

t i t y

r n

o f

r r e

t h

s u

r e

f e

r e

t ,

s p

s e

d
t s

i n

w
e

TXmlEn

i t h

t h
r e

i n

t i t y

t i t y

m
c

t h
u

class(TXmlN

r
:

t h

ent

il d no

ef

s u
e

b
v

f e

t r e
a

i l a

eren

r e

d
c

l s o

t h
d

e
e

t h

o b

l e

j ect

a r e

FN

ntF

r a

t h

gm

e;

ent

f r a g
m

e
B

oolean

ent

ent

o b

ent

ame

t h

a in D

t h

I nst ea d,
o

ri

t h

se

j ect .

FN

od

eN

ame;

e r ef er enced ent it y .

em

st r u

ent
b

it h

a ck

int o

nt d

A- 1

o u
l a

r a

ct u r e. I t s pu

it sel f ,

ist ing

de w
e

e do cu

t h
7

e h

a dding
tio

a l l o

ing

em

t o

ier a r ch y . Th

pr o
a ny

r po se is
t h

new

ides
a b

t h

e
is

il it ies.

n.

e)

t h

Tru

men

Frag

no des w
j ect .

e)

e m

des a r e pl a ced int o

reat

eN

e o

cu

oc

od

e m

od

dir ect l y .

e do

lass

is a dded t o

TXmlD

e do cu

t h

e na m

a sic no

eep

e b

( see

read

t side o

j ect s

d o

ides t h

cl a ss

o b

ef o r e a dding

e(b

ese
et h

a ppea r s in t h

e;

f r a g

t h

e m
c

l D

od

il d

des o u

eN

ds o

or

o d o f

ment C

reat

it s ch
o

t e

pr o v

t r a ct ed b

men

ent

il d do cu
et h

ex

st
n

ri

rag

ent

et h

ds

st

es f r o

rag

a l l

eren

der iv

Th e m

n
i n

t h

ef

men

I nst ea d,

e;

Frag

men

do cu

p
d

i n

et h

ame:

en a

x
a

l y

no t

ct ed o r

r e

e
l o

l a

t r ees o f

i
eN

Bu

u
,

do

co

st

reat

f r a g

TXmlD

er it ed pr o per t y

e su

l w

a nd

od

ent

a na g

nct io

eEn

on

ef o r e,

Listing A-1

e)

eep

t o

od

mentF

A do cu

class(TXmlN

or

ocu

f e

int o

n in L
ed ent it y

od

t i t i e

Th is inh

e na m
nc

e(b

t h

reat

rop

pl a ced
w

r e

e;

pr o per t ies

ntity

eN

i n

As

TXmlD

l E

reat

i t h

t s

descr ib
on

t h

Th e

ct

eren

st

ef

a r e

ss ( a s sh

p
c

o
a

ent it ies
e cl a

pl ica t e t h o se o f

h
d

O
T

co

lass

it h

TXmlN

a in D
t h

e h

men

t h

e C

od

ier a r ch
o b

j ect

reat

e;

it
y

is no t

inser t ed it sel f .

in it s pl a ce.
a r e sh o

eD

oc

n b

men

el o

Frag

men

Appendix

TXmlD

ocu

ment C

Th e pr im
t h

f u

nct io

a r y

TXmlD

t h

et h o

ent

oc

li

men

u
u

ct

oc

Ty

oc

omI

ad

o t h
X

alC

ct

lon

ct

reat

eA

ct

reat

ct

reat

ct

ct

ct

ct

n
a:

st

ct

reat

ct

et

ce

T
e

ea v

oreC

reat

eElemen

(sTag

reat

eEn

ef

reat

eProc

od

Elemen

sB

o b
t

o
A

del

alC

u
D

e it

at

a:

st

on

(sD

at

a:

rag

men

lemen

TA

j ect ,
) .

a s r epr esent ed b

Ano t h

t h

et

Ty

e D

er

im

. U

pa t ib

ct

alC

st

st

e(sN

ame:

ru

on

ame(sN

g
n

Tag

ri

F
e

alC

men

Elemen

ed

oreC

oc

at

at

t h

it h

t h

TA

e;

on

e)

ame:

'

'
n

TXmlN

st

od

e;

ri

ri

ommen

'

TXmlC

at

aS

ef

od

eL

st

:
rag

men

TXmlElemen
)

g
et

ru

'

'

st
t

on

on

;
t

eren

e;

TXmlTex
:

ec

TXmlEn

;
e

e;

TXmlC
'

ase;

=
men

st

=
st

TXmlA

oc

ase

(sTarg

st

a:

essi

at

j ect s pr o per t ies a nd m

e o b

at

a s
aS

t h e

ou

rc

ss ( descr ib

j ect

TXmlN

et h

o ds a r e discu

ssed b

el o

a ccess sh

l t

o f

o r
L

l o a ding

oad

cl a ss t h a t

l d b

e t h r o u

pt y

ca n b

t h

e D

FA

a n

e u

do

cu

men

et h
m

sed t o

oc

emory

ed l a t er ) . An em

del
o u

r esu
e

do cu
o

ent
g

ds

o f

no

de ex

t h

ener a t e a
pr o per t y

ent
e

ist s
new

o f

t h

cl a ss.
alC

TA

TA

oolean

read

alC

TA

ri

ns w

it h

in t h

e no r m

a l

t o

inst ea d o

;
Tru

e t o

o u

r r o u

nding

a s False ( t h

sing

l e w

su

e def a u

t pu

l t )

t o

r t

t h

em

ATA sect io

se t h

it h

e C

t h

ATA sy

nt a x

e D

r o

r t y

i s

t h

s p

i f i c

t i o

a s

ATA t a g s.

E
A

po r t a nt

e;

ormat

c
st

TXmlD

e(sD
N

Tru
i

ame:

eren

cr ea t ed

is pr o per t y
t

oad

ent . Al l
m

el cl a

od

in t h

b
8

e;

a r e
e

ll;

reat

t h

st

TXmlProc

ame:

ent s

oolean

essi
'

men

t
t

eA

:
e(sN

men

'

or

pl a in t ex
L

t
n

t h

A
g

oc

init ia l l y

et

d
I

eD

ad

reat

oc

del

des a r e co

D
oc

(sD

emov

a dd t o

ad

ec

eTex

ad

A- 1

alC

ommen

eC

ad

eC

c
e

A
r

aS

Ty

oolean

st

eep

ent

n.

ad

at

tio

ad

r a

ri

l a

j ect

od

men

e(b

eN

oolean

e:

ase:

e no

mp

t h

des t o

omI

no

r es t h a t

TXmlD

cu

ist ing

TXmlElemen

ri

on

e do

in

oreC

ent

ed

at

ormat
A

oc

oolean

on

ert

TA

FA

;
e

rop

e
d

d
i

j ect

i
r

at

o b

r
r

do cu

r
e

e)

od

ed

t h

nt d

lemen

Elemen

lemen

TXmlD

o cu

is v ia

;
A

men

mp

(TXmlN

e:

mp

e;

o cu

l D

roy

ru

M
( sh o

ormat

f t s D

er .

st

TXmlO

est

omI

t h r o u

D
r

at

e D

ided h

reat

class

t h

cl a ss
t

st

on

cr ea t e new

er e ensu

ct

is cl a ss is t o

Th e TXmlD
c

ds pr o

co

sD

st

men

a nd ea ch

Listing A-1
TXmlD

lass

a ccess t o
oc

n o

f a ct o r y
do cu

A:

Appendices

rop

ert

I f

r et u

oc

r ns

t h

ex

ist s f o r

specif ied,
T

Ty

TD

e:

TXmlD

co r r espo

a nd f o r

oc

men

l o a ded X

nding

TM

Ty

TXmlD

do cu

do

oc

ent s,

read

cu

men

it

FD

ent ,
t

Ty

r et u

oc

Ty

e;

t h is r ea d- o

no

r ns n

de.

nl y

I f

pr o per t y

no

TD

is

l.
i

I P
Y

c
m

r y

rop

ert
G

nl y

O
S

i n
i s

men
t

omI

mp

e
i

mp

ert
w

ri

r t

t y

at

on

im

r e

- o

l a

l y

r a

t i o

f o

i n

TXmlElemen

read

t o p- l ev

at

at

el

el em

ent

r ea ch
is m

on

it

o r e co

Tx

in t h

ia

t h

nv

mlD

e do

e C
h

cu

ld

ent

it h

t h

es pr o

od

is r ea d-

per t y

o f

t h

enient .

omI

mp

lemen

at

on

read

pl em

Format
e

e,

ed

FFormat

t h

nding

i s

on

lemen

a t t ed f o r

mat

t h

ert

ed

ent a t io

r e

at

ed

s e

r ea da b

n f o r

i n

t h

t h is do cu

ent

t h r o u

t h

is r ea d-

i n

l p

f t

oolean

ses t h

is inv

ent s a nd t ex
w

r d

h
a

i ,
c

t h

read

i s

t t r i b

t e

FFormat

ed

ca u

l e st r ing

il it y . Th

e el em

sing

r v

on

is pr o per t y

t h

it h

rop

L
g

w
c

h
t

ov

it h

e X

o l v

ener a t ed b

es a dding

t . W

no

t h

e D

t o

l ine f eeds a nd indent a t io

en False ( t h

e def a u

l t ) ,

t h

e o u

t pu

r ea k s.

l t

o py

t h

cr ea t e a

i f i c

e:

t i o

st

a t t r ib
Q

oreC

lon
d

e,
t

d
I

or

eC

as

ri

r o

r t i e

r e

er y

ing

ame

ri

read

FI

ri

( X

t e t o
M

ase:

L
B

b
Q

e u
u

sed a s t h

er y

oolean

a ng u

e el em

a g

read

e)

FI

ex

ent s

I D

pr essio

oreC

e G

et

s w

en q u

ns.

ase

ri

ase;

elec

on

e;

co

nt r o

eN

l s m

es m

od

er ea s set t ing

erri

s p

a nd X

oreC

,
t

ri

Th is pr o per t y
a nd S

def a u

S
I

ri

y
n

ert
FI

pecif y
w

t
i s

ca n a l so

lemen

mp

en Tru

or

t h is pr o per t y

e D

omI

y
t

r r o u

FI

e
r t y

rop

m
e

Elemen

o u

mp

a ppea r s a s a
O

u
p

Elemen

lemen

lemen

su

r o

pr o per t y .

f o r m

e sing l e,

ent ,

omI

nl y

rop

l d

c
r e

a
f i e

Access t h
o

t e

men

e t h

ert
FD

a
i s

pr o per t y . Y

do cu
rop

r e
t h

oc

oc

et r iev
o

c
c

et

s i n

it

t o

od

e(

et h

a t ch ing
o

ds. I f

False ( t h
b

eep

t h r o u
set

t o

t h
e,

Tru

e def a u
B

l t )

oolean

Elemen

a t ch

Tru

e)

sB

Tag

es a r e ca se- insensit iv

enf o r ces m
=

a t ch
:

ing

TXmlN

e,

n ca se.
od

e;

e;

e do cu
new

do

ent
cu

no
ent .

de a nd,

if
b

eep

is Tru

e,

a l l

it s ch

il dr en t o

Appendix

on

Bu

reat

il d a

eA

new

na m

e o

a n

el em

A:

e new

ent

ri

TXmlA

t h

t
b

eco

on

G
m
f

reat

ener a t e a
et h

on

C
D

Th is m
O

a l so
f

pa r t

ent

f r a g

on

a s t h

e ch

oc

men

on

t h

new

e r eq u

on

at

on

f o r
m

reat

on

e g iv

a ppea r

no
roc

ed

m
u

re

t o

t h

in t h

ing

emov

pl et el y

em

ri

needs t o

e;

pa ssing

se

t h

in t h

e a dded t o

el em

ent s

'

t h

'

e su

TXmlC

ppl ied t ex

ne a s o ne o f

a:

st

ri

ommen

t h r o u

it s ch

'

'

t h is

il dr en.

at

t h

ec

men
t

no

ld

t h

e(

st r u
n

t h

ch

et h

et h

ame:

st

et h o

ier a r ch y ,

d,

pa ssing

a no t h

er

no

eco

es t h

d.

a r e

ent

in t h

de. I f

is

e v a l u
a u

a n el em

ri

d o f

ca n

r e.

el em

men

t h is

TXmlElemen

il d

t o

o u

ent .

Frag

it h

is m

a l so

ct u

a dding

a n el em

men

de
O

de f o r

is ca l l ed. Y

d o f

a in D

it

sN

ch il d o f

new

Elemen

en it

no

ri

no

on

oc

t h a t

a s a

et h

e m

de it sel f ,

eren

men

st

TXmlD

Frag

ame:

e D

ec

de w

on

t side o f

aS

e no

a dded t o

ent

ef

'

ef

eren

e no
c

e inser t ed,

de u

sing

a nd a dd t h

st

ru

XmlProc
essi

t h

e D
od

t o

ent

pl a ced
e o f

t h

a t ica l l y

no

de.

t h

is m

e new

no

et h

de t o

d. S

pecif y

t h

e D

n.

e t a r g
O

e(

et

st r u

sD

at

new

q u

st

Tag

sTarg

ru

g
c

st

ri

o u

a dd t ex
sN

st

no

de v

n a nd it s co
il d o f

de,

t o

ru

on

e ch

ca n u
t

et

st

no
t

I
t

a ppl ica t io

a:

ame(

(
n

ct u r e a s t h

TXmlTex

ick l y

on

essi

. Al t er na t el y ,
t o

sB

ent s t h a t

e. U

se a

e o r der
no

d,

'

'

t h

se t h

e C

a n el em

ame:

st

ia

t h is m

a n ex

it h

ri

on

et h

d,

a nd. Ag a in,
ist ing

no

TXmlTex

de.

e specif ied co

nt ent ,

reat

Tex

eC

ld

ri

ent .
n

e el em

en na m

del

TXmlA

et h

t h

t h

ist ing
at

aS

men

sTag

t o

ent

Elemen

e;

ces a

e D

st

at

des o u

essi

it h

t o

e o f

du

ri

de is cr ea t ed b

de t o

t h

'

eTex

de st il l

de w

TXmlC

TXmlProc

a n el em

eL

a t ch

d pr o

et

od

ind a l l
t h

o d o f

TXmlN

et h

is m

no

no

eC

e na m
no

a dding

et h

new

in t h

Th is m

sD

nt ent

Frag

eren

eProc

ri

e new

e ent it y

reat

pr o per t y .
t

ef

t h

st

oc

TXmlEn

ener a t e a

a dd t h

on

co

e no

ir ed po sit io

a:

pa ssing

men

reat

eEn

e o f

sD

il d a

t h

ld

e do cu

e C

reat
t

e na m

a t

t h

t h

j ect

t h

l t ing
t h

sing

st

a n ex

new

a na g

Elemen

it h

TXmlEn

Bu

e. Add it

il d o f

a dded w
u

eC

eElemen

ent s na m

de t o

e t ex

TXmlElemen

el em

t no

ent s a r e no t
m

reat

a:

en

TXmlD

sed inst ea d t o

at

ri

d.

sD

ec

st

o f

ces a

ent

t h

oc

et h

de u

om

no
aS

du

eD

new

on

reat

A new

e C

at
i

pecif y

reat

t a in

D
t

d pr o

. S

se t h

o cu
u

eC
ec

on

reat

et h o

e D

e new

at

aS

ame:

e no
t

o cu

t e. Th e r esu
m

ommen

o d. Add t h

TXmlC

t h

eC

new

f t s D

sN

SetAttributeNode m
f

e(

ri

a t t r ib

t o

o f

a r e descenda nt s o
na m

pt y

pr e- o r der

des a r e f o u
eA

e o

nd,

t o

t r a v er sa l

a n em

t h

e do cu

r et r iev

pt y

l ist

a l l

it s ch

t h r o u
is r et u

ent

e a l l
h

t h

no
e do

a nd t h a t

cu

ent

e do cu

ent

o f

il dr en w

it h

t h is m

et h

des

t r ee. I f

r ned.

ll;

t h

h a v

des. Th e no

d.

Appendices

O
T

O
M

emov

e
n
G

et

f r o

f u

TXmlD

s e

t h

ll

t h

i s

r t

t h

s p

t h

f
c

t h
e
t

mlNod

r e

l i t y
T

n
e

- a

lemen

t i o

s p
t e

s s ) ,

t h

t h

l i c

t h

c l a

Name m

ag

v
d

r s i o

i f i c

Th e TXmlD
t side

omI

o f

mp

TXmlD

omI

li

ct

Th e m
u

mp

it h

do

T
t

i
X

b
S

eat

re(sF

et h

et h

e if

desig

ent a t io

e D

TXmlO

t a sk .

el co

et

eat

eE

i f i c

t i o

a y

eEv

t h

is

a t
m

r e

t h

t h

lemen

lemen

i
F

,
t

e
I

mp

or

m
d

or

ceO

eat

t h

eA

e m

Nod

er

o
t

d
r

,
i

a
b

t h

ocu

t h

e,
t

men

e
n

ist ing

A- 1

it s

a b

pr o

ides f u

il it ies

t h r o u

nct io
g

ns
t h

ent .
n d

on

l a

st

sV

im

r a

tio

n.

ersi

r eco

n 1
.

j ect

on

a r e l ist ed b
ri

n su

el o

oolean

ir ed v

l e a nd False o t h
o

ppo r t s cer t a in f ea t u

e a nd r eq u

a t ch

o f

oolean

st

r e na m

niz es t h

o b

is a v a il a b
t o

ent a t io

f ea t u

l a nk

on

pl em
l a r

na l it y
b

at

re,

l O
=

t
r

eEn

en

=
f

sPu

li

sS

st

class(TC

od

ct

ct

et

ErrorC

ct

et

Preserv

ce

et

ou

el

o
ce

ar
n

ct

n a ny

e f ea t u

su

er w

n,

it

ise. Th

ppo r t ed v

r es XM

r es

er sio

er sio

a nd H

n.

TM

ea ch .

l a

(oO

r a
n

ex

m
C

el

su

ent ,
E

ppo r t ed b
it

is

o f t

per f o r m

t ensio

t o

l ef t

pa ck a g

st

ec

st

TO

emI

eg
e:

TO

e:

e,

t h

s t h is necessa r y
t h

ct

;
e

ct

TPreserv

eS

er;
TPreserv

e(Preserv

eS
eS

p
p

ac
ac

eEv
e:

en

is

t h

;
o

t h

t o

n.

er:

ac

A- 2

(oO

eS

ec

t h

oolean

tio

er:

en

on

Preserv

Preserv

ac

a n

e l ev

do cu

I n

is

is t h
a

ist ing

cl a ss

ich

na l it y .

eS

n in L

omp

cr ea t ing

) .
e

n,

o f

nct io

( sh

;
g

a y
f u

j M

st

ent ir e
ev

en

er sio

nent

ame:

tio

lemen

r r ent l y

is

ac

el

nta

specif ica t io

t h

po

ersi

e l ef t

no

Ev

cu

pa r t icu

n cu

ide

l ea st
e

lass

do

sV

nct io

a nd v

el

ent l y ,

a ccess

mp

is D

f u

ame,

t i o
r o

o u

re,

en a

esolv

eS

sElemen

s p

omponent
ev

od

n ( a t

Listing A-2

t h

def ines

pr o

o nseq u

TPreserv

L
n,

t o

specif ica t io

TXmlO

ent a t io

l e

sFeat

e) ,

el C

omI

iv

t h a t

pl em

ner s

sN

er

Th is im

eat

o d. G

et er

pl em

TR

class

re(

n pa r a m

od

I m

e TXmlD

ine w
is m

er sio

j M

o f

cl a ss ( see L

on

pr o per t y
l D

on

r ns Tru

ince t h
im

s .

ent .

t h

at

at

( ca se- insensit iv

TXmlO

cu

on

asFeat

t h

r et u

ds o

et er m
w

lemen

at

asF

on

lemen

et h

mp

a ny

lemen

Listing A-1

t h

omI mplementation C

o u

i s s i n
( w

eA

;
ac

eEv

en

Appendix

li
n

st

ct

ct

ce

u
f

u
b
p

oc

ErrorC

Errors:

ct

et

ct

oad

at

ct

oad

emory

ct

av

li

sh

ormat

ou

oc

er:

f t s D

o cu

ent

j ect

del

ad

et

TS

ri

st
r

ad

Errors;

men

st

ad

et

XmlD

oc

men

eg

er)

ri

rc

e:

ri

men
r

ErrorM

;
d

(w

ou

rc

e(sS

ou

em:

PC

ar)

le(sF

le:

st

st

ri

e:

et

ri

oreC

oolean
r

ad

et

oolean
r

ase:

ormali

eD

at

a:

ormali

eD

at

Passw

ai

serN

or

f o r
or

o u

co

po

ert

rop

rop

ert
ri

u
co

ri

oreC

ormali

ed

et

Ev

en

ord
w

oolean
i

st

TR
y

esolv

m
a

ent

et
e

ad
G

et

ad

r
ad

TC

nt o

eD

at

t
r

ad

et

t
r

ad

esolv

et

Passw

et

oreC

ase;

Preserv

eS

ac

eEn

es f r o

ase

el co

a b

omp

in co

Passw
F
U

ai

en

seErrors

serN

on

f o r m

po

e(

e co

ame

,
t

it

en r eq u

w
e

de. Al t er na t el y ,

ai

seErrors;
ame;

n t h

en set

o u

ord

serN

ca n a ppea r
ir ed. Th

er:

nent

t h

e co

po

nent

it s pr o per t ies a nd

ca n inst a nt ia t e a

co py

er w

TC

f r o

omp

ise,

t h
u

on

en

e pa l et t e,

se t h

is co

et h

ds a r e l ist ed b

ov

erri

o u

do

no t

nst r u

ct o r

t o

e;

h a v

el o

e t o

cr ea t e a n

ener a t e a n o b

j ect

se.
;

ov

e o b
O

nent s pr o per t ies a nd m

po

roy

t h

men

erri

j ect

j ect s

nt o

nl y

a u

o u

read

o u

e;

t o

f r o

pr o per t y
Y

del

a r e

e f o r m

il it ies.

FD

r sel f ,

r em

em

a t ica l l y

dest r o

t h

e co

nent

oc

po

men

er
y

t o

t h

e do cu

sh

l d

t h

nl y

en

p w

o u

en y

o u

dr o p

t h

ides a ccess t o
o

pa l et t e.

pr o v
o u

f r ee it

ed

se

ent

do cu

in m

ent

em

o r y

t h r o u

a nd

t h

is

e nu

ou

er

o f

Errors:

et r iev

ormat

eg

er

er r o r s t h a t

read

o ccu

et

r r ed du

ErrorC

r ing

ou

pa r se t h r o u

t h

is r ea d-

pr o per t y .

ert

ErrorC

nl y

et

eEn

st

r sel f . O

oc

it s

ind t h
o

en

ord

reat

nent

ert

eEv

ed.

ech a nism

rop

;
oolean

ac

est

Th is r ea d- o
a l l

ad

cr ea t e t h

f inish

rop

n
:

men

eS

o u

a r e
m

TPreserv

t h

I f

e;

od

dr a g

del

de.

e dr o pped o

ac

ir ed do cu

ad

eEn

ou

e:
p

eEn

ame:

o u

ru

ac
eS

seErrors:

inst a nce y
o

esolv

is cl a ss der iv

A TXmlO

est

eS

Preserv

oolean

et

esolv

ad

oc

oolean

et

e;

ErrorC

Preserv

oolean

et

ed

(c

sg

aS

eToF

learD

oc

y o u

er

ru

eg

en

ad

ed

on

omp

I f

st

TC

ormat

in co

ent ir el y

on

et

e r eq u

roy

men

XmlD
e

l o a d t h

est

e(A

ince t h

reat

pa l et t e a nd b

st

co

A:

e a

y
t

l ist

Format
e

et

pl ica t ing
nt r o

l s t h

o f
t

TS

t h
ed

Format

t h

e f o r m

ri

st

read

e er r o r s f r o m

sa m

u
t

t
ed

u
O

t
u

:
t

oolean
t

o f

a ny

it h

t h

read

is r ea d- o
G

et

nl y

Format

pr o per t y .
t

ed

e pr o per t y

a t t ing

FErrors;

pa r se w

o
X

n t h
M

e
g

do cu

ent

ener a t ed f r o

o b

j ect ,

t h

e D

t h

is pr o per t y
O

. W

en

Appendices

e,

Tru

l eg
p

rop

ib

ert
S

indent a t io

l e. W
y

et

ert
S

ri

ri

a t t r ib

et

t e

Ano t h

l ine

( t h

r ea k s

e def a u

e:

st

ri

l t ) ,

a r e
t h

a dded

e t ex

read

t o

is j u

et

st
A

a k

ne l o

ri

t h

ng
u

t ex

o r e

st r ing .
e

ri

e;

pr o per t y

n t h

is

t r ea t ed

a s

t h

oreC

oreC

er

e do cu
e

I D

ent

a t t r ib

o b

j ect ,

t e

t h

f o r

is o

ne det er m

sea r ch es

ines

it h in

t h

q u
rop

ca u

er ies. W

ert
FN

m
g

ert
G

eD

h
O

eD

at

ev

ent

su

ml:

sp

ac

et

e do cu

no r ed
l t ) ,

in

oreC

ent

o b

a t ch

es

ca se is u

oolean

ase

ri

j ect . W
u

sing

sed in det er m

read

FN

en Tru

ormali

ining

eD

e,

a nd
a

at

t h

is

a t ch .
w

ri

a t t r ib

ac

e:

TPreserv

ri

nce
t h

l t s in ex

t r a

e pa r se pr o cess. O

t h

it e spa ce b

er w

ise,

a l l

eing

t ex

st r ipped

da t a

is sent

l t ) .

er s

e r esu

Tru

ac

ppl ies

t h
ig

e def a u

in t h

eS

eS

t r ig

I t

a:

pr eser v a t io n set t ing ,


x

t o

da t a

Preserv

pr o cess.

read

is pr o per t y

Preserv

Th is

t o

a s is ( t h e def a u

et

ca se

at

ch a r a ct er

t h r o u

oolean

en False ( t h

t h

co pied f r o

ses

ormali

et t ing
f r o

rop

ormali

ase:

ase;

pr o per t y

pr o per t y

a nd

ier a r ch y .

rop

en False

r epl ica t ing

h a t

Al so
w

f o r

et

ea ch

na m

a sed o

t es.

ed

ev

en

eS

enco u

el em

ent

ormali

a t t a ch

eEv

ent

t h a t
e N

ac

Preserv

el em

n t h

An

eS

eD

ent

read

ac

e;

nt er ed

at

pr o per t y

h a ndl er

cu

t h

t h

in

a nd

pa r se

r r ent

spa ce

a nd a ny

a y

a l t er

t h

pr eser v a t io n f l a g .
p

rop

ert
FO

t er na l

ese y

t h

e pa r ser

ert

rop

ai

et

t h

po

ert

rop

st

TR

a l o

t h

esolv

eEn

et

esolv

ed t h r o u

ng

it s pu

o f

t h

ri

st

e r eso l v
w

e a ct u

l t

ri

it h
a l

pa t h

t o

e h a ndl er

f u

read

Ev

t h

en

is ev

read

ent . I t

l ic a nd sy st em
t h

e r eso u

nct io

et

eEn

pa sses a cr o ss

ident if ier s. U

r ce a nd send it

sing

a ck

t o

n.

Passw

ord

ri

a n X

sed t o

ns t h r o u

pl em

( t h

serN

serN

f il e f r o

a n F

g a in a ccess t o

t o
g

TP

t h a t

oolean

e t o

Tru

t o

t h

e def a u

sit e,

t h

is pr o per t y

est a b

l ish

es

sit e.

read

FR

ai

seErrors

ri

ame:

h a v

e t h

e a ppl ica t io

e pa r ser

n. O

t h

er w

pa ss TXmlParserError
ise,

t h

ey

a r e t r a pped b

t h

is

l t ) .
st

ri

read

et

serN

ame

ri

ame;

ent ing
do

XmlD

t h

cu

oc

ener a t e a n X
nl y

i
w

seErrors:

nent
U

ert

ord

ord

o r d u

r et r iev ing
p

e ent it y ,

is pr o per t y

co

et

a s t h e r esu

ai

cept io

seErrors;

ex

rop

t h

en r ea ding

ert

eEn

ca n a dj u

Passw

e pa ssw

FR

e o f
o u

Passw

h
t h

eEn

r ef er ences ca n b

e na m

et

esolv

esolv

t h

t h

rop

pr o per t y .

e Passw

ent s f r o
men

do

m
st

cu

pr o per t y ,

ord

TP
ri

ent

sit es. I f
g

f r o

read

t h

e D

t h is o

no t
G

set ,

ne set s t h e u

an

et

XmlD

in m

on

oc

em

men

mou

r y

ser

I D

is u

sed.

f o r

it h

t h

is r ea d-

Appendix

roc

ed

D
co
f

on

o d. D

z er o

t o

on

su

on

su

Th e C

ch

it

t o

a t

t h

e su

e do cu
t h

st r u

o u

a k

Listing A-2
ri

en

ou

t h is m

v a l u

t h

o f

del

do cu

em:

PC

et h

ri

ri

ent

ca n t h

en b

pa r se

t h

pr o cess

t h

it h

e index

oolean

e pa r ser

l t s

t h

r a ng

is
es

se t h

e specif ied

a s H

TTP

do cu

o r

ent

s a r e enco u

is

nt er ed.

pa r ses

r et u

n t h

e r ea so n( s) .

oolean

it

o r

t h

l em

t h

es,

if

pr o b
f o r

ne

n. Ag a in,

f il ena m

r esu

is

es t h

r ned if

ar)

d,

a s l o ca l
Tru

sFi

le:

st

ri

in m

em

t y pe decl a r a t io

a inder
a n F

is w

TP

pr o b

r y ,

do cu

r ns Tru

oolean

n is no t

el l - f o r m

sit e t o
a

ed X

is m

e if

ent

su

el d

ccessf u

in

a nd

. Y

l em

et h

incl u

d t o

ded in t h
o u

r it e t o . Th e f u

r it e it

e do cu

ca n specif y

nct io

n r et u

eit h

r ns Tru

t o

ent ,
er

e if

it

a r o se.

er:
e

ame,

sPu

on

ec

en

sN

ot

at

o u

)
o

(oO

er:

li

sS

st

emI

sN

=
p

ce

(oO

er:

li

sS

st

emI

sN

=
p

ce

(oO

er:

li

ce
v

ar

en

st

en

b
=
i

;
p

ent

o u

el l

cu

o n t h

g h

it

r sel f

h a ndl er s
dw

do
o u

it h

es

a nd u

se

it .

e co

ent s
do

po

Th e
nent

pr o j ect . Th is cl a ss a ppea r s in

sS

st

ce

)
f

Preserv
r

st

ec

ct

st

ec

at

on

ame:

ec

g
b

(oO

er:

TO

emI

st

st

er:

TO

:
t

ec

b
r

j
i
sV

st

)
o

ct

st

)
o

ct

ct

ct

)
o

ct

ec
n

ec

oolean
TO

ec

TO

e:
er:

ame:

TO

er:

ot

;
on

TO

t
i

ec

at

(oO

ct

ct

ot

d
w

(oO
j

TO

emI
(oO

ec

ct

sS
d

ce

en

st

TO

sPu

ce

ame,

li

ev

e pa r ser

ca n a l so

oolean

st

p
b

M
a l t h

n.

sPu

tio

at

Ev

r a

(oO

ot

e:

l a

en

En

alu

ce

rEv

r se

eEv

XM

ame:

l P

sPu

ame,

st

inco r po r a t e int o

TO

pr o cess X

n- v a l ida t ing ,

ist er ing

A- 2

r eg

ed

ist ing

t o

is no

ca n a ccess t h

er:

ac

( see L

o u

sI

il t - in pa r ser

en

lEv

pr o cessing

t o

f t s pa r ser

ent s. Y

nent

Ev

n a
S

ec

(oO

sEn

en

t h

e Errors pr o per t y

io u

d inv

eEv

j ect

e Error pr o per t y ,

er

lEv

sI

sV

et h

ec

ame,

d. A new

er)

e:

eEn

rc

alu

sS

l,

sN

e(

ame,

f r o

t h

esolv

ce

ec

sN

sD

essI

en

sElemen

eg

es

lEv

on

ec

eS

st

Ty

eD

et h

essa g

po

oc

on

e r el ies o

e:

TProc

TV

eEv

TPreserv

TR

alu

ent

ea sy

sV

sEn
TN

ent

nit .

ame,

TEn

e a b

r n

ed do cu

sN
TD

TN

ing

il it ies o

ct u r e. C

it

t h

le(

el l - f o r m

e XmlParser u

eck

o u

pa ck a g

omponent

o f t

do

is m

ppl ied l o ca t io

e o r

pa l et t e,

rc

pr ev

e r em

TA

ou

ch

eToFi

TXmlParser co

t h

ou

emory

t h

f o r

t h

er r o r

r et u

ca se,

av

o cu

l o a ded a nd False is r et u

f il ena m

e D

eck

it h

cceeded a nd False if

t h

f t s D

e pr o cess,

t o

TXmlParser C

int o

aS

cr ea t ed y

f il e. Th
o u

no t .

a v ing

l o ca l

sg

a l

l l y

o r y

a l t h

at

s.

False if
f

idu

t h

oad

il a r

em

il es a r e ident if ied eit h

e l a t t er

on

im

o f

ccessf u

ErrorC

ent . F
U

I n t h

men

pl ica t ing

oad

ea r t
m

TP

ErrorM

indiv

et h

do cu

et

f r o
c

oc

e ent ir e D

Th e h

learD

ct ed.

et r iev
m

nst r u

re

el et e t h

A:

g
alu

;
o

f
e:

o
st

j
r

e
i

ct
n

)
o

Appendices

TXmlParser
p

ct

ad

li

esp

orab

leW

esp

ct

reat

e(oO

er:

ac

e:

ac

st

ct

ErrorC

Errors:

ct

ct

ParseD

at

ct

ParseM

emory

li

sh

st

est

et

TC

eg

er
r

ad

et

ri

st
r

ad

Errors;

sg

(w

eg

ErrorM
aS

ou

rc
(c

ormali

eD

at

a:

ormali

eD

at

a;

ri

e:

TA

ri

e;

TA

ec

on

TA

ec

on

arD

TV

alu

F
y
F
y
F

leW

oolean

ri

esp

ac

e;

ommen

oc

Ty

eD

ec

l:

oc

Ty

eD

ec

l;

En

oc

men

En

oc

men

En

Elemen

En

Elemen

En

ec

l:

En

ec

l;

on

XM

En

on

XM

En

ot

at

on

ec

l:

ot

at

on

ec

l;

Preserv

eS

ac

e:

Preserv

eS

ac

e;

Proc

st

ad

Proc

st

ru

esolv

eEn

TR

esolv

eEn

art

oc

men

TN

art

oc

men

art

Elemen

art

Elemen

;
i

n
B

oolean
i

y
F
y
F
y
F
y
F
y
F
y
F
y
F

O
y
F
y
F
y
F

TV

essi

Passw

ai

serN

essi

ord

ame:

st

ar)

oolean

ad

eEv

en

ad

ad

en

t
r

oolean

ormali

ad

ommen
t
r

ad

TA

arD

ec

lEv

en

TN

ot

Ev

en

ad

eEv

en

t
r

ad

ec

lEv

ad

at

on

ec

ot

en

TN

lEv

en

En

Ev

XM

on

TPreserv

ru

on

TV

ac

esolv

eEn

ot

Ev

en

eEv

en

t
r

ad

Passw
e

ad
F

ad

eEv

TProc
t

:
w

alu

on

eS

Ev

ad

ad

ai

serN

on

ommen

oc

Ty

eD

oc

men

arD

ec

at
t

a;

En

ec

ad

on

XM

En

ad

ot

at

on

ec

Preserv

eS

ac

st

ad

rEv

en

essi
t

oc

art

ru

serN

on

esolv

men

Elemen

Passw

F
e

st

art

ad

t
g
F

seErrors

ame

ec

en

Proc

ord

Elemen

essI

En

en

ri

at

En

en

TN

at

eD

eD

alu

ad

Ty

oc

en

TD

TEn

st

en

eEv

TV

seErrors:

n
)

eEv

eEv

alu

i
g

alu

st
r

ou

st

a:

PC

TV

er)

ErrorC

e:

rc

at

ou

em:

N
y

e(sS

en

on

orab

omp

en

TS

eEv

ou

alu

TV
r

roy

leW

en

O
F

orab

on

omp

class(TC

co

eEn

ord

ai

seErrors;

ame;

I P
T

o
C

s e
h

t e

S
I n

f t s

c l u

p
e

r s e

i s

Th e pr o per t ies a nd m
( m
c

o st
on

o f

st

ru

o r
t h
b

ru

o u

et h

co r r espo

or

ea siest

il d a

I f
w

ich

en set
u

est

reat

se,

i n

a
X

ds o f

or

e(

roy

cr ea t e t h

en f inish

ed.

t i o
p

n
p

oO

de f o r
ov

e pa r ser

,
e

l o

s i n

it h

er:

TC

t h
omp

n t im

erri

y o u

a
g

t h

X
C

r
d

on

t h

e. O

en

P
o

po

f t

er w

s c

f f e

nent

e TXmlO

ese co
t h

f o
U

o se in t h

ne o f

desig
o u

TXmlParser co

dr a g - a nd- dr o p o

in co

est

c
r a

nd dir ect l y

it s pr o per t ies a t
pa r ser

r i n

a r e sh
j

s c

r i b

n b

el cl a

od

i n

el o

ss) :

po

nent s f r o

ise,

se t h

is co

t h

e pa l et t e,

nst r u

ct o r

t o

se.
e;

r sel f ,

do

no t

f o r g

et

t o

r el ea se it s r eso u

r ces

Appendix

rop

ert

ErrorC

ind t h

e nu

A:

ou

er

o f

f t s D

o cu

eg

er

read

er r o r s f r o

t h

ent

et

j ect

ErrorC

del

ou

e pa r se pr o cess w

it h

t h

is r ea d- o

nl y

is r ea d- o

nl y

pr o per t y .
p

rop

ert

Errors:

et r iev

e a l l

t h

TS

ri

e r ea so

ns f o r

st

read

er r o r s du

FErrors;

r ing

t h

e pa r se t h r o

t h

pr o per t y .
p

rop

ert
FN

ormali

ormali

t r ip o u
t o
O

eD

ex

arD

eD

at

t r a

e.

Tru
n

t h

a:

oolean

it e spa ce f r o

er w

a ev

at

at

read

FN

ormali

eD

at

ri

a;

ise,

ent

a l l

( t h

t ex

t h

e do cu

e def a u

is

ent

pa ssed

l t ) . C

t h r o u

en t h
g

ATA sect io

is pr o per t y

nch a ng

ns a r e no t

is set

ed

t o

t h

a f f ect ed b

e
y

t h is pr o per t y .
p

rop

ert
w

ri

ich

el em

rop

ri

ri

D
t h

rop

o r m
o f

TA

ert
n

a l

t ex

FO

t u

h a ndl er
rop

ert
FO

nco u
ev

oc

t o

rop

ri

ent

r eq u
rop

ri

y
t

a s ev

eceiv
na m

eEv

en

read

t h

a:

TV

ent

TV

e do cu

Elemen

e a nd v a l u

on

t h a t

art

e ev

nt ent

FO

ri

e,

ev
t

a nd a

ent
ent

f l a g

t h r o u
f o r

t h

t h

eir

indica t ing

is ev

co
t h

ent ,

nt a ining

e o r ig

in o

h a ndl er .

alu

eEv

en

read

FO

TA

ec

on

e do

cu

sect io
alu

ca u

ne ev

ent

t r ig

er

t h

is ev

ent ,

h ich

r eceiv

es

n.

eEv

en

read

ses t h is ev

ent

t h r o u

alu

eEv

en

TV

o f

t h

ec

e do cu

FO

arD

at

ri

ent

t h

t o

f ir e. E

e su

a ch

co

ppl ied pa r a m

read

FO

nt ig u

o u

s sect io

et er .

ommen

ri

TD
e

ent

men
u

pl et e y

no t a t io

is o

TN
t

t h

e do cu

ent

is a v a il a b

l e w

it h

in a

Ty
D

eD

oc

Ty

ec
p

lEv

en

ec

l;

eD

t h

e do cu

a cr o ss

ns

read

n in t h

ent

t o

t h

decl a r ed

e do

cu

t y pe,

ev

in

ent

t h

ent

ca u

a nd it s pu
h

a ndl er .

TD

a r e

ses t h is
b

l ic a nd
o t e

t h a t

no t if ied

in

ne.
ot

Ev

en

read

FO

En

oc

men

ent
r

t y pe decl a r a t io

pa ssed

men

o u

e o

ef o r e t h

oc

f r o

oc

FO

e na m
a r e

ent

ent .

a nd

oc
d

l:

ri

er . Th

co

t h is ev
eD

ec

En

co

nt er ed in t h

on
t

e ent ir e do cu

t o

ri

h a s b

een pr o cessed,

pr o cessing

a nd t o

t h

is ev

r el ea se a ny

ent

r eso u

f ir es. U

se t h

is

r ces no

l o

er

ng

ir ed.

ert
w

Ty

ed t o

o ccu

En

FO

nce t h

ev

at

ent it ies

t h

ec

ident if ier s

ent s t h a t

ert
w

co

eD

t r ig

npa r sed
ev

ec

nt ent

nt er ing

ent

sy st em
u

oc

Ty

t e na m

ns f r o

a l

a t t a ch
O

t h

TA

ommen

ommen

e;

a;

Th e ent ir e co

arD

at

t ex

TA

t es enco u

a ppea r s in o

y
C

nt ent s o

arD

e:
u

ef o r e

ATA sect io

ert

rop

e ent ir e co

FO

t
b

a r e pa ssed t o

FO

ri

e a t t r ib

e,
n

a t t r ib

f ir es

v a l u

ert
w

t
n

ent . Th

t h a t

FO

espo nd t o
w

En

FO

d
En

Elemen
d

e no t if ica t io

e o f

t h

ent s b

e el em
et w

TV

Elemen

n o
ent

een t h

t h

is su
is o

alu

eEv

en

read

FO

En

Elemen

e end t a g

f o r

ppl ied. Al l

a n el em
t h

e co

ne a nd it s co r r espo

ent

t h r o u

nt ent
nding
O

o f
n

t h a t
t

t h
el em

art

is ev

ent . Th

ent

Elemen

a ppea r s
t

Appendices

rop

ert

FO

En

En

npa r sed

t r ig

er

t h

ec

ec

ent it y

is ev

ef o r e t h

rop

ert
FO

h
H

e O

ev

er ,

t h

a v

Ty

orab
leW

it e spa ce o u

ert
FO

on

Th is ev

pr o v

ide so

ert
FO

ot

ev

ent . S

ev

ent s a r r iv

rop

ey

ert

Preserv

ir ed

rop

ea ch

Proc

essi

if
n

O
t

rop

eEn

ri

t
D

t h

En

XM

at

t y pe

ident if ier s,
ent s o ccu

a ppl y .
en

read

orab

leW

nl y

a v a il a b

t h

ent

is no t

En

decl a r a t io n

ese ev

is no t if ied t h r o u

Ev

on

t h
w

at

l e if
cu

esp

ac

t h

is ev

ent .

e do

cu

ent

r r ent l y

e;

a v a il a b

l e

on

is enco u

lEv

en

ec

l;

read

in y

cessing

e do

is o ccu

it h

ec

en

ent it y

nd t o

ot

t h

ey
eEv

e ent it y

FO

ent

nt er ed in t h

r r ence a nd per h a ps

o u

a ppl ica t io

read

inst r u

ct io

ident if ier s f o r

cu

eS

n.

ns t r ig g
l a t er

er

t h

is

se. Th ese

t y pe decl a r a t io n t o

ac

Preserv

nt er ed,

eck

st

st

ru

ct io

t h

ru

on

on

eS

t h is

e el em

on

ich

eEv

en

ac

e;

ev

read

ent

l et s

na m

e a nd cu

ent

o u

er r ide

r r ent

t h

set t ing ,

ri

TProc

essI

st

rEv

en

read

n f o u

t
w

O
e

FO

art

men

t
n

e el em

t h

oc

t h

a nd

nd in t h
t h

l u

TR

a ct u

esolv

FO

t io

f o r

e do
a l

cu

co

men

e st a r t

a l
t

ri

o f

r eso u
TN
e

ent

t r ig

a nd

t h

Elemen

f o r

t er na l

TV
t

r ce t o
i

ea ch

el em

alu

Ev

er s t h is ev

a r e

su

ent .

ppl ied

a s

read

t h

r o u

t h

ident if ier s,

is
o u

ev
sh

ent .
o u

l d

r ef er ence.
Ev

art

new
eEv

en

ent it ies

en
D

read

oc

men

e pa r se pr o cess,

Elemen

enco u

eEn

l ic a nd sy st em

ot

FO

eEn

esolv

ex

e a nd it s pu

e a ct u

oc

art

t a g
ent

t
ri

n in pr epa r a t io n f o r

art
S

r eso

e o f

nce a t

Th e o pening
o f

eEn

a ppl ica t io

ert
w

inst r u

per f o r m

art

ir ed o
r

ent

ir ed.

e na m

o u

enco u

ru

r n t h

on

t h

l ic a nd sy st em

e pa r ser .

TPreserv

st

r et u

n t h

XM

f o r

e:

ri

e ent it y s na m

a nd sy st em

ent

r eq u

essi

esolv

ca n

alu

t h is ev
o

ot

t h

nt ent

r espo

FO

l ic,

ac
w

a ppl ica t io

esolv

ert

ent

en t h

FO

ich

no n- X

TN

read

do cu
pu

FO

co

f o r

et er s.

en a

e,

ent it ies a nd pr o

iv

rop

Proc

t a r g et

o u
G

pr o cessing

ert

t h

no r ed is o

on

FO

l:

pu

e f l a g

essi

FO

set t ing . C

rop

TN
e

e ev

eS

el em

Proc

pa r a m

l;

ence,

ppo r t

en

ec

TV

t ex

l et s y o u

e,

ac

Th e

e:

ri

e ig

. H

ri

ef o r e t h

eS

pda t e t h

a ch

ec
w

sed b

ert

e na m

FO
FO

a l

su

Preserv

f o r

ca n b

a ck

on

pr eser v a t io n f l a g
a nd u

no r m

ri

o f

lEv
D

et er s pa ssed in. Th
t o

ac

ng .

FO

ec
t

it h in

ent

esp

er ed w

ec

ns u

e b

TD

i
w

a v e t h

el o

el

at

on

D
i

e pa r a m

ac

e ca l l b

ot
i

Th e no t a t io

t h

e l ev

at

it

En

is t r ig

ent . Th

y
t

l ev

ec

esp

t h a t

En

pr o t ect ed pr o per t y

XM

En

ent

do cu

rop

t h

t side o f

e f a ct

on

XM

e ent it y s na m

leW

a nd a ppea r s a s a
rop

FO

e t h

eD

is v a l ida t ed a g a inst

e f r o

oc

orab

TEn

decl a r a t io ns

ent . S

a nd no t a t io n na m
b

l:

ri

do cu
en

se t h

is ev

ent

t o

init ia l iz e

ent .

read

FO

art

Elemen

nt er ed. R

ent

t r ig

eca l l

er s t h is ev

t h a t

t h

ent ,

e a t t r ib

su

ppl y

t es f o r

ing
t h a t

t h

e na m
el em

ent

Appendix

h a v

e a l r ea dy

el em
p

rop

a ppea r ed in O

f t s D

o cu

ri

ent

e ev
t

j ect

del

ent s pr io r

t o

t h

eir

co

nt a ining

ent .

ert

A:

et

Passw

t h

ord

is pr o per t y

st

t o

ri

su

ppl y

read

FPassw

pa ssw

o r d w

ord

ri

en a ccessing

FPassw

do cu

ord

ent s a t

TP

sit es.
p

rop

ert
FR

ai

h
ex

ai

seErrors:

en set
cept io

t o

e,

Tru

ns)

t o

t h

rop

ert

o r

set ,
G

su

on

im

oad

ing
F
,

int

t h

e co

f o r g

e C

po

sing

int o

t h

nent

et

po
t o

ar

XML

Tf

TXmlO

et

ls.

L
i

D
I

ni

ti

al

oc

Lo

an

ai

ou

th

en

od

len

ePag

ou

rc

er)

st

e:

st

TP

ri

eck

t h

ar)

il d t h

FU

t h

ey

a r e

serN

ame;

is pr o per t y . I f

nct io

n.

Th e

oolean

nt ent s,

index

inv

n m

e r esu

oolean

in m

e sa m
b

de,

em

e X

a y

ing

t h

l t s if

e eit h
t h

er

e pa r se

in t h

e l a t t er

ame;

len

len

ame:

oc

men

or

le(F

len

ame)

od

el.

eg

e;

o r y ,

r et u

st

di

reat

e(n

l)

v iew

el cl a

od

a s sh o

at

t h

l t ) .

e Errors pr o per t y

el ph i co

in co

detai

ise,

f u

co

. A Tru

ent

(F

de

it s

po

nent

n in L

nt.

oc

romF

it h

r ce specif ica t io
R

e TXmlO

is is a

t h is

pa r se

e so u

PC

. Th

oad

ri

e w

ri

er w

r ning

e o

Tru

cr ea t e it

iv

t h

( t h e def a u

a nd

t h r o u
1

do cu

ca n b

document

th

t o

el;

ame

XM

ems.

y o u
D

er.

ce

TXmlO

sS

ame

I D

ls;

es.

ate

ew

ai

eg

es

ince t h

n. O

r e.

sh

tanti

em:

ns

f a il s. C

it

document-

ou

serN

ser

se.

our

o r

essa g

TTP

oad

et

e(

n f a il u

o r

e. S

ing th

XM
rv

s .

mou

d pa r ses a

o f t

e.
.

of t D

document

rc

ri

f a il ed.

r po ses,
U

rmXM

men

Load

memS
lg

et h

e a ppl ica t io

FU

specif ied

it

emory

a f t er

XM

t h

read

rc

ent

n( s)

pa l et t e,

ce

False if

e pa ck a g

f r ee it

Load

e C

a n H

ES

n pu

t h

on

ou

o r

is m

pa r iso
u

Listing A-2
{

e,

t h

ccess a nd False o

co
b

seErrors

t o

ent s a s necessa r y . Th

ParseM

th

o r
9

ai

ses pa r se er r o r s ( TXmlParserError

specif y

er r o r

aS

e r ea so

il a r l y ,

su

FR

e pa r se pr o cess in er r o r

ErrorC

cu

cceeds a nd a
t h

sg

a l
t o

do

f il ena m

ca se f o r
f

an

at

a ppr o pr ia t e ev
l o ca l

l t s t o

z er o

t h

ri

sit es,

ErrorM

ParseD

et r iev

st

TP

indiv idu

es f r o

on

read

ca u

dir ect l y

a nd end t h

ame:

def a u

et

et r iev
r a ng

it

on

serN

a ccessing

no t

oolean

is pr o per t y

e sent

t r a pped int er na l l y
p

seErrors;

ay

er

ss is t h
o u

f r o

e m

ca n dr a g

ist ing

A- 2

h a pt er

a in ent r y

it
. D

f r o
o

no t

Appendices

y
{

up

es

XM

ar

ai

oad

at

on

reat

Tex

tr

Elemen

XM

ally
t

rv
R
L

emI
th

l em

do cu

XM

ems.

En

at

e;

el

eas

ree;

n t h

o f

e m

t h

it

enu

e D

dd
ct

f r o

tr
u

esp

ame)
t

Errors.

ee

men

alse)

i
I

mag
S

elec
d

d
:

esu

n
st

n
d

dd
th

io u

t h

e A
d

Th

e
l

ac

e.

ec

ed

Tex

ew

l)

er

l et s y

t h

e L

oad

(Elemen
rv

XM

esu

lt
d

eI

ex

e D

no
th

at

aS

ou

r a ise
O

men

t h

e co

t h

t o

rc

a n

er w

no

t h

ex

e N

ise,

ent ,

pa ss
t o

des t h a t

t h

co

ormali

et h o

cept io

pr o per t y ,
t

d o

r et u

r ning

it h

t h

new

l y

t h e
e r o u

n t h

eD

t h e

no

t o

de

ee

ew

od

e;

ld

Elemen

rd

mag

eI

to

th
i

ems.

ex

t y pe

e;

t o

ent

cur
r

ecur
e

ce

ex

sp

lay

ew

ri

od
b

el

ement

Elemen

eg

ame:

th

oug

st

s:

TS

tr

eev

dr

en

g
e;

i
od

ri

ToTree(N

TTreeN

st

ex

e:

(Elemen

ch

er;

j ect

l ist

o f

cr ea t ed

t ine t h a t

e t r ee v iew

ist ing

t r a ct

det er m

it s a t t r ib

t h

t ine ( see L

r et r iev

od

a nner

TTreeN

ct io n o f

ToTree r o
t

TTreeN

ex

ed

at

False

il ds

it .

h a t

t y pe

displ a y

a ddit io

is

ca st

t es.

ec

ame:

st

(Paren

ame,

Elemen

od

e:

ew

Ty

e)

and

}
TXmlN

od

e;

TreeParen

TTreeN

od

) . I nit ia l l y

ea ning f u

ines

a ch

A- 2

r el ies o

nt a in

e o b

s.

tr

nst r u

ener ic m

t
L

ca n

oc

pl e,

a nd

ppr ess t ex

e.

(Paren

Elemen

pr o per t y .

t h

Elemen

to

su

e specif ied do cu

o u

ef o r e a ccessing

ement
t

er ea f t er ,

ing th

o u

e is t r a nsf er r ed dir ect l y

a m

ir ed

Elemen

s ex

cl a ss b

TXM

lt

en

e v iew

ca se

e pa g

r eq u

Errors

n t h

ar

ame;

e t r ea t ed in a

is

a l l ing

t h a t

em

XMLE

. C

I n

e pr ev

t h

t h

a t io

XM

en l o a ds a nd pa r ses t h

e ca l l s t o

Elemen

in t h

a ccessed t h r o u

f o r

f a il s.

e t h

r siv

len

it e spa ce. Th is v a l u

ik

oc

(F

e(F

an

rc

th

Ex

th

ressW

len

Listing A-2

a ppr o pr ia t e su

to

ent ,

inf o r m

ems[

e no des ca n b

if

p t h e t r ee v iew

ToTree(XM

cl a ss t h

pr o b

Error,

uctur

e(

del

v a l u

oad

ou

t h

;
d

r ecu

aS

M
ep

st

rv

mn

dd

oL

ace?

document

(N

v a l u

at

eD

nl y

ormat

pr o per t y
m

te

An it em
o

Ex

se

XM

th

ed

XM

ormali

e)

t o

na l
it s

Appendix

ar

ct

x
n

tr

act
o

PosS

art

i
R

esu

ame,

er;

Pos(N

ame,

art

at

PosS

art

'

o cu

om

tr

ent

at

ng

a:

j ect

del

st

st

;
g

PosS

Pos(D

at

a,

op

(D

PosEn

lse

esu

ener

at

a)

lt

op

(D

'

'

name

e.

od

eTy

TEXT_

E,

i
i

(N

od

art

a[

ate

od

PosS

lt

esu

r
N

'

art

eg

f t s D

st

ue
n

al

r(co

PosEn

PosS

ute

oA

:
art

PosEn

Ex

Pseu

lt

PosS

attr

et

PosS

an
G

A:

en

en

PosS

art

ame)

art

(N

(D

at

a)

PosEn

a,

di

ay

or

at

EN

T_

E,

e.

th

TA

0
t

od

eV

ee

EC

TI

tr

E]

al

eV

n
L

en

od

eV

alu

e)

>

sp

lay

ame

op

od

e.

sp

lay

ame

od

e.

od

eV

alu

od

eN

ame;

D
e

(N

alu

e,

'

'

lse
D

n
e

lse

e;

sp

lay

ame

od

e.

eate

tor

ag

or

ater

od

el.

TXmlElemen

st

reat

e;

case

od

e.

od

eTy

EL

EM

EN

T_

E:

od

es
t

0
t

es.

es.

em(I

ex

es[

od

ame]

asA

ri

ex

h
A

ri

ri

s.

alu

Elemen

Elemen

C
B

aseN

od

e
L

amesp

ally
A

t
d

ri

ac

s.

e,

E:
N

od

as

TXmlTex

ew

od

Elemen

Elemen

E:

TI

EC

e(x

s)

o
t

(TreeParen

Tex

'

ec

Elemen

(TreeParen

Elemen

reat

'

TA

TXmlC

as

'

'
PR

,
S

ES

i
N

ew

EN

E_

Elemen

reat

'

'

l)

TI

od

as

TXmlProc

od

Elemen

Elemen

'

TR

e;

lay

ame,

ame,
;

on

at

'

sp

lay
'

ame,

'

'

at

sp

lay

'

'

'

'

lay

ame,

a,

ame,

a,

'

(TreeParen

e(x

En

at

a,

st

od

i
N

D
,

ef

sp
e.

od

eN

ame,

E:

essi

ru

(TreeParen

on

on
d

'

TXM
'

L
'

'

at

a,

reat
n

e(x
l)

t
;

st

l)

E:

'

e(x

Elemen

'

e(x

od

reat

od

od

TXM

alu

sp

ew

ri

od
D

ew

ER

EF

=
t

'

eN

'

od

en
d

TY

L
)

TI

EN

Elemen

TA

eN

(TreeParen

TXM

ues

ree;

ri

ame,

reat

TXM

node

ri

TEXT_
i

of

ay

TS

TXM

XmlO

ew

as

di

ri

ru

sp

lay

Targ

N
et

ame,

l)

Appendices

f
b

p
i

n
;

erC

ase(Targ

et

al

eci

ed

ersi

ed

En

an

an

r,

as

TXmlC

ew

od

Elemen

Elemen

reat

ar

ati

on

et

Pseu

oA

r(V

ersi

et

Pseu

oA

r(En

(U

ase(G

esV

at

a)

t
d

decl

erC

et

}
on

r,

oA

r(

od

Pseu

alu

e)

sp

lay

'

'

'

'

XM

oc

esc

oc

at

r,

a)

at

,
n

;
a)

o
t

,
'

'

men

od

as

TXmlD

i
N

ew

od

Elemen

Elemen

ommen

ame,
D

at

a,
n

l)

E:
oc

Elemen

reat

ToTree(D

Ty

e,

men

Ty

oc

EN

T_

od

as

TXmlD

oc

ed

oc

Ty

e.

Tex

ew

od

Elemen

TY

PE_

TXM

Elemen

Elemen

r
d
r

ex

Elemen

TI

TY

(N

ot

oc

men

ew

od

XM

e)

np

e d

En

'

es.

ToTree(En

at

on

ot

ToTree(N

ot

at

TXmlEn

'

'
t

TD

esc

TD

esc

'

'

'

en

em(I

ew

od

e)

en

em(I

En

'

'

ef

En

es.

s.
on

s.

st

'

'

'

l)

ex

1
n

'

'

'

,
n

l)

o
;

ex

ame

ed

ells[
ow

>

enti

ou

<

ty

ow

ew

od

e)

ou

es
d

od

e)

ow

ou

t
n

<

>

ells[

ow

ou

ells[

ow

ou

Pu

ells[

ow

ou

st

ells[

ow

ou

ot

at

on

ame;

enti

ty

(TreeParen

ef

od

lse

'

(TreeParen

e(x
t

on

ar

'

ame;

reat

as

at

E:
od

esc

E:

ex

(TreeParen

e(x

od

eN

ame;

li

emI

TA

TI

i
i

ar

ew

ed

od

'

(N

Elemen

Elemen

reat

'

,
n

'
N

'

'

'

e(x
)

En

st

ot

>

'

'
t

sp

lay
eN

ame,

ame,

l)

od

E:
e

TXmlN

as

ot

at

on

at

on

s
d

n
C
R

ells[
ow

ou

ow

ou

ow

ou

<
1

ells[

ow

ou

ells[

ow

ou

Pu

ells[

ow

ou

st

ecur

dr

en

;
A

nd

od

e.

asC

ex

Elemen

th

oug

ld

od

0
t

any

es
N

ld

e.

e.

od

ToTree(N

ch

od

N
ld

XML

T_

th

ed

e(x

EN

(TreeParen

alu

or

ommen

E:

TXM

od

od
N

eN

ame;

li

emI

en

em(I

es.
od

es.

1
n

d
ex

o
)

ew

l em

ent s h a v

det a il s in a
iew

eA

ec

lon

od

e.

T_

lon

EN

Tex

EN

od

ng

XM

TXM

Tex

andl
.

TXM

h
on

e
O

er

nit ,

e t h

TXM

eir

a t t r ib

Elemen

a nd do

u
t

es no t

t es co
o b

nv

j ect . N

r ef er

t o

er t ed int o
o t e t h a t
t h

a
t h

st r ing
is is a

e TXmlElemen

l ist
l o
t

ca l

t h

cl a ss def ined in t h

ef o r e sa v

cl a ss o f

t h

ing

e C

a l l

f t

Appendix

pa ck a g

e. Th

cl a ss u

se t h

t h

igu

r e

A-2

igu

r e

A-3

e na m

e o

a n el em

ent

isp

l a

t c

e l o ca l

it s u

nte

n e

nit ,

nt w

l e

ith

XmlO

in th

ig u

ie

f t s D

a ccess t h
M

od

r e A- 2

nt.

o cu

n r epl a ces t h

o ne. To

a r e seen in F

ing a

def init io

e int er na l
f

A:

r .

el.

e ex

e o r ig

ent

t er na l

ina l

j ect

ne,

cl a ss,

TXmlElemen

. Th

so
y

a l l
o u

del

e r esu

r ef er ences t o
u

st

pr ef ix

l t s o f

pr o

it

t h is
w

it h

cessing

Appendices

Tex

t y pe no

co

nt ent

ex

a m

sim

t h

pl e o f
il a r

o b

des,

int o

t h

pa t h ,

incl u

ese is sh
pl a cing

j ect . A specia l

e o f

t h

e v

Th e
do cu

a ct u
m

a l l y
st

igu

r e

A-4

t h

il dr en o
g

inf o r m

de,

e g r ids o

f
t h

nt it y

t h

e do cu

em

e do cu

n t h

nt p

ng . S

r siv

nt ex

ent s,

r o cessing

in t h

inst r u

e da t a

l a r

do cu

ent

pl y

f o r

co py

l a t er

ct io

er eb

f iel ds o

t h

t h

eir

se. An

ns f o

f iel d o f

decl a r a t io n w
pa r t icu

sim

l l o

e st o r a g

it s pseu

n t h

e do cu

do -

ent

a ny

f o r

ent

pa g

ent

no t

ie

de in t h
a nu

n a nd u
e do cu

e v

e C

a l l y

ent

co

ig

es

f r o

e l a t t er

o f t

inv o

t y pe no

ent . F

iew

pa g

e t h

npa r sed ent it y

e do cu

e in t h

a ppea r

t h

t h

n pr o per t ies. Th

l ist s a nd m

e. Th
f o r

pa g

t y pe no

eir

ent

t h

a nd no t a t io

no

,
t

des g

de a l so

r e A- 4

e nex

su

sh o

t h

a r e no t
so

l ev

el

et

o u
o f

a dded

ppl ies t h
w

s a l l

t h

e
is

er .

r .

it h

in t h

e C

e pa r se pr o cess. O

nl y

pa r sed ent it ies do

t h

f t

e r esu

no t

since it

l t s o f

a ppea r

t h

ex

e ex

it h in t h

pa nds a l l

pa nsio
e do cu

n a r e
m

ent

ent it ies.

ea ch

ch

e ca l l . Th
f o r

il a r l y ,
f

ent

in th

r ing

im

de s l ist

ina l l y ,

. P

nt ent

e X

t h e no t a t io

el em

cu

ge

r ef er ences do

t h

e TXmlElemen

r e A- 3

a nd co

it h in t h

el

e do

r ef er ences du

t y pe no

co

n o
m

pa ssed a l o

r ecu

n t h

e t o p- l ev

a t io

ch

t h

a t io

t h

e o f

a nd it s ent it y

t o

su

co

ig u

ist s f o r

de pr o cessing . Th er ea f t er ,

o f

st ep t h r o u

inf o r m
F

eir

ns a nd co

f iel d in t h

n in F

no

na m

ATA sect io

er .

t y pe no

ch

t h

t r a ct ed a nd t r a nsf er r ed t o

iew

r est

ent

nding

ca se ex

pr o per t ies a r e ex
pa g

ding

e co r r espo

il d

e new

a ddit io

o f
l y

t h

cu

r r ent

no

cr ea t ed TTreeN

de is pr o cessed

ns t o

t h

e v

iew

e is pa

od

ssed a l o

in t u
ng

r n t h r o u
t o

pr o

ide t h

mmary
Th e C

cl o sel y ,

o f t

a nd incl u

M
des a

im

pl em
f ew

ent s t h
el em

e W

ent s o

3
f

t h

D
e L

O
ev

M
el

L
2

ev

el

specif ica t io

specif ica t io

n. H

n v
ev

er y

er ,

it

Appendix

do
so

es no t
m
H

it h

sim
o u

t h

a ny
o

e D

t o

t h

a sso cia t ed D

O
t h

enco u
o f

it s u

ppo r t

f t s D

f o r

a v a il a b
it h in y
b

o u

na m

l e a s D
r

o cu

ent

espa ces,

t h

ing

en

a nd D

el ph

i co

a ppl ica t io n. Th

dr a g g

f o r m

in t h

t h

TXmlO

set t ing

is pa ck a g

eco

. I ncl u

de t h

e ca n b

it s

j ect

h ich

l im

po

del

it s it s u

sef u

l ness in

nent s a nd cl a sses m

e init ia l
b

od

st eps ca n b

e pa r t

o f

co

el

pr o per t ies

nd
ee t h

n y

o u

t o

t h

e S

AX

e u

sed o

e XmlParser u

e TXmlParser co

r espo

nt er ed. S
se.

in

o u

t h

ex

po
e

a k

es it

e per f o r m

nent

f r o

t h

inspect o r .

ecu

t a b

l e,

ed

a k

nce

ing

it

t e.

pa l et t e a nd dr o p it
ca n

e pa r ser

dist r ib

inst a nce o f

o u

su

ding
o u

Th e pa r ser

l l

se w

co

nt o

pil ed,

ea sier

ide f u

ns.

pl e t o

pa l et t e
co

a t io

a v ing

er y
w

pr o v

e sit u

A:

f o r m

po

. By

it em
f o r

nent ,

r eg
w

a sca l

n it s o

nit
o r

in y
dr a g

ist er ing

it h in
discu

t h

ev

o u
o

ssio n in C

it h

a pt er

il ding

e co
it h

ent
1

t h

a nd cr ea t e a n
t h

a ndl er s w
do cu

o u

pr o j ect

ne f r o

ent
M

n w

f o r

t h

a s

po

nent

e pa r ser ,
t h

a n ex

ey
a m

a r e
pl e

Appendix B

Mass Electronic
Mail- O
Th e

pu

r po se

per f o r m
w

it h

ts

in

t h

a ss

t h

da t a so u

o f

a ppl ica t io

a ss- m

el ect r o nic

t em

r ce)

pl a t e

t o

cu

st o

n a s m

a il er

a il - o u

a r e

iz e t h

du

l a r

pr o

er g

e m

g r a m

t s

ed

descr ib

a sed

it h

l e,

a l l o

ing

in t h

do cu

r ecipient

a il ing s. An a ddit io

a s po ssib

ed

ent

da t a

na l

o u

t o

is a ppendix

t em

( ex

ea sil y

pl a t e.

t r a ct ed

j ect iv

e is t o

is t o
F

iel ds

f r o

a k

e t h

a
e

a int a in dif f er ent

pa r t s independent l y .
To
sev

pr o t ect

er a l
X

co

is u

a l l o

s t h

a ddit io
e

et h

f o r m

o
it

a nd/ o r

o u

no

l o g

l a t ed in a

o u

h a ng

r est

a s w

t h

el l

t - b

es t o

o f

ch a ng

es,

it

r el ies o

cl a ss:

a int a ined t h r o u

t h

t . Th e t ex

edit o r s. C

el ph

t h r o u

et h

t o

o r e po

pl e M
a il

er

a l

ent

a s f o r

t h

e t em

a sed f o r m
no r m

t h

e m

pr o

er f u

q u

er y

t h

a l

g r a m

a t

t ex

essa g

pl a t e

o f

edit o r s,

e t em

no r

da t a b

t h

in

pl a t e ca n

r eq u

ir ing

o u

da t a

r u

co

nf ig u

r r ent

r u

a nd t h

t h

l
o f

ig u

r a t io

( S

t h

e m

sing
y
o

o u
v

o u

TP

is u

essa g
) :

n do cu

o f

S
f r o

w
a

BD

do

o st

a ny

el y

a nd

g iv

es

o r r y

ing

is u

a l ia s.

dif f er ent

need t o

er e

o u
a b

a
o u

ser v

t
er

pda t e t h

ef o r e.

r e B- 1

ca n b

a ses na t iv

ed ( t o

sed t o

t h

co

nica t e w

it h

es.

ent

t h a t

n. Th is f il e det a il s t h
na m

ses

da t a b

e m

en a l l

es t h a t

ca n r eside in a l m

B.

r ce

er a l

f r eeing

ns a s b

r o t o co

s ( see F

sev

a t io n f r o

e f iel d v a l u

da t a so u

needs t o

a se) ,

st il l
P

r ce. I nf o r m

a nd t h

e da t a ,

e da t a

g r a m

e cu

a nd

ing

t h e dispa t ch

nnect io n,
e u

BC

t h

Tr a nsf er

da t a so u

t o

ea ns t h a t

v ides a ccess t o

el d. I f

f o r

se in t h

Access

r et r iev

o r k s a s f o l l o

a se co

pl a t e t o

e.

e pr o

a il

ser v

f r o

a il s a r e sent

i pr o

d f o r

a l l y

e da t a

e e- m

essa g

is a ct u

Th e a ct u
do cu

a f f ect ing

r ea d in a n X

da t a b

r e t ech

e sent

e ea sil y

is a ppr o a ch

er s

set t ing s t o

t u

r a t io n pr o per t ies,
b

f u

is enca psu

nf ig u

r et r iev

t h

t h

n m

g r a m

t em

ich

e t o

er e t h

since D

im

e e- m

Th e pr o

e co

a l ia s a nd t h

Th e S
t h

o u

in

o t h
m

BD

essa g

sed t o

er ,

a t ,

a ny

it h

ines w
ded

specia l iz ed X
w

is u

incl u

co

t h

e m

a g a inst

pil e.

To g

o f

ese f il es t o

n t o

det er m

t h

a de

r eco

g r a m

ea ch

sed f o r

nt a ining

e pr o

st a nda r ds,

t h

co

e S

e f il e co

nt a ins t h
M

TP

nt a ining

e v a r io u

a t t r ib
t h

t es,

t h

essa g

sed.
a nd t h

e m

essa g

( a s ident if ied in t h

e co

e t em

pl a t e a r e r ea d in f r o

nf ig u

r a t io

n pa r a m

et er s a b

a no t h
o v

e) .

er

Appendix

o u

u
t h
4

r et r iev

sing

t h

e t em
o r

int o
5

e y o u

e BD

r e

-1

r eco r d r et r iev

t h

essa g

e m

Th e m

ta

er g
nu

f l o

th

on

e t em

ed m

X
C

a ss E

l ect r o nic M

r ecipient s f r o

t h

e co

nf ig u

t h

r a t io

e da t a b

er

r o

essa g
o

l o

gh

th

ed,

ser v

f il e w

er g

e t h

es a r e sent
a il

r o

h
m

o u

o r

er s.

er e t h

gr a

e r eq u

ey

sing

TP

t est ing

ca n b

pu

e r ev

ich

q u

o u

a ccess

er y

f r o

t h

e da t a b

a se

ing

iew

t h

o u
m

t o

essa g

t a l k

t o

es

a r e

ed.

MLC

on

f ig

ML
Template

age

L
MailTemplateQ

er y

en

MTP

er

MailTemplateLog

Log

ing

th

e C

Th e l o a ding
r et r iev ing
det er m

t h

e v a l u

t h

e pr o per t y
nf ig u

a nd v a l u

onf ig
f

em

ines t h

t h

co

MailTemplateS

oad

a l l o

r po ses

w
e S

est ed f iel ds f r o

as

a se,

n f il e a nd t h

t s

ML

f ig f ile

atab

pl a t e.

MailTemplateMes

a il - O

pl a t e.

r edir ect ed t o
igu

l ist

ea ch

a ny

a l ia s f r o

B:

t h

e pr o

f r o
e na m

a n X

es:

v a l u

e co

n f il e in L

y
m

ration Properties

g r a m

es o f

e ( sepa r a t ed b

r a t io

t h

pr o per t ies is a cco


M

ing

ent . Th e h

e pr o per t ies,

per io

ist ing

do cu

f r o

ds (
m

B- 1

. )

t h

co

a l

pl ish

no r ing
t ex

l t s in t h

co

ed in a

ier a r ch

pil ed f r o

a nd ig

e a ct u

r esu

t h

it h

e f u

o r

l a t io

ener ic m

in t h
l l

e t o p- l ev

nt ent . F

e a ccu

t h

ex
n o f

el em

el

e X

a m
t h

ent

el em
pl e,

a nner ,
L

ent ) ,
t h

f il e

pa t h

e X

t o

w
M

it h
L

ese pr o per t ies

Appendices

smt

smt
smt
d

ost

at

=mai

ser=k

l.

ei

rom=k

ood

ab

ase.

ali

as=mai

set

s.

au

seTi

set

s.

emp

lat

est

set

s.

Listing B

-1

<

?
x

ersi

<
m

ai

lT

<

<

="

L c

"

>

l.

es.

mai
>

<
u

se

>

ei

<

/
u

se

>

<
f

>

ood

>

emp

<

ali

as>

<

/
p

au

se

essag

e.

ab

ase

>

ali

as>

mai

<
u

se

>

<
p

assw

at

ab

ase

>

se

<
p

au

se

<
t

<
t

se

<

/
m

ai

>

r a

tio

n f il e

om<

st

>

om<

/
f

>

>

ml<

/
t

lat

es.

s>
m

>

>

ai

lM

st

>

<

s>

lT

lat

>

o u

t a k

es.

st

I t

en t h

. I n t h

e o

a l so

ey

is w

t h

a r e m

a y ,

>
e

>

es a dv a nt a g

v a l u

TD

ml

t h

e st r u

il ds

er el y

e t ech

ct u

t h

r e inh

a b

el l - f o r m

niq u

e is g

er ent

il it y

ed,

it h

ener a l

in X

X
o u

eno u

g r o u

do cu

r eq u

t o

ir ing

t h a t

it

p r el a t ed

ent s
co

co u

t o

nf o r m

l d b

t h

t o

l i d

v
n

i t h
t

- l e

r e

f f i c i e

nit ,

sing

XM

it s V

l a t er

e na m

it h

e o f

t h

t h

oad

t ,

f o

l l o

s c

l l

l e

s i m
e

D
w

t .

n
T

h
m

t s
a
h

l y
h

i c

I n

a nce

e r eu

a
n

e
n

l e

l l o

s e

t h

t c

f a

w
a

i n

f o

h
t ,

t s

c
g

s ,

i n
o

n
n

s ,

o
e

l l - f o

d
t h

t t r i b
r m

t a

n
u

t i o

i n

i t

i s

t e

e
a

r d

nct io

. P

r o per t y

per t y ,

Prop

na l it y

pr o v

ert

o f

na m

t h

e pr o per t y

es a nd v a l u

iding

sim

esFromXM

l o a d a nd a

e pr o per t ies f o u

Listing B

ce

ar

p
o

en

-2
th

oc

nf igu

conf

nd. J u

ur

st

romXM

oc

men

D
ex

XM

eg

er;

ecur
P

op

er

ty

ep

ar

ated

el

ead

pl e w

r ef er ence t o

a y

nit

l o

a ding

t c

d
p

t s

t o
e

a
a

r
r e

is pl a ced int o

es a r e pl a ced int o
t o

pr o cedu
L

a dd t h is u

r tie

s f r o

and
L

(F

r et r iev

r e ( see L

st r ing

t o

l ist

a no t h

er

e t h

st r ing

em

ist ing

B- 2

a nd f il l s t h
pr o j ect

t o

en

len

L.

oad

ame:

st

th

eav

;
g

er

ti

Prop

op

s:

es

}
TS

ri

XML

document

th

accumul

er

e
)

unti

ated

l
tag

tex

t
to

th

es
s

ar
p

oi

e
nt

each

ed.

s)

it s
l ist

na m

t a k

es

e l a t t er

r eu

ods

th
i

name
b

esF

ert

r o

on

Prop

ati

n p

oad

tio

XM
n

r a

e
e

a
e

r ,

il it ies.

sed

e f u

e f il e t o

e
w

r i b

r k

t h

es pr o

alu

n. Th e L

t h

se,
on

r e
c

t o

p
o

e
s

f u

s e

l e
i m

t h

r m

e
l a

i n

f o

l l - f o
e

a id in it s r eu
n u

er e.

l l

l y

To

lt

lat

<

<

>
e

e.

nf igu

>

<

a b

l e

essag

=Y

at

0
lM

st

t h

s u

0
ai

<

om

<

>

el sew

es.

I f

e=M

emp

lt

me=2

on

pr o cessed w

om

sm

lat

pr o per t y

Th is l a y

es.

<

t o

sm

<

se it s

Appendix

ce

oad

Prop

st

eg

er;

es

ty

th

ar

er

op
dd

r
A

Prop

Pref

Elemen

(N

od

XM

oc
s.

XM

oc

ead
t

h
f

n
d

tex

t.

us

ng

ts

XM

es(Elemen

al

ues

od

op

t s

er

ty

e;

alu

es[

op

eV

alu

0
t

ert

ex

oad

E_

TEXT)

(N

(Prop

Pref

od

eTy

en

ex

E_

(Prop

TA

Pref

EC

TI

Prop

Prop

Pref

oc

men

(F

len

oug

each

oc

men

0
t

ert

ld

'

'

reat

ld

es(C

od

es.

en

od

es[

od

eN

ame)

el

el

oD

e;

lear;

XM

XM

oc

ex

oad

Prop

t ine
M

ame)

;
s

econd

l
t

od

ev

Elemen
h

ld

es(C

ld

ement

and

oces

th

em

o
es.

od

en

es[

ex

1
d

'

'

l;

it sel f

oc

a l l

men

t h

t h

t ine f o r

inst a nce

a nd a sk s it

no

des

oad

e f o r

e t ex

em

a n

t o

o f

pa r se t h
t h

Prop

ert

t h

no

e pr o per t y

de,

edded ch

ich

il d no

icr o so f t

ent

ent

p f r o

m
g

t h
h

e na m

r ecu

t h

en st eps
ca l l s

r o u
w

es o f

r siv

pa r ser ,

a nd

e pr o per t ies l ist

ed t h r o u

ent . I t

el em

o n ea ch . Th is l a t t er
in t h

il t

is a ch iev

t h

do cu

es,
i

is b

e specif ied do cu

a in

des a nd cr ea t es a n ent r y

e na m

t o

,
t

r e,

t - t y pe no

nd. Th

cr ea t es

ch il d

pr o cedu

l ea ding
r o u

oad

oc

t ex

f o u

int er na l
f o r

th

r o u

t h r o u

en o

t h

t h

t ine t est s
ne is

e el em

e ca l l s t o

ent s

t h is sa m

des.

I P

r e
a

u
w

;
d

Th e

ert

actual
ng

a il - O

ally
XM

l ect r o nic M

tr

od

Prop

th
s

a ss E

s
a

lse
f

eTy
s.

nto

ue

ex

Prop

al

B:

ail M

i n

t o

t i c

t h

l l y

r o

essag
O

nce t h
o f

t h

do cu
u
L

r et r iev

ist ing

B- 3

?
x

<
t

lat

<
q

<

su

<
m

ssag

i n

r e

i t s

e
a

t h
n

t s

r i a

finally c

t h

l e

r e
o

f e
s

r e

n
t

l a
c

s e

e
f

c
s c

o
o

i s
u

n
e

n
t

o
f o

s t r i c

t l y
i n

n
t e

r f a

e
c

s s
e

a
a

r y
n

ersi

r a t io

n pr o per t ies h a v

e t em

l p
e

i t

h o

l ds t h

e t h

e b

een l o a ded,

pl a t e f il e a nd l o a d t h a t ,
e t ex

t h

e m

e r ecipient s a nd t h

L m

="

emai

lf

eld

il -o

on

"

t te

l a

essa g

eir

o u

ca n ex

t r a ct

t h

t o o . Th is f il e is a no t h

e t o

e sent ,

det a il s. A sa m

a l o

pl e t em

ng

it h

te

lA

ome

si

="
t

ou

ew

>

ear

<
f

ld

>

rst

Emai

t h

pl a t e is sh

ress"
W

>

selec

si

ame<

ld

eb
/
f

e<
>

*
su

f
b

rom
e

ct

c
>

st

omer<

/
q

e na m

er

>

>

ct
e

D
f r e

>
e

-3

<

t h a t

sed t o

Listing B

nf ig u

essa g

ent

e Template

e co

e m

D
d

>

e q u
o

e
L

er y
n in

Appendices

u
A

r
<

ou
Y
K

<

ew
f

eb

ou

rs

si

ei

<

/
m

ssag

lat

>

e
t

ld

>

si

ld

Posi

ir st ,

somet
erely

s
<

p
f

ent . O

a nd

ca n

q u

er y

h ich

is

t h

ise,

er w

r et r iev

a il ing s

j u

Th e su
e m

co

co

ea su

h a v
p

g
i
F

Tw

al

XM

D
L

ere.

omp

oc
D

oc

an

<

t h

f iel ds

emai

r eq u
t

o f

>

ld

es.

om.

ou

a l

l d b

e co

nst r u

t h

e da t a b

r es t h a t

t h

no

t h

t h

e a ppr o
it h

t h

e
q

ery

essa g

l e f o r

it sel f .

t a r g et ed

er y .

it h

ning

it h

in t h
f

t h

e b

e S

el em

eld

e l a t t er

q u

dy
y

o u

ent s,

pr ia t e po int s in t h

in t h

a il

e t ex

er y ,

so

t .
no

er e.
e m

e o f

a se q u
r em

da t a b

m
o

ent ,

ent . W

po sit io

ne w

e q u

el em
t

o f

e- m

pl e a s necessa r y

t h

a int a ined b
S

er y

a se

t h

in t h

a in sy

a ny

ne w

e necessa r y
m

ent

r o niz ed.

no t

ir ed. To

e do cu

nch

a r e

is r eq u

ct ed pr esent ing

t e

in

ec

a se a s a

e el em

a t

l edg

e t w

f o r

se

needs t o

r ecipient s

a s sim

se in t h

pl a t es ca n b

inim

a t t r ib
o r

f o r

e su

e do

t h

eld

e da t a b

is

pl ex

a se b

es ca n b

e t em

e messag

e necessa r y

a v ing

lf

a se f iel d t h a t

se

ere cl a
h

displ a y ,

t h

ir es
t h

a ppea r s in t h

l d b

da t a b

n s

e a s co

it

e f iel d t o

det a il s

ent

nst r u

on

C
d

incl u

v a l u
a l o

in

es in

ng

As a

ded

it h

h ide a

it h

secu
t h

r it y
M

t h

ac

co

(F

t h

r esides in it s o

is t o

l o a d t h
co

per t y
it

t o

t h r o u

n u

e specif ied X

nt ent s

t o

do

t h

a ccessed

nit ,

t h

ai

o f

t h

e ensu

Tru

es in t h

e t em

e f iel d el em

r es t h a t

pl a t e. I f

t h

f il e. Th

do cu
y

m
r

TM

e M

ai

l-

lat

e-

icr o so

er ea f t er ,

ent .

o u

t h

lTemp

e cl a ss cr ea t es a n inst a nce o f

pl et e

a y

a nd

et t ing

essa g

is pr o per t y

f t
o u

t h

e a ppea r s
w

a s l ef t

a t

ent s is l o st .

lat

eM

essag

e.

reat

e(F

len

ame:

st

)
g

e;

reserv
load

h ich

e pr o

e w

lTemp

oD

l o a ded

ai

reat

ct o r

est s t h

e sa m

TM

is

cl a ss,

eS

t h

ati

nl y

t h

co u

do cu

t o

e o

e da t a b

a t . H

ensu

ca n b

a il

o u

it e spa ce nex

oc
D

h
>

f iel ds in t h

sh

a nd r eq u

ct

essag

a il

XM
F

XM
F

e f iel d v a l u

iew

I n it s co

eW

ti
r

eM

er

ea ns t h a t

l o

e e- m

st

at

pl a t e.

a ccess

ni

e.

False,

t h

e t ex

reserv

co

ld

specif ied in t h

se f o r m

pa r ser ,

in t h

e f il t er ed o u

e o f

o f

er y ,

t h

lat

g
i

a ppl ica t io

er y

edit o r . A m

e t em

essag

n
f

t h r o u

e e- m

eing

q u

Th e

i
<

de a n a ppr o pr ia t e w

es f r o

r e,

Temp

erest

t h

e q u

t h

e na m

essa g

essa g

e b

pl e- t o - u

t h

f o r

ne

pr o cessing

pl ex

sim

na l

o r

o f

a t t ing

sing

h a t ev

incl u

t h

f o r m

a ddit io

t ex

t h

st

v a l u

nt a ining

of

is specif ied. Th

do

j ect

essa g

ca n inser t

Any

of

ecipient s ca n ea sil y

t h

ru
>

ident if ied

el em

o f

ld

>

t h e S

a ddr ess,

an
e

ood

specif ica l l y

i
on

D
eW

oc
h

u
i

len

men
t

eS

t
p

ame)

ac

reat
e

e;

Tru

e;

a ccess t o

t h

do cu

et h

ent

ds pr o
( see L

specif ied el em

ent ,

r o u

es

t ine

do cu
r et u

a ssu

ent ,

r ns t h

o ccu
a t t r ib

e v a l u

t e o r

no

t h

ide ea sy
B- 4

o r

e o f

it
t h

e el em

de do

) . N

a n em

t h a t

a nd t h a t

r r ence o
u

ist ing

t h

st r ing
o

nl y
nl y

ent

is

ex

ist .

if
o

ed a t t r ib

is a ssu

e el em

e r et u

alu

nt a ins o

e na m

es no t

eV

pt y

er e

co

od

a
u

ed,

t h

ne

ent s a nd a t t r ib

r ns t h
e el em

ent

ea ch

sing l e t ex
t e o f

e t ex

iv

a nd a n em

t y
t

no

t es w

it h

in t h

nt a ined w

it h

in t h

nd. Th

ca nno t
pe

o f

de. A

en el em
pt y

co

e f o u

el em
t

ri

ent
b

ent . Ag a in,

st r ing

is r et u

in
eV

t h

alu

sing

l e

r ned if

t h

Appendix

Listing B
{

etur
as

-4

eN

od

ar

ct
N

onl

XM

s:

lTemp

st

esu

lt

'

'

lt

=
s.

th

onl

umes
TM

ai

e.

ttr ib

attr

l ect r o nic M

te

ute

eV

l u

a il - O

s.

ri

sB

Tag

es.

et

amed

em(A

en

st

alu

e(

s:

al

em[

ue

of

one

Elemen

0
t

at

ri

et

th

uch

lTemp

lat

XM

named

node

eM

essag

e.

ch

eV

od

eN

ame)

ame)

rN

ex

no

od

ame(N

node

and

od

eL

st

dr

alu

e(N

od

eN

ame:

st

)
g

XM

oc

et

Elemen

len

0
t

esu

lt

'

lt

Elemen

s.

s.

=
t

lse

Elemen

I n

esu

o t h

do cu

r o u

ent

l ist

o f

r et r iev

e no

y o u

l ist ,

Listing B
P

ar

ct

-5

th

et h
l ist

r f o

ai

sB

Tag

ex

r m

ag

ame(N

lat

pr o

l ish

od

eN

sB

ame)

XM

sing

l e r esu

des y

o u

en it s v a l u
e X

t io

ides

do

r sel f . F

and

il

is

f u

etur

essag

e.

e w

it h

t h
et h

r o

t h

ame

is m
m

is t h

e l ist ,

ts

na l it y

( see

a pping s f o r

t h

e V

a n ident if y

al

ue

essag

eld

s:

od

eld

alu

e:

st

eg

er;

n
s

XM

oc

Elemen

s.

len

EM

ai

lEx

ep

'

'

Elemen

s[

ex

Elemen
i

esu
w

ai

se

h
f

lt

dd

st

s:

TS

ri

eTag

EC

TI

s)

Elemen

0
t

reat

ld

0
t

tex

el

ements

ld
h

od

esu

lt

or

'

ld

:
f

es[

ex

od

es[

esu

lt

d'

el

=
el

on

et

(c

ex

(c
f

eL

sB

Tag

ame(M

essag

oM

es.

len

od

e(N

di

ectl

essag

e)

od

ex

od

eTy

ld

od

es[

et

th

ements

eTy

E_

d
el

TEXT)
E_

ex

ex

al

ue

TA

r
_

t
}

r ns
t h

is ea sy

r r ent

ey .

ar

t h

o u

e
t o

t h

ns. Th

ist ing

es pr o

alu

ing

e cu

Elemen

it

es y

ed po sit io

e(F

o f

e pr o cessing

ParseM

t ine r et u

d sa v

a r k

t h

is r o u

es in m

sing

et h

t e.

ent

nct io

e f iel d m

r ge

f iel d v a l u

t h

v a l u

a t t r ib

cu

a l l y ,

l t . Th

e o r

n o f

nt a ins t h

t ex

Tag

ir ed no de. Act u

a
e no

t h

ed a nd a ccessed u

eM

t h

st it u

co

Elemen

e r eq u

ing
b

et

pect

a nd t h

tag

lTemp

a l l

o l v

t h a t

ing th

ex

e su

r n t h

inv

t h

a sso cia t es a

mes

TM

int er est
it y

ich

em[

nl y

t h r o u

st r ing

se

pl a t e a nd t h

a pping s a r e est a b

st r ing

st

de o

essag

a ccept ing
Th e m

o u

a in a ct iv

e t em

ParseM

sea r ch ing

e t h

ca t e a nd r et u

des,

Th e m
essa g

l o

'

t ines

t o

no

pr o cess o f

t s

Elemen

oc

eL

od

Elemen

ct

etur

st

XM

len

esu

as

a ss E

essag
st

s.

Elemen

eM

nd

named

node

ame:

ar

nt a

rN

lse

lat

uch

th

of

Elemen
f

ue

l e

ing e

one

ai

al

TM
n

Elemen

tr ie

ame,

Elemen
g

th

umes

B:

B- 5

) ,

r eco r d.

per t y

o f

Appendices

(c

(c

ld

od

es[

alu

alu

lse

eld

eld
E

e
e

o u
g

et

co

Elemen

ent s,

ormat

(M

eld

nsist

o f

t ex
f o r

t h a t

f iel d f r o

e t ex

t r a v

co

r s if

eing

od

eld

s.

alu

'

'
t

uch

ace
V

alu

lt

esu

lt

emp

el

on

eld

Emp

y
t

el

ty

f
'

'

eTy

ame

es[

t
g

od

eN

ep

ep

t h

eld

ld

od

E_

EL

Tag

es[

EM

ex

EN

T)

ex

an

ex

ex

tr

ng

reat
[

e(

ld

od

es[

n
notati

on

th

emp

ty

;
+

sB

messag
Tag

eld

alu

no
w

t h

t h

des,
ich

n t o

e;

t r a ct

a pping . N

a l

e m

a nd t h

e t ex

o t e t h a t
no

t ex

es no t

t h

d)

t h

do

cu

ex

de

no

ist

t h

o u

e t

( a t

o . Th

ex

t o

m
t

a ny

t h

ea ch

el ) ,

sing

o f

e m

essa g

d o f

so

e,

o r

do

e it s v a l u

e r eco r d ( deno

t ed b

eld

a n em

e o

r ns a l l

h a v

e. An ex

nl y

e v a l u

no t

il d

l d o

no de r et u

o u

t h

it s ch
o u

en a ppend t h

et h

l ev

( a g a in

e ch il dr en sh

e a nd t h

de a nd r et r iev

in t h

ent

en st ep t h r o u

a s y

t h e f iel d na m

it h in t h a t

e f iel d do

in

a r e a ppended dir ect l y

ex

e a ct u

ent

essa g

ich

o u

t h

r ned f r o

et h

e m

e m

el em

ame m
N

ct ing

nt a ined

t h

r et u

t o

s p

t r y

l l ,
v

t h

e t o

cept io

pt y

st r ing

a pping ) .

eeping
in

F
pa r a m
w

h
t h

r n
c

i s t s
i r e
s
g

e
o

it h

ne

t h

lat

eQ

M
u

t h

e m

co

nf ig u

de in L
-6

l a r

s t r i n

i f f e

r e

n
f l a

f o
n

r e

l i s t ,
r

t y

t h

s e

t o

n
e

y,

l u

t h

s t

l u

t h

l d

t y

s a

f i e

a
y

s t a

i t s

t h

n
,

s t r i n

e
e

t y

l d

l u

t w

v
c

i t

a ppr o a ch ,

t h

essa g

lat

An

e co

e t em

r a t io

eQ

ist ing
I nitia

B- 6

s u
i s

b
c

.
n
a

s t i t u
e

f l a

f o

t h

e da t a b a se a ccess is co

l u

i s t
g

r e
l i s t

v
e

e
e

t e

( t h

t r y

I f

e
t

g
w

i n
h

ni

ti

al

ati

co

st

ct

TM

ai

lTemp

ery

st

eld

at

pl a t e X

det a il s

reat

e;

TS

ase

TD

at

o f

m
t h

a na g

ed

cl a ss

it

do cu

ex

t r a ct s

inst a nces o f

es,

to

r y

nd

datab

lat

eQ

ery

st

as

tr a

reat

ri

n
ab

ase.

reat

reat

t h

TD

BD

at

and

l)

op

en
s:

t h

cr ea t ed
e q u

a l ia s

ase a

ab

ef o r e o pening

ting its f ie

e(Prop

e;

e(n

nt a ined
g

er y

a nd

t o

ent ) .

a
b

t h r o u

is

r a t io n pr o per t ies a nd t h

a nd

inst a nce

e pa ssed- in v a l u

connect

ery

) .

l iz ing th

on

t h

a l l

nf ig u

t h en cr ea t es int er na l

ab

i s

it

a r e init ia l iz ed f r o

l d
l d

cl a ss.

t o

t h

Listing B

t h

f i e
f i e

lTemp

ery

t ed ( f r o

du

ai

pa ssing

et er s. I t

e co

d
a

i s

e
e

t y

e m

nit ,

r o m

ich

p
e

t h
t h

t h
a

t h

e
i n

i z

t l y
n

w
c

i s s i n
t r i e

lTemp

ecu

t u
r e
t o

r e

init ia l iz ed b
ex

x
d

ccess

ai

e
i s

i s

I n k

TM

o
s e

ase A

it h

s e
t h
r e

y
o

a
e

l l y
t

p
r

l u

c
c

f o

l a

l e
o

i a
p

t i c

l u

t h

t ) .

t o

t o

s e

ex
.

I P

atab

er se do

o ccu

d
]

ssi

alu

nst r u

ent s,

eld

co

el em

t h

I
ex

no
lEx

l o ca t e

el em

es[

esu
d

od

ai

R
n

se

{
F

or

EM

ai

ld

q
TS

l d

uer

ri

l u

}
g

s;

s.

a nd

nd a
t h

e q u

TQ

l o
u

er y

ery

n
,

( see

Appendix

at

ab

i
A

li

asN

at

ab

aseN

og

Promp

Prop

alse;
Q

Params.

s.

alu

Params.

d
:

ery
d

Prop

on

ec

ery
t

i
D

at

ab

erS

ed

=
u

ery

TQ

aseN

es[
('

ery

assw

Tru

serProp

ame='

Passw

ord

ery

li

<

'

'

>

Prop

asProp

='

a il - O

t s

s.

alu

es[

Prop

<

'

alu

ord

Prop

s.

at

aseN

>

'

es[

ery

ery

serProp

n
Passw

ord

Prop

e;

reat

e(n

ab

l)

at

ery

roll

ery

erS

Tru

n
d

et
o

ce

ex

up

th

ame

of

ai

lTemp

eg

er;

ery
d

ex

eld

s[

ex

tr

ng

th

eld

s.

eld

s.

r
f

ase.

el

ds

and

ery

lat

eQ

eld

lay

ab

ame;

roll;

e;

TM
e

o
]

al

ues
f

ery

erS

ou

Tex

'

ty

th

en

roll(D

at

aS

'
t

emp

t,

ep

alu

es[

eld

s[

ex

eld

ame]

alu

es[

eld

s[

ex

eld

ame]

ex

lay

ace

TD

at

aS

et

et

ue

al

sp

entr

does

n'

ap

Emp

ear

lse
F

eld

s[

sp

Tex

;
d

EO

pr o per t y

t es:

t h e pr o

pr o per t y

t h

t o

e N

ex

t o

r o u

t ine,
To
t

enev

e int o

f iel ds w

t h

it h

nce y

sing
W

a n S
r a p

in a
g

en

t h

t h

it
t h

e V

h a s r ea ch

e q u

e l ist ,

( see t h

r eco r d ch a ng

ea ch

f iel d r et u

st r ing

ent io
v a l u

r ned b

se b

o u

t h r o u

ea ch
e

t h

o f

w
y

end,

t h

e q u

essa g

a n ev

er y

t h

e f o

a nd t h

e st r ing

l l o

e Fi

e su

eld

st it u

h a ndl er

) . Th

f o r

cessing

t h

es a r e h

e
s

el d
t io

t h

t o

is h a ndl er

o u

pu

is r eq u

is

r po ses.

a nd pl a ce it s na m

pr o

ing

r n,

l ist .

ent

B- 6

is idea l

specia l

e f iel d v a l u

ist ing

ich

r eco r d in t u

e m

t h

a t t a ch

de in L

es,

ned ea r l ier ,

ed t h

per t y

e co

r r ent

da t a
g

r eco r d. Th

f o r

es pr o

t h

er y

r r ent

l ist

alu

es int o

l t ing

st ep t h r o u

e cu

st r ing

t h

e r esu

d t o

e cu

e l ist . As m
pt y

it h
o

e a nd

ir ed f o r

es.

e Post

o u

a se,

o f

et h

es f r o

a t

ent
t h

ine

e v a l u

e f iel d v a l u

er

em

rop I t in th

da t a b

ec

e f o r m

ca n cy cl e t h r o u

v a l u

h a v
y

e co

o u
M

nst r u

ct ed t h

a r e r ea dy
TP

int er f a ce f o r
t h

ord

det er m

roll ev
c

ca l l ed w
o u

int er a ct s w

a s a ccessed t h r o u
pl a ce t h

erS

g r a m

a ccess t h

in a n a sso cia t iv

o f

ery

sern

a t t r ib

Th er ea f t er ,

l ect r o nic M

('

es[

'

Tex

a ss E

alu

lO

ai

es[

s.

'

alu

ar

Prop

=
:

:
ame

s.

ame

ase

B:

ser v

TN

t h

er
M

e r est

is a ppr o a ch

t o
t o

po st
co

TP

is t h a t

e m

t h
y

a il

send it

t h

e pr o
o u

e m

po

m
o

e a nd m
m

a k

er g

ed in t h

e u

se o

e f iel ds f r o

t h

o pen st a nda r ds b

e
y

a il .

nent
g r a m

co u

essa g

f f . Ag a in,

l d co

in
( a
m

a no t h

er

o b

Faade desig
e b

a ck

l a t er

j ect

t o

pr o v

n pa t t er n) . O
a nd r epl a ce t h

ide

sim

pl e

ne a dv a nt a g
e u

nder l y

ing

Appendices

a il

do
N

O
A

im

s
f a

ent a t io

s i n

t i o

- m

r i t e

t h

Th e
en

po r t

t h

po

M
w

-7

al

ati

ct

TM

en

er

i
H

ost
t

ce
d

n
U

serI

on
d

end
o

ce
F

romEmai
g

i
F

romA

e pr o g r a m

. Al l

o u

st

f r e
t .

i s

TM

t o

r e

ai

t h

I n
a

e
a

l p

i l a

a nd t h

l a
i

lTemp

l e

o f

e u

t h
y

eS

ex

en

nf ig u

c
P

s e

( f r o

er

r a t io

t h

e
T

o
S

n
M

a cco u

nt

t h

e
M

e
T

c
P

i t h
m

o
n

u
e

r
n

ai

lTemp

po

n it s cr ea t io

n pr o per t ies u

t r a ct s t h e o

ser

co

it

lat

e l ist
is l ist

p
h

nes it

t o

se)

r eq u

ir es ( t h

lat

e na m

a nd init ia l iz es t h

e-

e a nd

e S

TP

ith

th

ne

nt.

lTemp

er
d

lat

TP.

eS

en

reat

e(n

es[

ai

er.

reat

e(Prop

ost

Prop

alu

es[

ai

l)

s:

TS

ri

Prop

s)

Prop

s.

alu

rToI

nor

Prop

lH

(Prop

s.

lPort

e-

mai

TM

ai

alu

es[

ai

er.

lU

serProp

lTemp

l,

s.

lat

eS

en

l,

ec

ToEmai

en

er.

ress

ec

od

ToA

d
S

en

Post

ress.

en

essag

er.

e b

essa g

Tex

ToEmai

l;

essag

en

t h e o

essag

e:

st

)
g

ea ch

ec

nl y

l;

;
e;

int er a ct io
e S

en

n w
m

e r ecipient s e- m

it h

et h

a il

e m

a il er

is t o

d ( a l so

t h

in L

ist ing

a ddr esses,

a l o

ng

et er s. Th ese a r e pa r cel ed u

r eq u

est

B- 7

it h

t h

e su

p a nd sent

t h a t

t a k
b

o u

co

es t h
j ect

pl et ed

e sender s

a nd b

dy

t .

Testing
e o

r u

t est ing
a s it

n w

h a t

n. Th is l o

e r ecipient s o f

e,

romEmai

l;

e a s pa r a m

eep a n ey

essa g

ai

e sent . Th

and

o r

t
Tex

e a nd t h

l
n

ing w

e;

F
m

t h

e m

an
u

f il e f o r
t h

o f

ec

ing
To

e r est

essa g

t h

em

TN

na m

e
e

r o m

reat

Th er ea f t er ,
m

t h

a f f ect ing

ai

f e
n

h o st ,

on

en

) . F

r f a

ti

o u

int er f a ce.

,
o

j ect ,

I nte

st

t h

ni

it h

r e

TP

it h

is pa ssed t h

co

B- 7

nent

f o
o

o b

Port

og

nit ) ,

e S

n w

ist ing

i l

ist ing

Listing B

a il ing

o f

er u
d

( see L

co

e ex

E
m

pl em

is r et a in t h

t h

e co

is h a ppening
g

co

nt a ins t h

pl et ed m

pu

r po ses,

o u

l d h a v

t h
e b

essa g
l o

it h

in y

e pa r a m

o u

a ppl ica t io n,

et er s pa ssed t o

t h

ener a t e a

e pr o

g r a m

l o

a nd

es.

f il e

a l so

ca pt u

een sent . Th is a ppr o a ch

r es

t h

a l l o

e
w

ent ir e
s y

o u

t o

t ex
v

o f

er if y

t h

t h a t

Appendix

t h

e m

er g

f l a g

e pr o

in t h
To

f u

co

nct io

TM

ai

t im

cess is w

e co

nf ig u

nt inu

na l it y

est a m

so

j ect

is

pa t t er n,

co

st

ar

len

len

ssi
R

ew
d

st

C
:

F
t

e(F

os

th

st

ct

loseF

le(F

Write

eg

og
ai

og

an

tio

d;

eF

e w

in t h

it h

o u

is

t o

pl ex

f u

Write

eg

eL

og

leEx

reat

e;

rac

ow

(Ex

og

em

ex

a m

riteln(F
lu

(F

len

ame)

eL

og

roy

message

le,
;

ns b

eh

en

d;

Write

LogF

le)

leN

ame(ParamS

Ex

og

eg

est

Exception);

age);

}
s

age:

ri

);

ri

);

ile,

TimeS

tamp

Mes

age);

message

TMailTemplateLog.LogTes
ToEmail,

ect,

t(

Mes

age:
s

riteln(F

LogF

ile,

Tes

riteln(F

LogF

ile,

LogF

riteln(F

LogF

ile,

LogTo

riteln(F

LogF

ile,

LogS

ect

ect);

riteln(F

LogF

ile,

LogMes

age

Mes

age);

ou

{
F

nsu

lu

en

d;

re
(F

it

gets

LogF

ile);

tO

nly

time

romEmail);

ToEmail);

ritten

rrent

);

rom

etu

rn

th

un

ct

on

TMailTemplateLog.TimeS

eg

lt

:=

}
tamp:
s

ri

n
es

d;

ormatD

ateTime(TimeF

ormat,

ow

);

essa g

t h

lat

n w

t h

r g

eL

en t h

e. A

de.
g

ing

. Th e

og

en it

e t h

cr ea t es

r es t h a t
pu

sim

m
e l o

a t ica l l y

t o

r(0

pu

lTemp

o f

ind a

o u

o u

cl o sed w

ile);

romEmail,

er

testing

procedure

e ensu
b

}
lat

message

LogF

t o

pl e

ai

a u

a t ica l l y

nct io

og

roy

a r e in t est

e a ppl ica t io

r em

er

o u
o u

t s

is it sel f
pr ev
e o

e w

Faade

io u

l d l o

s
g

r a pper
desig

pl if ied int er f a ce.

ns.

TMailTemplateLog.Log(Mes

e f il ena m

st

a no t h

t h

g r a m

nit ,

B- 8

e o f

no t

e pr o

ist ing

e na m

ormat

error

procedure

en

o r

sepa r a t e u
L

f il e is a u

er

t h

TMailTemplateLog.Error(Error:

Log(Error.Mes

l a r iz ing

cl a ss

et h

en

le)

est

lat

lTemp

L
D

procedure
b

og

t im

ef o r e sending

me(L

TM

n t h

o r e co
u

ines w

a il - O

an

og

pect ed b

in a

l ect r o nic M

e;

le(F

eTi

at

reat

ame:

gging y

a ss E

( see

r r ent

du

j ect

a sed o

er a l

lTemp

j ect

Th is

ri

ed.

ai

e) . Th e l o g

TM

ame

o f

n o b

e cu

og

ormat

ct

th
u

a s ex

r it t en ( a l t h o u

sev

Lo

o a l

o b

t h

er w

e st a g

f il e b

dest r o

-8

en

h iding

Listing B
{

og

ding

g s a r e no t

o b

eL

ped l o

f il es a t

o u

ing

n f il e det er m

it s o

lat

cr ea t ed. I ncl u
l o

e y

int o

lTemp

o r k

r a t io

B:

Appendices

o u

t h

a nd E

co

nv

en h a v
r

enience m

de. F

et h
t o

e t h r ee m

et h

. Log a dds a

or

et h

ina lly ,

o ds f lu

sh

see a ll t h

d t h a t

t h

ds f o r

sim

int er a ct ing

ple t im

est a m

r eco r ds a ll t h

r eco r ds a ny

or

e f ile b

e r elev a nt

lo

f f er

it h

t h

cept io
ey

e lo

essa g

e det a ils f o r

ex

ef o r e t h

essa g

ped m

ns t h a t

co

e t o

plet e,

f ile:
t h

Log,

LogT

e f ile. LogT

essa g

e sent

e
t

it . All t h

ensu

y o u

t h a t

,
t

ile in t est

a r e pa ssed t o
r ing

is a

ese

a r e a b

le

es.

All Together Now


N

t h a t

it h
co

o u

inim

er ent

h a v

e a

e .
d

it h

t h

u
r

e {

nit
$

Listing B-9
v

o b
et w

j ect s,

ea ch

een t h

em

per f o r m
,

o u

ing

ca n pu

it s o
ll t h

n specia liz ed t a sk

em

a ll t o

et h

er

P
h

T
e

P
c

ist ing

C
p

l e

te

ser

B- 9
S
d

int er f a ce,

) ,

a nd is m
dir ect iv

LE

il -o

t p

r o

so

a ll o f

a r k

t h

ed a s b

e m

eing

a in co
a

co

romEmail,
Q

u
C

ou

ery

ToEmail,

L,

nt:

EmailF

e.
e

ssing.

ery

end

ield

ect,

ri

Mes

age:
s

alu

es

rop]

ri

age;

TMailTemplateLog;

Template:
Q

TMailTemplateMes

TMailTemplateQ

ery

TMailTemplateS

end

er;

t.C

reate;

er:

egin
P

rops

:=

TS

tringLis

:=
n

Template

:=
n

:=
n

end

:=
n

ou

:=

ry

th

LogF

ile

ery
er

nt

ry
{

oad

Load
{

MailP

ile

en

rogram

rop

erties

roperties

(P

rops

and

th

reate

LogF
O

op

en

:=
th

og

il

temp

ate

oc

}
reate;

ment

:=

TMailTemplateMes

age.C

arameters

);

TMailTemplateLog.C

Template

trac

ariou

.V

romEmail

:=

alu

es

ery

:=

Template.N

od

eV

alu

e(Q

ery

:=

Template.N

od

eV

alu

e(S

:=

Template.A

ttrib

ect

EmailF
{
Q

Q
u

ield

ery

th

ery

{
i

:=

reate

end

er

og

ase

interf

ting
:=

ac

to

arameters

LogF

ile.Log(LogTemplate

LogF

ile.Log(LogS

LogF

ile.Log(LogD

atab

LogF

ile.Log(LogQ

ess

eac

eg

roc

tarted

ot

rop]

romP

teV

alu

ectTag);
e(Q

ery

Tag,

EmailA

ttr);

ery

.C

reate(P

e-mail

sy

rops

stem

L);

ery

end

er.C

reate(P

rops

);

);

rom

);

Tag);

ile.Log(LogF

TemplateP

en

ile.Log(S

th

TMailTemplateS

LogF

LogF

MailF

TMailTemplateQ

an

Tes

ot

S
{

atab

.V

rops

rops

reate(P

de a ppea r s in

nteger;

ile:

int o

nso le a pplica t io

LogF

n h a s no

( see L

ns b

le.

Th e a pplica t io
t h

set

a l int er a ct io

romEmail);
+

ect
as

ery

rec

ord

.EO

rops
u

rops

ery

e
+

ery

do

rom

.V

alu

es

TemplateP

es

rop]

);

ect);

th

.V

alu

L);
e

ery

ery

lias

rop]

);

Appendix

th

rec

ToEmail

:=

Q
th

et

erf

orm
d

Mes

age

nd

ou

Tes

ting

A
f

logF

oc

el
b

s
eg

au

nt);

.N

extR

d;

atc

any

alu

resu

es

EmailF

iel

ield

ery

f
eMes

ts

age(Q

ery

.F

ield

);

t(F

romEmail,

ToEmail,

ect,

ect,

Mes

Mes

age)

(F

romEmail,

ToEmail,

ormat(EmailS

as

not

to

ov

ent,

erw

S
[

el

ToEmail]

th

em

age);

));

e-mail

serv

er

eTime);

ecord

Exception

errors

and

do

rep

ort

th

ile.Error(Error);

ile.Log(F
id

rops

.F

ree;

ile.F

ery

end

.F

ormat(F

inis

ed

ou

nt]

));

ree;
ree;

ree;

er.F

ree;

d;

d.

Ch

eck

ener a t ing

f o r

a ny

ese ca n b

inst ea d o
w

it h

t h

t h

t h

e Loa

list

is

v a lu

es.

e
t h

op

t o

a s

o a d t h

x
w

t h

t h

a il m

er g

a il o u

ea ch
leng t h

t ,

er y

nf ig u
g

t o

o t h

er

co
o r

essa g
is co

o b

a
T

ecu

it h

t h

t o

co

a n

f o r

j ect

t h

t h

em

t o

op

s:
r

e pr o

g r a m

lo o

k s f o r

t ensio

n.

ex
l

e X
M

LC

ex

st r ing
on

t r a ct

o u

n f ile t o

r r ent

a s

r ea d
o

list

g u
i

t h eir

cu

r o

,
s

r a t io

r eco r d y

nf ig u

ed int o

e is r et r iev

t ed f r o
et er s,

ne
t h

sing

nit . Th is
necessa r y

sessio

n a nd

t o

t h
a

e r eco r ds r et u

e t em
M

ge

t h

e co

o b

nf ig u

t h

e q u

er y ,

r a t io

j ect .

pla t e f ile a nd pa ss it ,

r ned f r o

ed f r o
M

o b
y

per f o r m

a lo

ng

j ect .
ing

t h

o .

t o

essa g
t h

e lo

e is sent . Th is w
r a b

o f

t ine f r o

j ect s

Log o
e

e ex

plet ed m
r it e it

nf ig u

L r o
M

n pa r a m

a ll t h

f ile is specif ied,


b

es a r e a s f o llo

it .

r a t io

essa g

et er s in Loa

e na m

pla t e f ile. I t s na m

e a s y o u

end ea ch
m

t em

e q u

e co

I t er a t e t h r o u
m

om

et er s a nd is pa ssed t o

t r a ct
it h

e X

a il m

pr o per t ies a r e r et r iev


r

no

it self

g r a m
e

t h

ne. I f

e pr o
r

e e- m

pa ss in t h

lt

na m

t h

a nd- line pa r a m

r it e init ia l set t ing s t o

pa r a m

e def a u

sa m

sed t o

pa ssed

Cr ea t e a
w

a nd sending

co

e u

select ed f ile,

t h

t s

en

Error:

on

en

d;

Th e st eps in g

ou

ery

Template.F

so
au

LogF

se

LogF

en

th

a il- O

d;

LogF

en

end

nc(C

.V

ars

cept

ith

ile.Log(F

leep(P

en

merge

Template.P
u

er.S

tp

lect r o nic M

ield

mail

ment

:=

a ss E

n
end

.F

ile.LogTes

LogF

en

ient

ery

ex

ip
u

B:

le t h r o u

e t o
g

a it
g

a
T

f ile if
r edu
t h

nly

ces t h

t est ing . A pa u
e lo a d o

e pr o per t ies f ile.

n t h

e m

o b

se is t a k
a il ser v

er ,

j ect

t o

en a f t er
a nd it s

Appendices

ina liz e t h

co

e lo

plet e. To

da t a b

f ile ent r ies a nd f r ee u

r u

n t h

a se a lia s w

e ex

it h

t h

a m

ple pr o

e BD

t o

po

p a ll t h

j ect ,
int

t o

o u

t h

e o b

j ect s. Y

need t o

e su

set

pplied cu

o u

p t h

st o

a il- o u

e m

er

t a b

is

le.

NOTE
T

h
p

r o
b

s t a

o u

ent

no

lo

du
w

s ,

t h
t h

e
n

a
o

r s
a

i n

r a

a
n

r m

i t h
r o

t h

f o

p
i

t h

w
l

f i n
i n

s c

n a s it
u

it s em

ses t h

r s

t h
e

f i n

t h

.dpr c

f i l e

.dpr

d
t h

s ,
e

t h
m

t h

d.

i n

t h

ener a t ing

i r

t a

r e

t
a

l l

i t h

g
s t

t y
i n

a
t h

l i z

f t e

i c

i t i a

Y
o

i n

i n

r e

t o

i n

o
c

a
c

n
i n

I n
s

i t

l t h

e
r e

t h

t .

o u

ld inclu

ca u

y
p

l l
e

o
c

nt a ct s ( b

it h

st a nds f o r

nly

it h

da t a b

edded q u

de a n a
e na m

t h

er y ,

eir

per m

a se a nd ser v

a nd a w
m

ed f ile( s)

t o

issio
er
y

elem
t

co u

a t io n,

ent
o u

a ss m

n o f

sit u

a y

e sent

it h

r se) . J u
t h

o . E

in t h

a iling s f r o
st

a lt er

en cr ea t e t h

nh a ncem

e t em

ea ch

pla t e X

ent s t o

essa g

e. Th

ch a ng

les/ o b

j ect s,
t o

e r em

o u

im

g r a m

ila r ly ,

ea ch

o f
m

h
o

ich

o u

ding

a ny
t h

pa r t s o f

co

it h

ning

h a s

dif y

o r k s w

pa r t it io

o r e ea sily

pr o t ect

inv
Q

est m

da t a b

a pplica t io

ell- def ined

t h e pr o

g r a m

s cu

a nd
w

it h

ent

f r o

f u

a se a nd w
n

int o

sim

ple

inim

t u

r e

it h

a ny

sev

er a l

int er f a ce,

a l ef f ect s o

a inder .

t s. I t

r et r iev
m

e o u

e t o

det a ils

pr o g r a m

nf ig u

a t

e u

ed h

r a t io

da t a b a se u

int o
t h

n descr ib

es co
a

e f o r m

essa g

ese

elps t o

es. Th is pr o

er .

s y

essa g

t h

n f ile f o r

y o u

ser v

r eco r ds f r o

t w
o

f f i c i e

Th e a pplica t io

e
d

t e

s u

co

i n

o pen st a nda r ds h

TP

a llo

o u

t i o
d

ry

t h

a
o

i t ,

co u

p t o

l t e

r a t io

t h a t

l i c
t h

e a pplica t io

pla t e w

is u

t ech

i s

g r a m

sing

a se o

nf ig u

e pr o

p
e

r e

da t a b

a il t em

u
r

se t h

r est

p
m

i n

f o

ca n u

e co

do cu

r d

s s

t i o

i s

l a
a

r a

t h
c

l i c

t h

t h

r o

t o

o u
y

t h

f o

r e
f

u
o

l p

f r e

e
t h

n inf o r m

sing

eld in a no t h
t h

e w

se o f

ca n

ech a nics,

o r ld u
X

ea sily

a nd w

er e per f o r m

it h

er

a t io n f r o

er g
L

sing

f o r

t h

e co

TP

o u

ir ing

r eq u

cu

ser v

nf ig u

it h

iz ed elect r o nic m
a n X

es f ields f r o

do

a lt er ed
t

st o

o u
a

ent ,

do cu
t h

ent ,

a il-

select s

ese r eco r ds int o

a nd sends t h

e co

plet ed

er .

r a t io n f ile a nd m
t

a ss m

a n
r eco

in- dept h
pila t io

n.

essa g
no

e t em

ledg

pla t e,
o f

t h

Appendix C

A Customized Client

ince a ll X
sim

ple

Applica t io
sea r ch
g

t r ee

do cu

st r u

se t h

t h

e t r ee st r u

pr esent ed in so
client
( t h

pr o

o se b

g r a m

ser v
X

ing
L

o u

illu

t h

e r u

ea sy

e t r ee,
f o r

cr ea t e new

a lw
X

a y s t h

f o r m

er

ne D
w

TD

a t . H

) . X

ing

t h

o r

a no t h

in

a sed o
la r

n t h

o u

la r

a pplica t io

n t h a t

o r

ev

er ,

a y

e b

et t er

cu

st o m

iz ed

ent

t y pe

n- independent

a lso

TD

do cu

v ides a n a pplica t io
int er o per a t e

e a

a nner .

a r e f o r ced t o
m

need f o r

pa r t icu

e D

f ields.

ser - f r iendly . Y

ea sily

a nd h a v

ener ic

er ea s r ela t ed da t a

h a ndle a

t o

ent s b
pa r t icu

er e is o f t en a

t o

er

cu

em

in
u

st ill pr o

client

it h

o st

ence t h

e m

es

ed in Ch a pt er

t h

do

v a lu

def ines,

ned specif ica lly

a llo

pr o cess

specif ic

e o t h

n o

les descr ib

t o

desig

st r a t e h o

du

e elem

li en
o u

t es,

t o
v

pr o

j ect s,

w
o

lo a d a nd pr o cess a n X

ie- w

g r a m

a nd t h

ent s in t h

a pplica t io

it h
no

da t a b a se

s a b

o u

t h is

ich

er

f o r m

a t

t h a t

r ea ds t h

en pr esent s a

is do cu

a t ch

ent

f o r m

t h

e do cu
U

t o

a sis o

t h

do cu

ed pr ev

ent ,
r o

a r e r ela t ed t o
e b

descr ib

ent

t r a nsf o r m

o t h

er

ig a t io

n t h

sly . W

se t h r o u

ea ch

e na v

m
io u

s it

t h
g

o u

pr o

do

. R

o u

a in-

eca ll t h a t

a nd I
D

side,

elph i y

int o

em

t h r o u

n y

e client

it h

ide w

it h in t h

n.

do cu

e m

ce a

t y pe a t t r ib

t h

da t a

e da t a ,

se t h

specif ic o b

The C

ns a r e no t

de,

p t h

ca n u

ca n pr o

t h

is

t y pe.
To

it

ct u r e t h a t

a sed o

t r a nsf er

ent s f o llo

r e,

ns ca n displa y

t h r o u

ener ic a pplica t io
u

ct u

client
m

ent

a pplica t io

Th e m

a in f o r m

inf o r m

a t io

e f o r m

( see F

eco

nda r y

su

ch

a s o

n t h

scr eening
h

e a pplica t io

t h

e P

nt r o l pr o

na v

do

r es C- 1

is w

ent

list ,

a s o

a y
a

f u

nct io

e m

C- 3

m
t h

e u

det a ils

e m

f r o

ies,

cinem

ser

a nd let s t h

a in a ccess t o

a s,

t h

a nd scr eening s.
em

ea ch

o f

ed o

n t h

ing

t h

r o

se t h

e t h r ee list s.

e r ig

h t

side o

) .

v ided b

n t h

o u

r elev a nt

it s det a ils a r e displa y

y
v

do u

ie pa g

ca n ea sily

le- click

e,

f ind a

o r

n t h
v

ie,

e m

n link
o

select

ing

ie na m
a

f ields,
e o

sessio

n t h
n,

a nd

is.
t o

lo a d is specif ied a s a

n ( t h is is necessa r y
r

t h

e det a ils t o
ides t h

n is pr o

cinem

e cinem
cu

a ll

t h r ee list s:

t h r o u

ig a t io
o f

e. I n t h

t h

co

ig u

er e t h

Th e X

t r a ct s
int o

en displa y s t h

e list

pa g
w

ex

em

is select ed f r o

t h

t h

n. A t a b

As a n it em

f ind o u

a nd pla ces t h

f o r

n:

la t er

o n) . To

co

a nd- line pa r a m

a ccess t h

e f ile s na m

et er
e,

t o
u

se

Appendices

Load

igu

r e

igu

r e

-1:

-2

l e

ind

ocu

ment(P

t a

tim

r r e

aramS

tr(1

nt m

ie

),

Mov

n it is sh

ing.

ies

inemas

creenings

);

Appendix

igu

r e

-3

o u

t h r o u
t h

t th

a k

e u

h o u

o b

se o
t h

em

a r e

t o

r eq u

a t t r ib

t h

na m

a ch

co

ilit y

list

t o

r et u

it h

h a v

im

f u

st o

iz ed Client

a sso cia t e a n o b

r ned f r o

e st r ing
nding

t h

e o b

t h

t h

e,

a dds a

it h

o x

t o

t h

ea ch

n t h

e u

e f o r m

en,

st r ing

r e co nt a ins

r ef er ence t o

pr o per t y . As t h
s

r ef er ences. Th

a ccess

j ect

e lo a d pr o cedu

a nd

e list

j ect

edia t e

v a lu

nt ent s int o

ng

A Cu

r .

e a s t h

eir

a lo

o u

f f e

e co r r espo

t h
)

list s a b

. E

in t h

a t ica lly
y

s to

e st r ing

co py

est ed,

g r a m

j ect

list s,

a u

displa y

a ppr o pr ia t e o b

t h

e pr o

j ect s

dif f er ent

ine

C:

ser

( w

en m

necessa r y

o b

a n

select s

ich

so r t s

o r e det a ils
j ect

a nd

it s

t es.

TI P
S

t r i n
j u
o

s t
r d

u
o

I n

f orm

r t i c

l a

insu

ex

o t h
o

er
v

iding

l u

o b
ie o b

i d

t h

l u

t h

j ect

in L

D
S

t h

l p

r ,
b

e
e

l l y

r o

r a

a
V

i a

r o

t h
i

pl

s p
c

t t i n

l i s t s .
e

s e

r t y

i n

r o

r o

f u
l e

d p
e

rt

h
y

T
p

d
a

a
c

m
u

t o

i t h

t e

h
a

t h

y
w

s
g

i a

ru

t r o
w

l i n

l l o

e
s s

t o

r t y

r t y

t o

h
e

r t y
p

t s

r o

t o

t i c

l i n

j e

a
a

n
l l y

f r o

f i l e
i

t h

.i

r e

s t y

l e

i t h

g
int er f a ce f r o
,
s

ich

pr o per t ies f o r
j ect s r a t h er

i n
s .

t h

ser
O

l
g

s e
r t e

i n

e u
M

U
s o

l l y

s e
s t r i n

t s .

t o
a

nit ,

i n

f i n

f r o

r y

la t e t h

t r a ct ed

pr o v

t e
e

s t r i n

sepa r a t e u

ti on

To

l u

l i s t

a
v

a
c

r e

t e

s .

a
g

t h
a

s t r i n

l u
a

r s
l i c

l i s t s
a

e
p

n
v

g
m

su

C- 1

t h

e so u

r ce X

do cu

ent ,

e cla sses co r r espo

nding

er e

f la t t en

- elem

t h a n indir ect

ist ing

def ines t h

it h

t h

o u

o u

ent s a nd a t t r ib
o

nes t h r o u

e X

st r u

h
ct u

t h

t es,

int r o

t o

t h

t r ee

a nd dir ect

n in L

ce a

st r u

j ect s
ct u

r e,

po int er s t o

r ef er ences. Co

r e sh o

du

e o b

ist ing

pa r e t h
2

- 1

Appendices

Listing C
{

-1:

etail

m
ou

(TO

ri

ri

TMov

ie

pri

ame:

ating:

Length
F

irector:

tars

un

j e

mov
b

t.

ie

ect)

ieR

ating;

ateTime;
s

TS

ri

tringLis

is

TD

ct

:
G

ri

etR

on

t;
;

atingText:

etR

ri

atingText(R

atingText:
s

ri

);

ame;

con

des

ruct

ruct

or
D

reate(I
es

or

ame:

propert

ating:

propert

atingText:

etR

ri

ri

:
s

ov

propert

ri

troy

propert

en

TMov

nops

ie

procedure
pub

cl

ab

rea
n

ri

rea

TMov
s

d
w
F

ieR

de;

);

erri

ri

ating

ri

d
t

ating

rea

rea

F
ri

ame

d
G

etR

ri

ating;

Length

atingText

atingText;

propert

Length

propert

irector:

TD

propert

tars

propert

nops

TS
is

ateTime
s

ri

tringLis
:
s

ri

rea
rea
t

Length
D

irector

rea

rea

d
d

S
y

nops

d
F

tars

ri
w

ri

is

ri

t
t

D
S

tars
F

ri

irector;

nops

is

d;

Alt h

o u

o u

necessa r y

t h
u

t u

t o

er m

r e,

o r e,

L
y

e t h

r self ,

it h

o u

h a v
ing

t h

ser

t h

is

t h

a t io

la y

a no t h

er

a k

o u

it h

r ce o r

it

no t

h a v

ilia r

y o u

co

e o t h

in so

a nd ex
ch

t r a ct

no

ld,
er

a t
w

f o r
a b

sed t o

so

a y

o u

t h

t h

pr o per t ies.

e t im

r epr esent

pa t t er ns o f

a ll t h

ea sier

e t o

j ect s a r e u

f a m

ea ns t h a t

so u

es

do

int er na l o b

j ect s w

er

t r ee it self

n. Y

h a t

o r ld o b

t r a

e X

a ppr o a ch

ent s a nd w

is ex

f r o

e inf o r m

e r ea l- w

t h

e da t a

e u

ig a t e t h r o u

do cu

h a v

lo a d t h

ch a ng

y o u

dea l w

. I nst ea d,

r t h

f u

n t o

ct u r e o f

em

ld na v

det a ils

a pplica t io
st r u

co u

it h

e in t h

o u

h a v

ing

int er f a ce.

NOTE
T

h
p

i s

r o
o

b
a

n
o

j e

t h
e

i m

i d

i n

r a

l a

f o r

y o u

r et u

r ning
To

t o
m

rs

i n

. J u

co

nt ent

im

plem

h a ndler

t h

t a

t i o

nc

i r e

f o

r s e

r c

t h

e
p

b
f
a

t a

i l s

i s

su

l a

tio

t h

l y

pr o
t

d
a

l ing o

a
e

o
b

l i n

e
c

B
y
m

t h

r ,
t s

n.

t h
j e

c t i n

cedu

n
o

f f e
o

o
k
e

a
t h

r e

r e
e

c
e

t h
e

s i e

o
k

s i n

t h

s t a

i t
r e

i n

i n

i r
m

i n

j e
l e

c
d

l i a
a

t e

r e

t o

c
c

r i e

r f a

t - o
g

o
h

t e
o

a
i s

n
f

e
n

i n

t h

r e decla r ed in t h

e na m

ese m

em

e o f

t h

e X

a t ch

er

o b

is u

do cu

nit
m

h a ndles a ll t h

ent

e t r a nsla t io

a nd t h r ee list s t o

se in

ie- w

sing

AX

- co

j ect s,

plia nt

en

ts

pa r se t h

e so u

pa r ser

r ce X

a k

es

t h is

do

a n

cu

ea sy

ent
a nd

le t a sk .

a lly

M
t h

ent ing
t h

oc

e ca se in u

h a ndler

t o

cr ea t e t h

su

r e
o
t

pa ss it

g the X
As is u

e da t a .

ener a t e

a int a ina b

t o

st

t h

o
l e

oc

l e

i t h

p
k

i s

w
t

i m
,

e
n

Th e Loa

f
g

r .

r t a

o
i n

o
e

t h a t
t h

e S

e I
AX

no

s a b
t

sing

on

- co

o u
H

plia nt

AX

f o r

t h
d

e ex
e

pa r ser

pr o cessing ,

pect ed do cu
int er f a ce. P
a nd

su

pply

ent
a ssing

ing

o u

f o r m

need t o
a t ,

ich

r it e a
m

a n inst a nce o
do cu

ent

ea ns
t h

ident if ier

Appendix

ca u

ses t h

e pa r ser

pa r t s o f

t h e do

Th e sim
int er f a ce
T

ener a lly

t o

ea sily

t h

e S

n in L
AX

def a u
im

lt

do

Listing C
S

a ct ly

ontentH

pri

inema:

inemas

Mov

ie:

Mov

ies

rice:

creening:

creenings

Text:

pub

and

iz ed Client

e h a ndler

cla ss t h a t

t h

su

o u

do

y
g
b

t h

e S

and

o u

er
cl

th

b
w

All

a s it

r ea ds t h

ir em

u
s

def a u

e m
o

e v a r io u

o
v

ef

au

ent

im

ent s a ll o f

plem

io r s f o r

er

er

o b

co

t h

et h

a l,

a llo

ing

nly
o f

t ines,

e int er f a ce,

nt h

mov

t h
a

ie-w

nd

le
h

ich

a s

f ew

o f

sing

t h

a r e a lr ea dy

e do cu

atc

h a ndler ,

enef it

r o

t h

ea ch

nt ent

j ect s,

AX

ou

and

a t ch

er
f

AX

er r iding .

e b

h a ndler
Th

see t h

ab

ltH

eh a v

a t ch

-w

cu
b

o u

o t h

ie- w

ie

tc

ie- w

specif ic pr o cessing
a

nit )

e do

pplied

er e y

ent s o

now

su

lt

ent s t h

t ines a r e decla r ed a s v ir t u

it h . H
t h

plem

h a ndler

cla ss t h r o u

e m

at

ener a t e t h

(TD

im

lt

pply ing

ese r o u

e dea lt

su

t h

e r eq u

it h

def a u

it h

a se.

r ing a
h

st

def ined,

ent .

r .
er

oc

ments

ler)

inema;
TLis

TMov
:

t;

ie;

TLis
TP

t;

rice;
TS

creening;

ri

TLis

t;

reate;

t
t

ruct

ruct

or
D

es

or

propert

propert

Mov

propert

ies

ov

and

procedure

procedure

End

erri

TLis

TLis

creenings

ontentH

erri

troy

inemas

er

de;

rea

F
F

inemas

Mov

TLis

rea
t

rea

ies

creenings

ov

aracters

(con
s

ch

Element(con
s

ri,

tring);

localN

ame,

erri
N

de;

ame:

tring);

de;
S

tartElement(con

procedure
con

atts

ttrib

tes

);

ri,

localN

erri

de;

ov

ame,

ame:

tring;

d;

As ca n b
t h

e cu

co

e seen in t h

st o

plia nt

( in t h

is ca se t h

ct s t h r ee list s,

a nd f ills t h

em

-3

oad

ith

ref

Mov

Lo

ies

oc

ing th

ment

and

t h

es

to

Load

ocu

ment(U

inemas

Lis

t,

erenc

procedure

nd
X

MLR

ex:
ead

and

ler:

a lo

lt

nding

e do

ng

ist ing
it h

t h

C- 3

th

ie

ess

ap

rop

e
R

Lis

-w

roc

t,

tc

into

e st r ing

riate
ri

MLR

TMW

ontentH

ead

list s u

j ect s it

creenings

reate
ler

th
:=

TMW

ontentH

ler;

arser

and

ler.C

Lis

and

nt.

ec

ts

ists
}

er;
and

ob

nteger;
er:

string

reate;

t:

TS

) ,

a n inst a nce o f

a n inst a nce o f

ne) . Th e T

t o

a in- specif ic o b

eg

t ine ( see L

e def a u

co r r espo
it h

r o u
t

is cr ea t ed,

ent .

Listing C

oc

pa r ser

h a ndler

pr o g r a m
m

nt ent

nst r u

do cu

e Loa

iz ed co

cla ss co

ler

TC
:

des

en

l a

o f

in a

. To

sa t isf y

ent s in t h

st o

con

ov

em
h a t

C- 2

ontent

TMW

se

ing . All t h

a s

e ev

int er f a ces,

int er f er e w

-2

ent s need t o

no t

e t h

cla ss ( in t h
r

no t h

ent ed t o

a nd do

h a ndler

plem

ist ing

ev

def ine a

r epla ce t h

Th is is ex

t o

a k

h a ndler

o u

sh

a y

AX

inv

A Cu

ent .
w

t o

t h a t
y

t o
m

plest

is

st a nda r d S

cu

C:

tringLis

t);

on

a
H

sed in t h
ex

S
n

AX
l

e client

t r a ct s f r o m

t h

Appendices

ry
X

MLR

ead

er

MLR

ead

er.C

nd

MLR
w

eg

arse

ead
H

and

re

th

or

or

d;
a

ment

u
I

);

ere?

end

or.X

MLR

ead

er;

nd

and

O
t

t.A

ou

nt

and

nv

alid

er'

ies

.C

.C

ou

ect(TMov

ie(Mov

inemas

ou

ies

nt

ame,

creenings

.C

ormat(S

t.A

ex]

).N

ect(F

creenings

creening(S

creenings

nd

ou

nd

ex]

nt

I
I

nd

ou

nd

);

ert

nd

ex]

).N

to

ou

tp

ormat

ame,

Mov

ies

);

nd

ex]

nd

ex]

creeningD

es

ie.N

ame,

inema.N

ame]

).C

);

do

).Mov

ex]

onv

inemas

nt

ex]

do

ect(

or

do

ment
and

nt

ocu

ists

nt

.C

ou

en

Lis

ef

inemas

reate(I

Mov

creening(S

ler.R

:=

ler.F

(C

or

inemas

creenings

and

Lis

ex

TS

.C

t.A
:=

creenings

th

inema(C

inemas

:=

ex

TS

c,

),

);

0
t

en

ree;

d;

d;

nce t h
su

e pa r se pr o cess h a s co

pplied

t h r o u
M

t h

a ll t h

es o

tru

t h

e it em

do cu

t h

e co

t h

e S

eir

ti n

Th e f ir st
ent

in t h

e int er na l m

reate

ob

r e

ev

e o b

as

essary

nec

ontentH

and

ri,

localN

ame,

oc

ate

th

mov

ie

un

ct

on

ind

Mov

ie(I

nd

ex:

nteger;

eg

lt

:=
n

ex

:=

Mov

j ect

o r

t h

i
es
f

or

nd

TMov

eg

r l d

or

ie(F

0
t
Mov

o
ies

t o
o

oc

en

giv

ri

):

ies
nd

del is per f o r m

del

inst a nce o f

j e

nes
st ep

.C

ex]

ed b
sing

t h

le u

t h

a t
t h

e m

is no t if ied t h r o u

env

ir o

nm

co r r espo

em
o st

ent

f o r

se,

nd t o

a nd a dd it
r ecent ly

co

el

ements

tring;

id

entif

con

ier

ie;

nt

do
d
t

en

o b

ttrib

t o

t h

nst r u

tes

j ect s
eir

ct ed

atts

la t er

t.

ment

TMov

ou
).I

e.

ine t h

e a ccessed la t er .

;
l

ent s t h

e h a ndler
m

elem

r
I

e o
o u

a n a ppr o pr ia t e v a lu

ile scr eening s co

e cla ss is int ended f o r

t h em

ame:

th
s

l -w

t o

tartElement(

ith
:

o b

ef er ences t o

f o r

ler.S

er

new

) . R

r e

t h

list s,

list s.

t ines. F

j ect

ne

a t ch

ince t h

cr ea t e a
C- 4

int er na l

ts

ie- w

o u

r o u

a .

nt er ed a nd t h

ist ing
in t h

pr epa r e

t h

st r ing

d,

r ing a

ts

ing

es ent er ed,

j ec

o f

is enco u

ent

del,

ese list s a r e t r a nsf er r ed t o

ea ch

ie a nd cinem

ct o r . S

t h

o r

e ident if y
na m

e m

ent

u
t

ec

TMW

procedure

( see L
it h

t h

e necessa r y

et h

er

eld w

t h

eir

nst r u

m
t

e o t h

-4

con

ilding

plet ed,

el O

elem

in t h

j ect s a r e h

e t h

cr ea t es t h

a ppr o pr ia t e list

Listing C

a s ea ch

pr o cessing
it h

od

h a ndler s co
ct o r

g r a m

s a nd set

a sso cia t ed m

st ep in b

nst r u

pr o

a s h a v

g M

Th en,

o b

ca lling

v ies a nd cinem

na m

ler;

nt

gh

Lis

nd

and

oc

l
ou

rou

ex

ies
I

on

etS
H

Exception.C
th

nd

or

en

al
.C

tep

TC

ey
ies

:=

do

creenings

Mov

en

e(U

(S
ra
{

en

ler

(Mov

th

er.pars

:=
ler

and

ontentH

);

Appendix

es

lt

:=

TMov

ie(F

Mov

ies

C:

nd

A Cu

ex]

st o

iz ed Client

);

Exit;
en
en

d;

d;

oc

ate

th

inema

un

ct

on

ind

inema(I

nd

ex:

nteger;

eg

lt

:=
n

nd

ex

:=

inema(F

TC

ith

th

inemas

giv

ri

en

):

id

TC

entif

ier

inema;

r
I
i

es
f

or
i

TC

eg

l
0

inemas

.C

nd

ou

ex]

nt

).I

nd

do
I

d
t

en

n
es

lt

:=

inema(F

inemas

ex]

);

Exit;
en
en

d;

d;

oc

ate

th

ric

un

ct

on

ind

rice(P

ing

nd

ex,

nd

eg

lt
I

nd

TC

sc

eme

riceI

ith
s

ri

.C

ou

nt

th

giv

):
g

en

id

TP

rice;

do

entif

ier

r
I
i

ex2

:=
n

ex

:=

nteger;

es
f

or
w

eg

l
0

inema(F

inemas

inemas

nd

ex]

do

nd

ex2

nd

eg

es

P
>

lt

:=

:=
ex2

ricing.I
-

1
t

TP

nd

exO

(P

riceI

);

en

rice(P

ricing.O

ects

nd

ex2

);

Exit;
en
en
en

d;

d;

d;

eg

i
i

n
q

eg

Mov

ie

Mov

ie.R

Mov

ies

MW

en

el

ame

.A

inema

:=

inemas

.A

el

rice

inema.P

el

creening

el

e
F

en

d;

cinem

q
f

o b

:=

TMov

ie.C

:=

atts

.getV

inema

MW

ame
:=

t h

e(MW

.getV

alu

e(MW

));

ating);

en

.getV

alu

e(MW

));

en

reate(atts
d

MW

:=

TS

creening.C

creening

.getV

(F

MW
P

e elem

alu

e(MW

.getV

alu

));

e(MW

),

rice);

en

reate(F

alu

e(MW

ind

Mov

inemaI

ie(atts

)));

riceI

.getV

alu

e(MW

Mov

ieI

)),

creening);

es

ion

rice(atts

ent ,

inst a nces a r e co

.getV

ect(atts

ind

alu

reate(atts

rices

rice.C

.A

reate(atts

inema);

j ect s a r e cr ea t ed

t es o f
a

inema(atts

rice

v ie

a t t r ib

creenings

en

ie);

(F

ame

en

inema.C

TP

ind

MW

TC

eg

ricing.A

:=

Mov

ame

eg

en

(F

ame

eg

en

ie

atingText

Mov

en

.getV

alu

it h

eir

ef o r e b

nst r u

t h

eing

e(MW

I D

));

a nd r a t ing ,

a dded t o

ct ed a nd a dded t o

t h

t h

e list

e cinem

a s ex
o f

t r a ct ed f r o
o v

a s list . P

ies. S

im

r icing

t h

ila r ly ,
det a ils

Appendices

elo

ng

t o

a dded t o
S
g

h
I

ef o r e
r esu
t o

j ect

h a ndler
inv o

st r u

ent s
eir

t h r o u

t es. Th
t o

t h

ct u

pr ice elem
C

ese o b

)
a

ent s ca u

t h

se a

new

ie a nd cinem

j ect s a r e lo ca t ed f r o

scr eening

a n a t t r ib

pr ice o b

j ect

t o

n list .

e m

o b

it s list . I ndiv

r e v ia

on

ten

a ppea r
o

ed a s t h

elem

is a dded t o

g C

elem

so

j ect s

idu

co

t h

nst r u

a l sessio

t e. Th

link

eir

it h

et h

r espect iv

ct o r .

ns w

ed t o

As

in a

e list s

ef o r e,

scr eening

e a sso cia t ed pr ice o b

j ect

er

t h

r ef er

is lo ca t ed

la t er .

ti n

j ect s in t h

a ,

a s ( F

nt a in r ef er ences t o

pa ssed

pr icing

er

cinem

cinem

a t t r ib
F

ed f o r

la

t h
o b

o b

eir

u
O

la r

r r ent

eing

lt ing

t h

a nd sa v

Ac

e cu

cr eening s co

t h r o u
b

pa r t icu

t h

a s

n r ig

t h

e co

pr o per t ies

h t . Th eir
C

nt ent

ent s a r e dea lt

co

it h

in t h

e E

f o llo

t h

ent .

ing

del

o b

a ppea r s a s t ex

ev
s

is pa r sed,

o f

nt ent

t h
ev
t

ev

e S
t

t h a t

er ,

ent ,

j ect s,

t h is

r a t h er

is r et u

nce t h

et h

eir

. H
t

co

t h a n

r ned t o
is

ence,

nt ent

a s
t h

nly

t h

ese

h a s b

een

ident if ied.
W

it h in t h

t o

a ny

ex

co

nt ent

t o

em

t h

e u

se o f

mu

eg

i
F

en

co

nt ent

a de u

tex
C

ent

p o

sev

ch

l a
c

ting te

and

it

er a l t ex

CD

n in L

f o r

ist ing

la t er . I t
no

des,

elem
h

) ,

o u

in t h

e s

a dd t h

le f o r

per h a ps co

ent

ATA sect io

C- 5

is po ssib
m

ing

op

f r o

e new

t ex

a n elem

dif f er ent

) ,
s

ent s

o r

t h r o u

ns.

x t.

ontent

ontentH

( sh

a s t h e e

r ef er ences o r
c

TMW

ev

e a nd sa v

ent s ( su

ate

procedure
b

e m

ent it y
-5

v a lu

edded elem

Listing C
{

e t ex

ist ing

ler.C

aracters

(con
s

ch
t

tring);

n
Text

:=

Text

ch

d;

TI P
S

o
b
b

i n

h
a

X
v

s i c
p

i o
a

r a

r
n

o
C

ie- w

p
l f .

in t h
w

e m

ich

o
o b

ev

t u

l l e

r n

ie,

j ect

t i c

l l y

t h

r o

elem

del

ent . O

t h a t

a ccu

ich

ent ,
v

t o

t r o

r e

ine w
elem

l y

er

Th e E

a
o

ed ea r lier ,

ca n t r a nsf er

det er m

l l

t h

r m

h
t e

a
x

l i z

p
t

r o

i t

t e

f i n

r t y

s ,

r e

t h
e

e
p

y
a

i r i n

r e

r s e
g

t h

i t .

s e
h

I n

d
n

h
d

t h

l e

r s ,

r e
r

i s

t o

t h
f a

i s
i r l y

t h

erti es

a t ch
t

r s

s i m

rop

r s e
b

i t s e

As descr ib
m

t i o

g P

t h

o b

a ,

t h

int o

t ine ( see

na m

L
t h

eing

f o r

co

nst r u

t h

do cu
eir

co

ent

t h a t

nt ent

o se elem

e co r r espo

ist ing

C- 6

t o

f r o

e is insu

a nd pr ices elem

r r ent ly

M
e

t h

a nd pr o per t y
ent

e X
h a v

e end t a g

la t ed t ex
r o u

j ect

e elem

cinem
is cu

pr o per t ies

nce t h
m

ent s f r o

a s

set

f f icient

ent s. F
ct ed ( t h

o r

)
m

a r e pr esent

ilt

ent s is enco u

nding

ses t h

t h

e t ex

del o b

elem

t . I n t h

ident if ica t io
t h is r ea so

e non- n

n,

it h

nt er ed,

o u

o ne) .

t h
y

e
u

j ect .
ent

na m

e ca se o f

n since it
y

in t h
in

need t o

t o
t h

a ppea r s
ch

eck

Appendix

Listing C
{

av

-6
tex

u
t

ep

ac

un

ct

on

eg

j e

t m

to

ontentH

ap

o
p

and

rop

r ty
p

ame:

onsec

tiv

ite

e(con
s

2
t

:=

Length

(R

lt[

sp

iz ed Client

s.
}

tring);

ac

Text:

l u

st o

erty

rop

Element(

r o

riate

ame,

ormaliz

ler.End

localN

c
N

lank

A Cu

ith

ri

one

):
g

sp
ri

ac

time

B
v

ing o

ontent

ri,

TMW

con

con

procedure

C:

..#

r
I

nd
i

ex:

nteger;

es

:=

Text;

Length

lt

(Text)

<

en

Exit;
f

nd

ex

(R

es

eg

or

(R

en

d;

lt[

ex]
nd

es

lt)

dow

lank

)
B

lank

ex

]
i

'

do

d
s

ear

en

es

nd

ex

:=

elete(R

es

lt,

nd

ex,

mu

nd

learText:

en

d;

lt[

etu

rn

th

un

ct

on

eg

ac

lt

:=

Trim(N

:=

'

ead

ated

'

tex

);

t
s

and

ri

or

nex

es
F

Text

en

es

nd

'

ormaliz

e(F

Text));

eg

i
i

d;

n
q

ame

Mov

ie

C
s

e
F

P
s

e
F

S
s

el

el

el

el
b

MW

N
:=
q

i
i

MW

rices

MW

creening

MW

(F

Mov

=
i
=

ame

igned

Mov

ie.N

P
s

e
F

inema.N

ame
s

rice.N
s

(F

ame

igned

igned

(F

ame

MW

Mov

ie.Length

:=

Mov

ie.D

F
s
F

Mov

ie.S

C
s

e
F

C
s

e
F

C
s

e
F

C
s

e
F

C
s

el

el

el

en

ead

en

nd

en

en

ame

ame

ead

ead

:=

MW

Mov

ie.S

tars

.A

(R

ead

ame

MW

y
N

nops

inema.P
q

inema.A
q

ame

inema.C
q

one
R

ead
d

MW

:=
MW

learText

learText)
t

en

nd

learText

en
C

learText

s
t

en

nd

ar

learText

:=

Tru

is

ab

led

cces

MW

eriod

ar

ab

ead

and

MW

ame

nd

:=

learText)

ead

is

nd

irections

MW

nd

en

res
R

en

ead

and

inema.D
i

is

ame

nd

irections

nops

ead

A
h

:=

res

ame

inema.D
i

MW

en

en

learText;

nt(R

ead

:=

one

ame

R
tar

is

ame

irector

nd

trToI

ame

en

learText

inema)

irector

S
D

nd

Length

MW

learText

rice)

:=

el

en

:=

el

ie)

el

el

ame

:=

en

el

:=

el

el

ie

el

el

en

ame

Mov

creening

eg

MW
i

=
n

ame

rice

ie

:=

q
f

ame

inema
i

Mov

:=

h
nd

en

en
C

learText

led

cces

:=

Tru

s
t

en

s
t
e

en

Appendices

P
s

e
F

P
s

e
F

P
s

e
F

P
s

e
F

S
s

e
F

S
s

e
F

S
s

e
F

S
s

e
F

el

el

el

el

el

el

el

el

en

rice.P
q

eriod

:=

ame

MW

rice.A

MW

cou

nt

ame

ame

loat(R

trToF

loat(R

is

nt

ate

ead

nd

learText)

ead

nd

en

loat(R
t

as

es

MW

igitalS

es
t

:=

creening.S

ead

nd

learText)

ead

nd

learText)

en
e

ou

nd

:=

ion

ateTime(R

ateTime(R

Tru

nd

learText)

en

trToD

en

trToD

as

ing.A

learText)

oP

ow

:=

es

nd

:=

oP

ate

MW

ate

ame

trToF

ate

ead

en

MW

ame

learText

tartD

ou

en

cou

igitalS

creening.D
i

nd

ild

End

lt

:=

MW

creening.N
i

trToF
C

tartD

ame

q
f

MW

creening.End
i

:=
=

creening.S
i

ead
d

MW

ild

is

q
f

R
A

:=
=

ame

rice.D
i

lt

ame

rice.C
i

en

ead

h
j

ect(R

nd

learText

en
ead

nd

learText,

rice);

d;

Th e

su

pplied t ex

r epla ces co
a nd
R

t r im

t h

e F
T

it e

et

sim

ply

f o r

pr ices
t h r o u

st

f u
t

it

f r o

nct io

a r e no t
t h

t h

no r m

eir

f o r

t ex

set

a ccu
v a lu

t h

st a r t
s t h

eing

a nd

sed. Th

es a r e co

e t h

t ex

it y ,
t

t h

o f

sing

t h

a s w

f o r

is pr o cessing

it h

e nex

no

t ex

er t ed a s necessa r y ,
elem

pr o v

su

ide

Bo o

Th

lea n pr o per t y

ch

o u

a s t h

a t io

inf o r m

led a ccess a nd ca ndy

nding

t .

de.

ent s

le spa ce

ell a s clea r ing

nv

e disa b

e co r r espo

end

is a ct iv

la t ing

da t es.
lik

ef o r e b

h it e spa ce ch a r a ct er s w

t h

scr eening

o u

n per f o r m

pr esence,

er e y

a liz ed

r r ences o f

is r ea dy

t o

a r
T

set t ing
u

w
e

en

nt er ed.

j ect s t h a t

spa ce

a nd

a r e enco u

a . H

Th e o b
t

f ield so
t

cinem

ey

e o ccu

r o per t ies t h a t

t ick

t h

t iv

nsecu

m
t

a r e b

et h

d,

eing

o per a t ed o

a nd t h

e sa v

n w

er e cr ea t ed in t h

ed r ef er ences a r e u

sed h

e a ppr o pr ia t e

er e.

NOTE
E

l e
a
c

li en

t h

Th e

r et u

s a

r y

t h

e u

ga

ser

per f o r m

o f

e
sh

f r o

n in t h

i n

list s

a r e

t h

t h

s in t h

e list

ed t h r o u
x

g
v

h
i

i n

e
s

c i n

r a

t i n

sed

e
a

t h

j e

c t

rri

l e

l t h

e
e

s .
T

e
h

g
p

s t r u

r e

o x
t o

n
o

n t h

it h

h
r e

l e

f r o

t h

ga

y
t a

t u

r e

r s .
m
r e

t i o

t h
a

E
e

s i n

u
c

l e

i e

s ,

s e

t h

f r o
a
e

t h

t h

r e

t h

r v

e
e

y
t o

n t h

on

a pplica t io

ey

t h

ca n b
e f o

r eo r der s

t h

a t t a ch ed
( see L

r m

. S

e
o b

ist ing

e scr een ( a nd du

f o r

e a ssig

a nd
t o

et t ing

t h

e S

ent r ies

f o r

j ect s.

Th e

C- 7
r ing

displa y

ned dir ect ly

or

displa y ,

ed w

is inv

en

t h

e init ia l lo a d) . I t

ent .

co r r espo
i

e lef t

e f o r m

a r e select ed,
e

client
list s t h

t h

t h

s o

a ssig nm

t h

a t ica lly

d o f

e t a b

t h

a r e st r ing

a u

et h
t h

it h in

ey

o x

ne o f

t h

e list

ge

t o
r e

t h

ince t h

o f

t s .

list

t e

a sso cia t io
h

e necessa r y

e l

i g

l e

e
C

t r i b

l u

- e

t h a t

on

n
e

i n
n
e

select s o
s t h

displa y
w

o
b

r po ses. S

t h
t

c
n

pr o per t y
s

As it em
b

t
a

t s

m
w

s u

o
c

l e

r ned

n
t

e
e

r et a ining
a

ig a t io n pu

e I

o
n

es

pr o per t y

i r

t e

roc

na v
t h

t P

c
d

t h

r o

t s
x

r e
g

t e

r r e
a

u
f

it

is ea sy

nding
k

r o u

t o
j

r et r iev
c

t ine ( see L

e inf o r m

a t io

ent r y . Th is t ech

e a ll t h

niq u

ist ing

C- 7

) .

n t o
e

is

Appendix

Listing C
{

ow

isp

l a

sel

ec

ted

procedure

Tf

rmMov

-7

eg

eg

lb

xN

av

tems

.B

eginU

tems

.C

lear;

tab

av

pd

Mov

tab

av

tems

:=

tab

av

tems

:=

tems

iz ed Client

s.

ers

.tab

istb

ex

ox
N

av

igationC

ange(S

end

er:

TO

ect);

ect);

do

.End

pd

igation.I

av

igationC

el

eg

eg

i
i

temI

nd

lick

an

item

to

Tf

rmMov

ieW

atch

av

nd

ex

inemas

nd

ex

creenings

:=

xN

xN

Tab
t

en

Tab
t

en

Tab
t

en

ex

(lb

ontrol

lb

ies

igation.Tab

eC

ec

Mov

ate;

av

procedure

igation.Tab

creenings

xN
ctiv

nd

ies

inemas

xN

av

igation);
:=

isp

igation

lb

ay

xN

its

av

ers

igation;

etail

.lb

xN

av

ex

Mov

igationC

lick

(S

end

er:

TO

do

n
I

temI

I
i

nd

0
0

en

ex

av

igation.Tab

ie(TMov

tems

tab

Mov

e
S

h
s

e
S

ay

el

<
:=

nd

S
el

ex

temI

en

in

igation.Tab
:=

lb

ite

st o

ate;

tems

lb

ie
s

igation

d;

d;

atch

ieW

en

etail

el

en

A Cu

el

C:

ow

tab

av

;
nd

ie(I

.O

igation.Tab

nd

ex

tems

.O

nd

ex

ow

C
i

ow

creening(TS

creening(I

etail

mov

ie

atch

ers

.S

inema(TC
tab

av

inema(I

igation.Tab

ies

ects

Tab

en

temI

nd

ex]

))

inemas

Tab
t

nd

ects
=

tems

.O

temI

creenings
b

ects

en

ex]

))

Tab
t

temI

nd

en
ex]

));

d;

en

d;

isp

Tf

procedure
v

eg

eg

rmMov

or

ieW

}
h

ow

Mov

ie(Mov

ie:

TMov

ie);

r
I

nd

ex:

nteger;

Mov

ie

ed

tTitle.Text

:=

ed

tR

:=

Mov

ed

tLength

:=

ormatD

ed

tD

irector.Text

:=

irector;

lb

xS

tars

:=

tars

:=

nops
p

ating.Text

memS

ow

.I

eg

d;

inemas

inemas

.I

tems

0
t

it

is

ieR

atingText[

ating]

ateTime(TimeF

ormat,

Length

;
is

ay

ing

at

nt

do

lear;
f

or
i

f
t

pd

ate;

nd

ex

TS

creening(F

:=

o
S

creenings

creenings

.C

ou

.O

ects

1
I

do
nd

ex]

).Mov

en
d

creenings

ect(TS

.O

ects

nd

ex]

).C

creenings

.O

ects

nd

ex]

);

ou

nt

0
t

lb

xC

inemas

.I

temI

nd

ex

pd

ate;

eP

age

:=

ts

>

creening(

en
:=

d;

d;

pgcD
en

ic

.Text

ame;

n
eginU

End
en

.Lines

xC

tems
is

lb

.Text

nops

en

do

etails

.A

ctiv

Mov

ie;

inema.N

ame,

ie

Mov

ie

);

Appendices

r o m

t h a t

o b

int o

t h

C- 7

a s a n ex

co

e co

t h

er

na v
g r a m

ing

ina t io

click

ey

r o u

. F

-8

sc

rmMov

ow

Lis

[
en

d;

ed

t(S

nter

eg

en

ac

ey
xC

r u

na

r espo

do u

ie inv

na

ieW

creenings

Tf

ik

o k

r o u
e

it s t y pe a nd set

t ine is sh

sing

a k

t h

e po

es displa y

nding

t o

le- click ing


es t h

ser s,
in t h

e ev

pa g

a no t h

is list

er

ing

t h

t h

n in L

o f

em

ist ing

st r ing

list s,

e det a ils o f

t h

ent

e
er

ser

int er a ct io
in t h

h a ndler

a nd
ev

( r eu

a n ent r y

lo

ent

sing

sh o

ca t es

h a ndler
t h

e f u

ns

e list

n in L

t h

it h

t h

cinem

ist ing

a s

C- 8

co r r espo nding

r ea ct s t o

nct io

o f

na lit y

pr essing
o f

t h

t h

e do u

le-

if

t:

N
t

ETU

lick

or
xC

ormat(S

ord

inemas

ou

e-c

atch

n.

.lb

xC

ieW

tio

ers

Tab

rmMov

lC

iga

etail

lb

atch

inemas

n t h
co

v a lu

e pr o

TS

if

ie

lick

lC

lb

es

(S

end

er:

TO

ect);

ex]

));

c,

xC

inemas

.I

temI

ey

end

nd

xC
tS

creeningD

tems

ic

.lb

mov

inemas

.I

ers

inemas

ow

n(S

er:

TO

ect;

tate);

en
(lb

xC

g r a m

e t h r o u

f a r

t h

f ile t o
Bu

t h

e R

ne o

le a

t h

do

inemas

n |

ra

);

t h

s E

e na m

nning
m

et ers

f r o

enu

een st a nda lo

es o

e o f

t h

it h

e t a r g et

in D

elph

i y

o u

do cu

ent

specif y

t h

is

o pt io n.

t r ig

indo

plo r er ,

o u

su

a nd it

o u

client

do cu

s y

o u

select
V

pply

it

it h

t h

e na m

e o

o pens a nd displa y s t h a t

is it s deliv

er

ne. Y

et er

t h is cla ss o f

is t y pe in W

indo

pply
u

a nd- line pa r a m

f ile t y pe f o r

pen W

su

er

n h a s b

co

st

et er . R

nlo a ded f ile t o

def ine t h

o u

e a dv a nt a g

new

To

e a pplica t io

def ine a

rows

lo a d a s a

ena b

a nd line pa r a m

gh the B

ple.

Screening

reening

ts

ey

lb

a s a

ov

d;

To

Throu

o v

j ect s,

sim

f r o

o a r d u

tTitle.Text,

procedure
v

es

ey b

itio

Tf

ow

ir ed pr o cessing . U

ple,

n a n ent r y

a m

t h

o r

th

co

ex

la r

ile o

t ine) .

to

eg

e det a ils a ppr o pr ia t e t o

a in- specif ic o b

t o

n. F

t h

e r eq u

o r

procedure
b

ig a t io

es

Listing C
{

t h

e do

t r a ct

e scr een. Th e S

scr eening s f a ir ly

pa r t icu

nt er k
E

ich

co

t h
eir

pr o

ex

n t h

ple o f

it h

ies a nd t h

client

y o u

ls o

a m

ined w

sh

j ect ,

nt r o

er y
a u

a cr o ss t h
t o

t h

f ile.

e I nt er net . To

a t ica lly ,

a ll y

o u

do

is

ent s.

do

t h

iew

e f o llo
O

ing :

ns ,

t io

a nd select

t h

e F

il e T

y p

es

t a b .
2

a m

ine t h

t h a t

e list

it h

ident if y

t h

pr o g r a m

t h a t

Add a
N

dea l

ew

a
l

no

t h

e r eg

ist er ed f ile t y pes a nd t h

o t e

t h a t

e co r r espo

s h

t o

f ile t y pe f o r

ea ch

nding

dea l w

t h

e m

h a s

it h

I M

t h

ie- w

em

a t ch

list

e a sso cia t ed pr o
o f

t y pe,

f ile

ex

a nd t h

t ensio
na m

g r a m
ns

e o f

t h a t
t h

.
er

do cu

ent s b

pr essing

e.

y p

nt er
a

t h

em

e t y pe,

new

o f
t h

descr ipt io
c

on

n,
-

M
ov

ov
e

i
w

e
a

W
c

a
h

t
e

c
r

t h

a nd t h

co
ex

nt ent
t ensio

( M
n,

I M
.

E
m

)
x

t y pe,
. Th

Appendix

I M

t y pe,

a
p

on

C:

A Cu

,
?

st o

iz ed Client

indica t es t h a t

t h e f ile is a pplica t io

specif ic.
5

r ess N

nt er
F

t h

t h

igu

e,

e f ile b

o f

n ( see F

r e

-4

Ch a ng

op

e t h

t h

a ct io
,

n.

a nd pr ess B

e co

r e C- 4

e w

it h

ro

t h

n a

s e t o
w

e t ex

o pened is pa ssed t o

ig u

lt

a nd f ilena m

eing

a ct io
C

def a u

e pa t h

pr o cessing

it s na m

o llo
o f

f o r

ew

t h

sea r ch

e pr o

a nd- line pa r a m

y o u

a pplica t io

indica t e t h a t

g r a m

et er

f o

t o
( h

ence t h

ea r lier ) . P

t h

e need f o r

r ess O

t o
K

n.

e na m

sa v

e
t h

e t h

) .

tio

n f o

e a sso cia t ed ico

n if

ie

-w

o u

tc

ish . S

et

t h

nts.

e o t h

er

ch

eck

o x

o pt io

ns if

desir ed.
8

a v e t h

a v ing
do cu
u

lt s ( see F

def ined

ent

p w

e r esu

it h

t o

t h

h a v

in y

o u

o u

new

e a n .
r o

f ile is cr ea t ed t o
pa ssed t o

ig u

t y pe,

ser ,

ld t h

client

r e C- 5
y

o u

pr essing

st

ex

it

lo a ds dir ect ly

e do

t ensio n. N

pr o g r a m

r ena m
w

co m

s e

r v

int o

nlo a ded t ex
a s a

t h

t ,

t h
er

o u

it h

s e b

l o

enev
y

e C

t t o n.

ie- w

a pplica t io

t h

a t ch

er

t h is f ile t y pe is o pened

e na m

a nd- line pa r a m

n. A t em

e o

t h a t

po r a r y

f ile b

eing

et er .

TI P
Y

t h
h

o
t y

e
w
p

s e

y
o

e
i t h

n
c

r ,

m
y

t h

e
o

t o

s e

t s .

n
.m

e
x

t
h

i s
t o

t e

y
p

r o

s o

s i o

W
s

e
s

i a

i s
t e

b
d

e
t h

r
d

t o
e

ppl

s u

n
i

t
c

l y

t h
i

t h

s e
/

r v
m

r r e

e
v

t h

I M

y
a

t y

a
h

r e
r

f o

s i n
I M

r
g

,
E

Appendices

igu

r e

ry

Alt h

o u

-5

a dv a nt a g
t o

ne

f il e

ty

lo sing

sing

pr o cessing ,
t h

e b

Th e

do cu
M

enef it s o

a pplica t io

a pplica t io

n in D

ent s. By

do cu

pr o g r a m

f o

ie

-w

tc

ener ic pr o cesso r s ca n h a ndle X

es o f

is t h a t

specia liz ed a pplica t io

f r iendly

m
h

elph

ent ,
enev

y
er

in da t a

descr ib
i t h a t

o u
su

in m

nts.

a ny

a t io n h

a ccessed. Th

ed

r eceiv
new

ca n h a v
ch

int er ch a ng
er e

sh

f ile t y pe in t h
e y

ib

o u

W
w

eb

e r eg
r o

l w

a y s,

eliv

s f o r

n o

st o

t h

e sent

o r e u

ns,

ca n

r it e

la r

ser -

it h

t h

a t ica lly

er ing

o u

client

cla ss o f

specif ic t o
t o

ne o f

ilit y .

o u

a u

nlo a ded. D

in ca n a lso
w

pa r t icu

ist r y

ser

it h

a nd v a lida t io

e a nd leg
s

sef u

is a llo

es a nd pr o cesses a

f ile is do

eld w

ell a s incr ea sed int eg r it y

def ining

e inf o r m

ns a nd ea sily

a s w
f

t h

da t a

k ick
w

is t y pe o f
o f f

a s nev

t h

er

e
so

ea sy .
Co
da t a

pa r e t h is S

inding

er sio

AX

im

n discu

plem

ent a t io

ssed in Ch a pt er

f
2

t h
2

e cu

v iew

er

it h

t h

e X

I ndex

T
C

A
Attr interface
in C
attrib

o ft D

l T
m

atab

ex

AT

AT

AS

ex

o ft D

p l e,
E

am

am

ents

in C

co nfig u

p l e,

O
m

X
T

m
X

X
T

m
X

l C

o m

l D

o cu

cep

rag m

ent interface

o ft D

o ft D
y p

E
x
U

E
p

e interface

o ft D

am

o ft D

tio n ex

cep

o ft D

l em

nl o ad

cep

I m

o w

3
tio n
,

entatio n interface
o ft D

p l es

co d

e,

iii

D
U

o ft D

el em

ent cl as s ,

o m

I m

l em

ent cl as s ,

l em

e cl as s ,

cl as s ,

l N

am

l N

o d

e cl as s ,

o d

l N

o d

eL

ex

3 0

ap

l N

o tatio n cl as s ,

l O

cl as s ,

l P

ars er cl as s ,

l P

ars erE

l P

ro ces s ing

rro r ex

ex

o ft D

o ft D

p l e,

am

E
0

in C
cep

tio n,

ex
6

ctio n cl as s ,

am

o ft D

o ft D

references
U

ntity R

p l e,
U

in C
3

interface

entity

2 4

I ns tru

am

ntity

1 4

cl as s ,

in C

entities

ail

in C

eM

el

in C
e- m

is t cl as s ,

o d

p l e,
U

ents

eference cl as s ,

ed

2 3

entatio n cl as s ,
1

am

in C
2

y p

l D

ent interface

ex

rag m

l E

l em

entF

2 2

entT

o cu

o cu

ntity

ent cl as s ,

l D

ntity R

tio n,

ata cl as s ,

l D

j M

5 0

2 0

ectio n cl as s ,

l E

p l e,

p l e,

ex

ent cl as s ,

l E

in C

aracterD
m

u te cl as s ,

ataS

l C

o ft D

p l e,
U

am

1 8

cep tio n ex

1
o ft D

am

in C

in C

d
X

l Attrib

l C

entT

in C

3 ,
x

2
S

in C

,
to

ents

ex

o cu

D
2

al iz atio n,

entF

ex

L
O

ing ,

o cu

o ft D

ars ing ,

no rm

o ft D

o ft D

l o ad

o ft D

in C
2

ex am

in C

co nv erting

ratio n

s ing
E

o ft D

p l e,
U

ent interface

ex

o cu

ata interface

in C
m

aracterD

o m

co

ectio n interface

in C
C

am

in C
C

A s ectio ns

in C
D

ent interface

in C
D

See C

ail

o cu

C
C

ex t cl as s ,

l .

as e

e- m
D

0
d

o ft D

u tes

in C

p l es
o w

o ft D

eference interface
E

o ft D

co d

nl o ad

e
iii

I ndex

M
S

a ad e p

attern,

1 ,

S
3

T
Q

etS

AX

ex

tru

am

end

p l e,

o r fu

nctio n

o ntentH
ex

am

and

p l e,

l er interface

ex

am

O
4

atch

s to m

iz ed

cl ient,

am

ed

o d

o d
U

eM

ap

ery

ang u

ag e.

See S

tio n,

and l er cl as s

cep tio n ex

am

o ft D

p l e,

in C
o d

eL
ex

o ft D

am

p l e,
U

o ft D

in C

o ft D

ex

am

p l e,

in C

o ft D

no tatio ns
in C

o ft D

cep

ro ces s ing
in C

o ft D
ins tru

am

in C

p l e,
U

3 7

ex
im

p l e,

p l e,

am
l e M

o cu

ex

am

l E

ex

am

ail

rans fer P

ro to co l .

rag m
y p

p l e,

o d

l N

ex

am

l N

ex

am

l O

ex

am

o d

eL

ap

el

2 4

cl as s ,

l P

ars er cl as s ,
ars erE

l P

ro ces s ing

ex

am

l T

ex

am

rro r ex

cep

I ns tru

tio n,

See S

am

l : s p
P

ratio n fo rm

p l e,
ace,

at,

4 7

3 2

ath
in C

o ft D

ctio n cl as s ,

ex t cl as s ,
p l e,

o d

p l e,

6
1 4

o tatio n cl as s ,

j M

cl as s ,

is t cl as s ,

p l e,

3 0

p l e,

eM

e cl as s ,

p l e,

2 3

entatio n cl as s ,

l P

ent cl as s ,

e cl as s ,

eference cl as s ,
N

p l e,

ed

o d

am

am

l em

cl as s ,

p l e,

0
p

ntity R

l N

m
X

0
T

entF
entT
4

ntity

l E

p l e,

2 2

ata cl as s ,

ent cl as s ,

l N

ex

ex

as cal

p l e,

p l e,

o cu

2 0

ent cl as s ,

o cu

ent cl as s ,

AX

fo r P

aracterD

l D

ectio n cl as s ,

p l e,

l D

u te cl as s ,

ataS

co nfig u
am

l em

ex

AX

M
5

l E

o ft D

cl as s ,

I m

o m

ctio n interface

am

ctio ns

o ft D

ro ces s ing I ns tru


ex

o ft D

l D

ex

in C

am

P
ars ing

ex

T
4

o ft D

am

T
4

o m

l D

o tatio n interface

l C

p l e,
U

l C

ex

al iz atio n

m
m

am

T
6

ex

l Attrib
l C

is t interface

in C
no rm

am

interface

e interface
ex

p l e,

T
7

in C

am

er

5 1

t interface

T
M

p l e,

v ie- w
cu

l tH

ex

T
icro s o ft D
ex

efau

in C
T

red

ctu

in C
I C

tex t

ex
2
T

T
G

Potrebbero piacerti anche