view demo/css.ur @ 1840:146ec8e90063

Add some name-mangling rules to allow XML attribute 'name' and attributes with dashes
author Adam Chlipala <adam@chlipala.net>
date Thu, 27 Dec 2012 15:34:11 -0500
parents a8bdd5a0d9b0
children
line wrap: on
line source
style quote

fun main () = return <xml>
  <head>
    <link rel="stylesheet" type="text/css" href="http://adam.chlipala.net/style.css"/>
  </head>

  <body>
    <div class={quote}>Here's a quote.</div>
  </body>
</xml>