CSML - Choreography Services Markup Language
CSML is a new, XML-based standard designed to make it easier to portray dance and gymnastics movements over the Internet. Yeah, I know, we're scraping the bottom of the barrel here. But since we're here at the office anyway, we might as well do some stuff?
Here's a sample CSML document, with comments.
<?xml ver="1.0"?>
<!DTD type="CSML"><!--
The Document Type Definition is, as usual, optional -->
<dancer name="Lochland"
sexuality="extremely_gay"
appearance="pants:skintight;
shirt:skintight; pair-of-socks-down-pants: true;"
/>
<dancer name="Sheila"
sexuality="none_visible"
appearance="dress:ancient;
hair:straight; face:ugly; makeup:unsuccessful;"
/>
<!-- You must define your dancers before you define their dance. You may use a linked CSSSSS instead of the inline styles used here -->
<dance>
<time data="timedtextfile.ttf"><movement
style="genre:ballet;
fluency:graceful;" type="physical/synchronised/movement"
name="silly_twirl"
dancer="Lochland"/></time>
<!-- the Time tag uses a Timed Text file, specified
in the Data attribute, to know when to execute the movement. We KNEW timed text
would come in handy some day. -->
</dance>
</xml>
CSML is also ideal for commentators representing gynmastics data. This is because it allows the creation of custom classes or "movements", just by using CSSSSS:
.hello-boys /*A handstand
with the legs apart*/
{
legs: apart;
legs-angle: 90;
orientation: upside-down;
position: relative;
top:0;
left:0;
}
.flat-sack
{
legs: apart;
legs-angle: 180;
orientation: normal;
position: relative;
top: -50;
left: 0;
speed-of-descent: painfully-fast;
balls: crushed;
}