Created
February 22, 2010 20:37
-
-
Save yokolet/311473 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"<?xml version=\"1.0\"?>\n<root xmlns=\"http://tenderlovemaking.com/\" xmlns:foo=\"bar\">\n <awesome/>\n</root>\n" | |
ins: #<Nokogiri::XML::Document:0x3f32b2 name="document" children=[#<Nokogiri::XML::Element:0x3f2f32 name="root" namespace=#<Nokogiri::XML::Namespace:0x3f2eb4 href="http://tenderlovemaking.com/"> children=[#<Nokogiri::XML::Element:0x3f2a46 name="awesome" namespace=#<Nokogiri::XML::Namespace:0x3f2eb4 href="http://tenderlovemaking.com/">>]>]> | |
node.class.name: Nokogiri::XML::Element | |
node.namespace.class.name: Nokogiri::XML::Namespace | |
node.namespace.href: http://tenderlovemaking.com/ | |
node.class.name: Nokogiri::XML::Element | |
node.namespace.class.name: Nokogiri::XML::Namespace | |
node.namespace.href: http://tenderlovemaking.com/ | |
node.class.name: Nokogiri::XML::Document |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment