Skip to content

Instantly share code, notes, and snippets.

@tomjack
Created November 9, 2010 01:37
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 tomjack/8b2564ef082b942f3af8 to your computer and use it in GitHub Desktop.
Save tomjack/8b2564ef082b942f3af8 to your computer and use it in GitHub Desktop.
(->> (zfx/xml-> test-zip
zf/descendants
:div
[zf/children :p])
(sort-by #(count (zfx/xml-> % zf/children :p)) >)
first
zip/node)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment