def render(xm=Builder::XmlMarkup.new(:indent => 2))
      [:name, :visibility, :address].each do |a|
        xm.__send__(a, self.__send__(a)) unless self.__send__(a).nil?
      end
      
      xm.description { xm.cdata!(description) } unless description.nil?
      xm.open(self.open) unless open.nil?
      
      xm.phoneNumber(phone_number) unless phone_number.nil?
      xm.styleUrl(style_url) unless style_url.nil?
      
      unless address_details.nil?
        xm.AddressDetails(:xmlns => "urn:oasis:names:tc:ciq:xsdschema:xAL:2.0") { address_details.render(xm) } 
      end
      
      xm.Snippet(snippet.text, snippet.max_lines) unless snippet.nil?
      
      xm.LookAt { look_at.render(xm) } unless look_at.nil?
      xm.TimePrimitive { time_primitive.render(xm) } unless time_primitive.nil?
      xm.StyleSelector { style_selector.render(xm) } unless style_selector.nil?
    end
def render(xm=Builder::XmlMarkup.new(:indent => 2))
      [:name, :visibility, :address].each do |a|
        xm.__send__(a, self.__send__(a)) unless self.__send__(a).nil?
      end
      
      xm.description { xm.cdata!(description) } unless description.nil?
      xm.open(self.open) unless open.nil?
      
      xm.phoneNumber(phone_number) unless phone_number.nil?
      xm.styleUrl(style_url) unless style_url.nil?
      
      unless address_details.nil?
        xm.AddressDetails(:xmlns => "urn:oasis:names:tc:ciq:xsdschema:xAL:2.0") { address_details.render(xm) } 
      end
      
      xm.Snippet(snippet.text, snippet.max_lines) unless snippet.nil?
      
      xm.LookAt { look_at.render(xm) } unless look_at.nil?
      xm.TimePrimitive { time_primitive.render(xm) } unless time_primitive.nil?
      xm.StyleSelector { style_selector.render(xm) } unless style_selector.nil?
    end
Render the object and all of its sub-elements.