public static function save( $fileName, $tree, $encoding = "utf-8" )
	{
		$builder	= new XML_DOM_Builder();
		$xml		= $builder->build( $tree, $encoding );
		$file		= new FS_File_Writer( $fileName, 0777 );
		return $file->writeString( $xml );
	}