Searched refs:XMLDecl (Results 1 - 8 of 8) sorted by relevance
/macosx-10.10/ruby-106/ruby/test/rexml/ |
H A D | test_xml_declaration.rb | 23 assert_kind_of(REXML::XMLDecl, @xml_declaration) 31 assert_kind_of(REXML::XMLDecl, @root.previous_sibling.previous_sibling)
|
H A D | test_namespace.rb | 13 <!-- The first line tests the XMLDecl, the second tests PI.
|
H A D | test_encoding.rb | 92 assert( utf16[0].kind_of?(REXML::XMLDecl))
|
H A D | test_core.rb | 21 <!-- The first line tests the XMLDecl, the second tests PI. 246 assert_instance_of XMLDecl, doc.xml_decl 413 decl2 = XMLDecl.new 415 # test XMLDecl 416 decl2 = XMLDecl.new "1.0" 422 XMLDecl.new("1.0", "UTF-16").to_s) 987 xmldecl = REXML::XMLDecl.new("1.0", "UTF-8") 1219 doc << REXML::XMLDecl.default 1228 doc << REXML::XMLDecl.new("1.0", "UTF-8") 1295 xmldoc << XMLDecl [all...] |
/macosx-10.10/ruby-106/ruby/lib/rexml/ |
H A D | xmldecl.rb | 6 class XMLDecl < Child class in class:REXML 21 if version.kind_of? XMLDecl 37 XMLDecl.new(self) 54 other.kind_of?(XMLDecl) and 86 # own XMLDecl and add it to the document. 89 def XMLDecl.default 90 rv = XMLDecl.new( "1.0" )
|
H A D | document.rb | 24 # Use: mydoc << XMLDecl.default 25 DECLARATION = XMLDecl.default 68 if child.kind_of? XMLDecl 69 if @children[0].kind_of? XMLDecl 120 # @return the XMLDecl of this document; if no XMLDecl has been 124 return rv if rv.kind_of? XMLDecl 125 rv = @children.unshift(XMLDecl.default)[0] 128 # @return the XMLDecl version of this document as a String. 129 # If no XMLDecl ha [all...] |
/macosx-10.10/ruby-106/ruby/lib/rexml/formatters/ |
H A D | default.rb | 40 when DocType, XMLDecl
|
/macosx-10.10/ruby-106/ruby/lib/rexml/parsers/ |
H A D | treeparser.rb | 86 x = XMLDecl.new( event[1], event[2], event[3] )
|
Completed in 127 milliseconds