I'm finding it helpful when generating data in mock services, to use literal
XML with {} expressions, like this:

var result:XML =
 <response>
   <value name="foo">{Math.random() }</value>
</response>

Is there a way to use expressions for the attribute values as well, or must
I use the XML API to set them?

Reply via email to