# File lib/rest_htmlprinter.rb, line 114 def print_xml_links title, xmlname, schema example = xmlname + ".xml" if ( !schema || schema.empty? ) schema = xmlname + ".xsd" end @xml_examples[ example ] = true @xml_schemas[ schema ] = true @html.p do |p| p << title p << ": " has_example = XmlFile.exist? example has_schema = XmlFile.exist? schema if has_example @html.a( "Example", "href" => example ) end if has_schema p << " "; @html.a( "Schema", "href" => schema ) end if( !has_example && !has_schema ) p << xmlname end end end