XML Schema Validation Example▲
Sélectionnez
&
lt;recipe&
gt;
&
lt;title&
gt;Cheese on Toast&
lt;/
title&
gt;
&
lt;ingredient name=
"Bread"
quantity=
"2"
unit=
"slices"
/&
gt;
&
lt;ingredient name=
"Cheese"
quantity=
"2"
unit=
"slices"
/&
gt;
&
lt;time quantity=
"3"
unit=
"minutes"
/&
gt;
&
lt;method&
gt;
&
lt;step&
gt;1.
Slice the bread and
cheese.&
lt;/
step&
gt;
&
lt;step&
gt;2.
Grill one side of each slice of bread.&
lt;/
step&
gt;
&
lt;step&
gt;3.
Turn over the bread and
place a slice of cheese on each piece.&
lt;/
step&
gt;
&
lt;step&
gt;4.
Grill until the cheese has started to melt.&
lt;/
step&
gt;
&
lt;step&
gt;5.
Serve and
enjoy!&
lt;/
step&
gt;
&
lt;/
method&
gt;
&
lt;/
recipe&
gt;