Needed for parsing
Required Files
- rexml/parsers/baseparser
- uri
- net/http
- net/https
Methods
Public Instance methods
[ show source ]
# File magic_xml.rb, line 1356 def all(*patterns) Patterns_all.new(*patterns) end
[ show source ]
# File magic_xml.rb, line 1377 def any(*patterns) Patterns_any.new(*patterns) end
Syntactic sugar for XML.new
[ show source ]
# File magic_xml.rb, line 1327 def xml(*args, &blk) XML.new(*args, &blk) end
xml! in XML { … } - context adds node to parent xml! in main context prints the argument (and returns it anyway)
[ show source ]
# File magic_xml.rb, line 1333 def xml!(*args, &blk) node = xml(*args, &blk) print node node end