Since people keep saying WML is like XML, I decided to provide an example of what a standard WML snippet would look like if it had to be translated to XML.
[event] name=last breath [filter] id=shadowm [/filter] [message] speaker=shadowm message= _ "NO!" [/message] [/event]
<event name="last breath"> <filter id="shadowm" /> <message speaker="shadowm" message:gettext="NO!" /> </event>
My knowledge of XML doesn’t go far enough, but I don’t think I’ve ever heard of translatable strings being an integral part of the syntax, hence the funky-looking XML attribute name for event.message.message above.
This example only covers the basic WML syntax (i.e. no preprocessor directives, +nodes or embedded Lua) on purpose.