diff --git a/system/database/DB_utility.php b/system/database/DB_utility.php
index 64d67db..c2c5f1f 100644
--- a/system/database/DB_utility.php
+++ b/system/database/DB_utility.php
@@ -290,10 +290,10 @@
 		$CI->load->helper('xml');
 
 		// Generate the result
-		$xml = "<{$root}/>".$newline;
+		$xml = "<{$root}>".$newline;
 		foreach ($query->result_array() as $row)
 		{
-			$xml .= $tab."<{$element}/>".$newline;
+			$xml .= $tab."<{$element}>".$newline;
 			
 			foreach ($row as $key => $val)
 			{