annotate tests/xcomments.ur @ 1283:b04354e24d1b

ML-style comments inside XML
author Adam Chlipala <adam@chlipala.net>
date Tue, 10 Aug 2010 14:44:26 -0400
parents
children 43ca083678f8
rev   line source
adam@1283 1 fun foo () = <xml>Hi!</xml>
adam@1283 2
adam@1283 3 (* fun bar () = return (* No *)<xml>Yes!</xml> *)
adam@1283 4
adam@1283 5 fun main () = return <xml><body>
adam@1283 6 A (* B *) C (* D (* E *) F *) D<br/>
adam@1283 7 <b>A</b> <i>(* B *) C <b>D (* E *) F {foo ()}</b></i>
adam@1283 8 </body></xml>