annotate demo/link.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 6a0e54400805
children
rev   line source
adamc@379 1 fun target () = return <xml><body>
adamc@379 2 Welcome!
adamc@379 3 </body></xml>
adamc@379 4
adamc@379 5 fun main () = return <xml><body>
adamc@413 6 <a link={target ()}>Go there</a>
adamc@379 7 </body></xml>