view tests/with.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 075b36dbb1a4
children
line wrap: on
line source
val r = ({A = 1, B = 2} with #C = "Hi") with #D = "Bye"

fun main () : transaction page = return <html><body>
        {cdata r.C}, {cdata r.D}
</body></html>