summaryrefslogtreecommitdiff
path: root/tests/cdataF.ur
blob: 698dead7d220ebe08d6a446f68c44a5f4e95625c (plain)
1
2
3
4
5
6
7
8
val snippet = fn s => <xml>
        <h1>{cdata s}</h1>
</xml>

val main : unit -> transaction page = fn () => return <xml><body>
        {snippet "<Hi."}
        {snippet "Bye."}
</body></xml>