Skip to content

Instantly share code, notes, and snippets.

@weyert
Created January 13, 2011 08:29
Show Gist options
  • Select an option

  • Save weyert/777579 to your computer and use it in GitHub Desktop.

Select an option

Save weyert/777579 to your computer and use it in GitHub Desktop.
what's an easy way to prepare xml data for unit testing
var types: Array = [ "slide" ];
var myXML: XML = <schedules>
<schedule>
<item type="{types[0]}"><![CDATA[An example to be displayed.]]></item>
</schedule>
</schedules>;
@weyert
Copy link
Copy Markdown
Author

weyert commented Jan 13, 2011

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment