XMLUtils - a module for useful XML utilities for Genex DBs
use XMLUtils;
$out_string = pretty_print($in_string); assert_element($dom_node, 'node_name');
Methods for transforming information from a GeneX DB into XML.
pretty_print($string)
The indent level in spaces. The defualt is 2.
A list of tags that should have their beginning and end tags collapsed
onto a single line. This will result in any intervening tags collapsed
onto the same line. The default is ('feature')
.
A list of attribute names that should not be moved to a separate
line. The default is ('xml')
.
Jason Stewart (jes@ncgr.org)
perl(1).