Skip to content

Instantly share code, notes, and snippets.

@DGaffney
Created September 5, 2014 04:41
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 DGaffney/9de267eeb1a337a7a531 to your computer and use it in GitHub Desktop.
Save DGaffney/9de267eeb1a337a7a531 to your computer and use it in GitHub Desktop.
input: (attribute-declarations {:class "node" :mode "static" :attributes [{:id "blah" :title "Blah" :type "string"} {:id "wee" :title "Wee" :type "string"}]})
output:
"<attributes class="node" mode="static">
<attribute id="blah" title="Blah" type="string"></attribute>
<attribute id="wee" title="Wee" type="string"></attribute>
</attributes>
"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment