detect whether string which may contain XML markup is empty
Returns:
(Boolean)
121
122
123
124
125
# File 'lib/isodoc/presentation_function/autonum.rb', line 121defempty_xml?(str)str.blank?andreturntruex=Nokogiri::XML::DocumentFragment.parse(str)x.to_str.strip.empty?end