public Node toDOM(Document doc) throws epp_XMLException
    {
        /*
        Element launchphase = doc.createElement("launchphase:" + tag_);
        launchphase.setAttribute("xmlns:launchphase", NS_LAUNCHPHASE);
        launchphase.setAttribute("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance");
        launchphase.setAttribute("xsi:schemaLocation", NS_LAUNCHPHASE + " launchphase-1.0.xsd");
        */
        Element launchphase = doc.createElementNS(NS_LAUNCHPHASE, tag_);
        launchphase.setAttributeNS(NS_XMLNS, "xmlns:launchphase", NS_LAUNCHPHASE);
        launchphase.setAttributeNS(NS_XMLNS, "xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance");
        launchphase.setAttributeNS(NS_XMLNS, "xmlns", NS_LAUNCHPHASE);
        launchphase.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:schemaLocation", NS_LAUNCHPHASE + " launchphase-1.0.xsd");
        launchphase.setPrefix("launchphase");

        if (app_id_ != null) {
        	addXMLElement(doc, launchphase, NS_LAUNCHPHASE, "application_id", app_id_);
        }
        if (tm_name_ != null) {
        	addXMLElement(doc, launchphase, NS_LAUNCHPHASE, "trademark_name", tm_name_);
        }
        if (tm_number_ != null) {
            addXMLElement(doc, launchphase, NS_LAUNCHPHASE, "trademark_number", tm_number_);
        }
        if (tm_locality_ != null) {
    		addXMLElement(doc, launchphase, NS_LAUNCHPHASE, "trademark_locality", tm_locality_);
        }
        if ( tm_entitlement_ != null) {
        	addXMLElement(doc, launchphase, NS_LAUNCHPHASE, "trademark_entitlement", tm_entitlement_);
		}
		if ( pvrc_ != null) {
			addXMLElement(doc, launchphase, NS_LAUNCHPHASE, "pvrc", pvrc_);
		}
		if ( phase_ != null) {
			addXMLElement(doc, launchphase, NS_LAUNCHPHASE, "phase", phase_);
		}

        return launchphase;
    }