<s>
eXtensible	B-Language
Server	I-Language
Pages	I-Language
(	O
XSP	O
)	O
is	O
an	O
XML-based	O
language	O
,	O
which	O
offers	O
the	O
possibility	O
of	O
dynamically	O
arranged	O
Java	B-Language
code	I-Language
into	O
XML	B-Protocol
documents	I-Protocol
.	O
</s>
<s>
It	O
was	O
developed	O
by	O
the	O
Apache	O
Software	O
Foundation	O
for	O
the	O
Web	O
Publishing	O
Framework	O
Cocoon	B-Language
.	O
</s>
<s>
The	O
Java	B-Language
program	O
code	O
is	O
in	O
its	O
own	O
XML	B-Protocol
section	O
<xsp:logic> that can either occur within or outside of the root element ( <xsp:page>	O
)	O
.	O
</s>
<s>
The	O
Java	B-Language
code	I-Language
is	O
compiled	O
with	O
the	O
first	O
call	O
.	O
</s>
<s>
These	O
directives	O
are	O
replaced	O
by	O
the	O
generated	O
content	O
so	O
that	O
the	O
resulting	O
,	O
augmented	O
XML	B-Protocol
document	I-Protocol
can	O
be	O
subject	O
to	O
further	O
processing	O
with	O
XSL	B-Application
Transformations	I-Application
.	O
</s>
<s>
XSP	O
pages	O
are	O
transformed	O
into	O
Cocoon	B-Language
producers	O
,	O
typically	O
as	O
Java	B-Language
classes	O
,	O
though	O
any	O
scripting	O
language	O
for	O
which	O
a	O
Java-based	O
processor	O
exists	O
could	O
also	O
be	O
used	O
.	O
</s>
<s>
XSP	O
built-in	O
tags	O
are	O
used	O
to	O
embed	O
procedural	O
logic	O
,	O
substitute	O
expressions	O
and	O
dynamically	O
build	O
XML	B-Protocol
nodes	O
.	O
</s>
