Lines Matching +refs:xml +refs:node +refs:attributes
14 <?xml version="1.0" encoding="UTF-8"?>
84 <?xml version="1.0"?>
97 assert_equal "name", element.attributes["name"]
125 "and not(*/node()) "+
173 assert_equal "svg", result.attributes['name']
233 source_iso = "<?xml version='1.0' encoding='ISO-8859-1'?><test>#{koln_iso}</test>"
234 source_utf = "<?xml version='1.0' encoding='UTF-8'?><test>#{koln_utf}</test>"
253 <?xml version="1.0" encoding="ISO-8859-1"?>
278 doc = Document.new File.new(fixture_path('xmlfile-bug.xml'))
289 elementAttrPrefix = anElement.attributes.get_attribute('content').prefix
292 cloneAttrPrefix = aClone.attributes.get_attribute('content').prefix
298 in_string = File.open(fixture_path('foo.xml'), 'r') do |file|
312 source = File.new(fixture_path('ProductionSupport.xml'))
340 ['.//node()', REXML::Node ],
341 ['.//node()[@a]', REXML::Element ],
342 ['.//node()[@a="1"]', REXML::Element ],
343 ['.//node()[@b]', REXML::Element ], # no show, why?
344 ['.//node()[@b="2"]', REXML::Element ]
380 <?xml version="1.0" encoding="UTF-8"?>
401 <content encoding="xml">... the file here</content>
407 <content encoding="xml">... the file here</content>
442 <?xml version='1.0'?>
468 src = %q{<?xml version="1.0" encoding="UTF-8"?>
532 a = Document.new( '<?xml version="1.0"?><!DOCTYPE html PUBLIC
543 xml = "<description><![CDATA[#{data}]]></description>"
545 doc = REXML::Document.new(xml)