<s>
Extensible	B-Device
Application	I-Device
Markup	I-Device
Language	I-Device
(	O
XAML	B-Device
)	O
is	O
a	O
declarative	B-Language
XML-based	O
language	O
developed	O
by	O
Microsoft	O
for	O
initializing	O
structured	O
values	O
and	O
objects	O
.	O
</s>
<s>
XAML	B-Device
is	O
used	O
extensively	O
in	O
Windows	B-Device
Presentation	I-Device
Foundation	I-Device
(	O
WPF	O
)	O
,	O
Silverlight	B-Application
,	O
Workflow	B-Operating_System
Foundation	O
(	O
WF	O
)	O
,	O
Windows	B-Language
UI	I-Language
Library	I-Language
(	O
WinUI	B-Language
)	O
and	O
Universal	B-Device
Windows	I-Device
Platform	I-Device
(	O
UWP	O
)	O
.	O
</s>
<s>
In	O
WPF	O
and	O
UWP	O
,	O
XAML	B-Device
is	O
a	O
user	B-Language
interface	I-Language
markup	I-Language
language	I-Language
to	O
define	O
UI	O
elements	O
,	O
data	O
binding	O
,	O
and	O
events	O
.	O
</s>
<s>
In	O
WF	O
,	O
however	O
,	O
XAML	B-Device
defines	O
workflows	B-Operating_System
.	O
</s>
<s>
XAML	B-Device
elements	O
map	O
directly	O
to	O
Common	O
Language	O
Runtime	O
(	O
CLR	O
)	O
object	O
instances	O
,	O
while	O
XAML	B-Device
attributes	O
map	O
to	O
CLR	O
properties	O
and	O
events	O
on	O
those	O
objects	O
.	O
</s>
<s>
Anything	O
that	O
is	O
created	O
or	O
implemented	O
in	O
XAML	B-Device
can	O
be	O
expressed	O
using	O
a	O
more	O
traditional	O
.NET	O
language	O
,	O
such	O
as	O
C#	B-Application
or	O
Visual	B-Language
Basic	I-Language
.NET	I-Language
.	O
</s>
<s>
However	O
,	O
a	O
key	O
aspect	O
of	O
the	O
technology	O
is	O
the	O
reduced	O
complexity	O
needed	O
for	O
tools	O
to	O
process	O
XAML	B-Device
,	O
because	O
it	O
is	O
based	O
on	O
XML	B-Protocol
.	O
</s>
<s>
XAML	B-Device
originally	O
stood	O
for	O
Extensible	O
Avalon	B-Device
Markup	O
Language	O
,	O
Avalon	B-Device
being	O
the	O
code-name	O
for	O
Windows	B-Device
Presentation	I-Device
Foundation	I-Device
(	O
WPF	O
)	O
.	O
</s>
<s>
Before	O
the	O
end	O
.NET	O
Framework	O
3.0	O
development	O
,	O
however	O
,	O
Microsoft	O
adopted	O
XAML	B-Device
for	O
Workflow	B-Operating_System
Foundation	O
(	O
WF	O
)	O
.	O
</s>
<s>
In	O
WPF	O
,	O
XAML	B-Device
describes	O
visual	O
user	B-Application
interfaces	I-Application
.	O
</s>
<s>
A	O
XAML	B-Device
file	O
can	O
be	O
compiled	O
into	O
a	O
Binary	B-Operating_System
Application	I-Operating_System
Markup	I-Operating_System
Language	I-Operating_System
(	O
BAML	O
)	O
file	O
,	O
which	O
may	O
be	O
inserted	O
as	O
a	O
resource	O
into	O
a	O
.NET	O
Framework	O
assembly	O
.	O
</s>
<s>
At	O
run-time	O
,	O
the	O
framework	O
engine	O
extracts	O
the	O
BAML	O
file	O
from	O
assembly	O
resources	O
,	O
parses	O
it	O
,	O
and	O
creates	O
a	O
corresponding	O
WPF	O
visual	O
tree	O
or	O
workflow	B-Operating_System
.	O
</s>
<s>
In	O
WF	O
contexts	O
,	O
XAML	B-Device
describes	O
potentially	O
long-running	O
declarative	B-Language
logic	O
,	O
such	O
as	O
those	O
created	O
by	O
process	O
modeling	O
tools	O
and	O
rules	O
systems	O
.	O
</s>
<s>
The	O
serialization	B-Application
format	O
for	O
workflows	B-Operating_System
was	O
previously	O
called	O
XOML	B-Device
,	O
to	O
differentiate	O
it	O
from	O
UI	O
markup	O
use	O
of	O
XAML	B-Device
,	O
but	O
now	O
they	O
are	O
no	O
longer	O
distinguished	O
.	O
</s>
<s>
However	O
,	O
the	O
file	O
extension	O
for	O
files	O
containing	O
the	O
workflow	B-Operating_System
markup	O
is	O
still	O
"	O
.xoml	O
"	O
.	O
</s>
<s>
XAML	B-Device
uses	O
a	O
specific	O
way	O
to	O
define	O
look	B-Application
and	I-Application
feel	I-Application
called	O
Templates	O
;	O
differing	O
from	O
Cascading	B-Language
Style	I-Language
Sheet	I-Language
syntax	O
,	O
it	O
is	O
closer	O
to	O
XBL	B-Application
.	O
</s>
<s>
To	O
create	O
XAML	B-Device
files	O
,	O
one	O
could	O
use	O
Microsoft	B-Application
Expression	I-Application
Blend	I-Application
,	O
Microsoft	B-Application
Visual	I-Application
Studio	I-Application
,	O
the	O
hostable	O
WF	O
visual	O
designer	O
,	O
or	O
XAMLPad	O
.	O
</s>
<s>
This	O
Windows	B-Device
Presentation	I-Device
Foundation	I-Device
example	O
shows	O
the	O
text	O
"	O
Hello	O
,	O
world	O
!	O
"	O
</s>
<s>
in	O
the	O
top-level	O
XAML	B-Device
container	O
called	O
Canvas	O
.	O
</s>
<s>
This	O
can	O
be	O
integrated	O
into	O
a	O
Web	O
page	O
if	O
WPF	O
is	O
installed	O
using	O
XBAPs	B-Application
(	O
XAML	B-Application
Browser	I-Application
Applications	I-Application
)	O
that	O
are	O
compiled	O
applications	O
running	O
in	O
a	O
sandboxed	O
environment	O
hosted	O
within	O
the	O
browser	B-Application
.	O
</s>
<s>
Another	O
way	O
is	O
to	O
use	O
the	O
Silverlight	B-Application
plugin	I-Application
.	O
</s>
<s>
The	O
code	O
cannot	O
be	O
included	O
directly	O
in	O
an	O
HTML	B-Language
page	O
;	O
rather	O
it	O
must	O
be	O
loaded	O
into	O
the	O
page	O
via	O
JavaScript	B-Language
.	O
</s>
<s>
If	O
.NET	O
3.0	O
or	O
later	O
is	O
installed	O
,	O
loose	O
XAML	B-Device
files	O
can	O
also	O
be	O
viewed	O
on	O
their	O
own	O
in	O
a	O
compatible	O
Web	B-Application
browser	I-Application
(	O
including	O
Internet	B-Application
Explorer	I-Application
and	O
Firefox	B-Application
)	O
in	O
conjunction	O
with	O
the	O
.NET	O
Framework	O
3.0	O
,	O
without	O
the	O
need	O
for	O
the	O
Silverlight	B-Application
plugin	I-Application
.	O
</s>
<s>
Loose	O
XAML	B-Device
files	O
are	O
markup-only	O
files	O
limited	O
to	O
defining	O
the	O
visual	O
content	O
to	O
be	O
rendered	O
.	O
</s>
<s>
The	O
MySilverlight.js	O
file	O
must	O
contain	O
the	O
code	O
that	O
loads	O
the	O
above	O
XAML	B-Device
code	O
(	O
as	O
an	O
XML	B-Protocol
file	O
)	O
under	O
the	O
MySilverlight	O
HTML	B-Language
element	O
.	O
</s>
<s>
A	O
crucial	O
part	O
of	O
utilizing	O
XAML	B-Device
to	O
its	O
full	O
potential	O
is	O
making	O
appropriate	O
usage	O
of	O
binding	O
,	O
as	O
well	O
as	O
being	O
comfortable	O
with	O
creating	O
your	O
own	O
custom	O
user	O
elements	O
as	O
required	O
,	O
for	O
your	O
specific	O
needs	O
.	O
</s>
<s>
There	O
are	O
three	O
main	O
Microsoft	O
implementations	O
of	O
XAML	B-Device
:	O
</s>
<s>
Additionally	O
,	O
the	O
Silverlight	B-Application
4	O
XAML	B-Device
parser	O
is	O
not	O
100%	O
backward-compatible	B-General_Concept
with	O
Silverlight	B-Application
3	I-Application
files	O
.	O
</s>
<s>
Silverlight	B-Application
3	I-Application
XAML	B-Device
files	O
may	O
be	O
rejected	O
or	O
parsed	O
differently	O
by	O
the	O
Silverlight	B-Application
4	O
parser	O
.	O
</s>
<s>
In	O
2007	O
,	O
European	O
Committee	O
for	O
Interoperable	O
Systems	O
(	O
ECIS	O
)	O
–	O
a	O
coalition	O
of	O
mostly	O
American	O
software	O
companies	O
–	O
accused	O
Microsoft	O
of	O
attempting	O
to	O
hijack	O
HTML	B-Language
and	O
replace	O
it	O
with	O
XAML	B-Device
,	O
thus	O
creating	O
a	O
vendor	O
lock-in	O
.	O
</s>
<s>
Jeremy	O
Reimer	O
,	O
writing	O
for	O
Ars	O
Technica	O
described	O
this	O
comment	O
as	O
"	O
the	O
most	O
egregious	O
error	O
"	O
and	O
added	O
that	O
XAML	B-Device
is	O
unlikely	O
to	O
ever	O
replace	O
HTML	B-Language
.	O
</s>
