Skip to content

Instantly share code, notes, and snippets.

@raphink
Created May 13, 2013 13:19
Show Gist options
  • Save raphink/5568251 to your computer and use it in GitHub Desktop.
Save raphink/5568251 to your computer and use it in GitHub Desktop.
changes => [
"set domain[.='$domain' and type='$type' and item='$item'] '$domain'",
"set domain[count(type)=0]/type '$type'",
"set domain[count(item)=0]/item '$item'",
"set domain[.='$domain' and type='$type' and item='$item']/value '$value'",
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment