[racket] xexpr to mark a radio button 'checked'

From: J G Cho (gcho at fundingmatters.com)
Date: Wed Apr 27 18:11:42 EDT 2011

I am trying to print:
<div><input type="radio" name="n-4-answer" value="2" checked>the egg</div>

The closest I can come up is:
<div><input type="radio" name="n-4-answer"
value="2">checked</input>the egg</div>

Valid XML but not quite what a browser wants.

Is this (the first line) possible with xexpr?

jGc


Posted on the users mailing list.