Index: trunk/src/scriptbuilder/structures/Location_Info.java
===================================================================
--- trunk/src/scriptbuilder/structures/Location_Info.java	(revision 44)
+++ trunk/src/scriptbuilder/structures/Location_Info.java	(revision 46)
@@ -21,43 +21,17 @@
     public String toXML()
     {
-        String output = openTag(ELEMENT.LOCATION_INFO.tag + " ID=\"" + Location_ID + "\"");
+        String output = XMLWriter.openTag(ELEMENT.LOCATION_INFO.tag + " ID=\"" + Location_ID + "\"");
 
-        output += openTag(ELEMENT.Route.tag);
-        output += Route;
-        output += closeTag(ELEMENT.Route.tag);
+        output += XMLWriter.simpleTag(Route, ELEMENT.Route);
 
-        output += openTag(ELEMENT.Direction.tag);
-        output += Direction;
-        output += closeTag(ELEMENT.Direction.tag);
+        output += XMLWriter.simpleTag(Direction, ELEMENT.Direction);
 
-        output += openTag(ELEMENT.Postmile.tag);
-        output += Postmile;
-        output += closeTag(ELEMENT.Postmile.tag);
+        output += XMLWriter.simpleTag(Postmile, ELEMENT.Postmile);
 
-        output += openTag(ELEMENT.Location_type.tag);
-        output += Location_type;
-        output += closeTag(ELEMENT.Location_type.tag);
+        output += XMLWriter.simpleTag(Location_type, ELEMENT.Location_type);
 
-        output += closeTag(ELEMENT.LOCATION_INFO.tag);
+        output += XMLWriter.closeTag(ELEMENT.LOCATION_INFO.tag);
 
         return output;
     }
-
-    @Override
-    public String openTag(String s)
-    {
-        return "<" + s + ">";
-    }
-
-    @Override
-    public String closeTag(String s)
-    {
-        return "</" + s + ">\n";
-    }
-
-    @Override
-    public String emptyTag(String s)
-    {
-        return "<" + s + "/>\n";
-    }
 }
