moovweb/gokogiri — pull request #37 by jbowtie (2013-08-28 09:40:34+00:00)
Title: Add Namespace() to Node interface

While the interface has a "SetNamespace" function, it oddly lacks a getter for the namespace value. This pull request addresses this oversight.

I've chosen to only return the href (rather than exposing a XmlNs struct) as the prefix declaration is only relevant when writing XML.