Skip to content

Instantly share code, notes, and snippets.

@trehn
Created May 12, 2011 18:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trehn/969165 to your computer and use it in GitHub Desktop.
Save trehn/969165 to your computer and use it in GitHub Desktop.
I am a file at /tmp/${x} and the magic number is ${z}
<Bundle name="mybundle" xmlns:py="http://genshi.edgewall.org/" xmlns:xi="http://www.w3.org/2001/XInclude">
<py:for each="x in y">
<?python z = 5 ?>
<BoundPath type="file" name="/tmp/${x}" owner="root" group="root" perms="0644"><xi:include parse="text" href="foobar.newtxt" /></BoundPath>
</py:for>
</Bundle>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment