#####################################
#  NameSpace ¿¹Á¦                   # 
#####################################

ÀÛ¼ºÀÚ : ÀåÇüÈ­(hhjang97@venus.uos.ac.kr)
ÀÛ¼ºÀÏ : 2004. 10. 11
¼öÁ¤ÀÏ : 

¼³¸í :


################################# ################################# #################################
public class DB2Schema 
{
	final Namespace XSI_NS     = Namespace.getNamespace("xsi", XSI_NS_URI);
	final Namespace BLANK_NS   = Namespace.getNamespace("", "http://www.domain.com/schema");


	public static void main(String[] args) {
		DB2Schema db2schema = new DB2Schema();
		
		Element a = new Element("RootElement", db2schema.BLANK_NS);
		a.addNamespaceDeclaration(db2schema.GML_NS);
		
		Element b = new Element("annotation");
		
		a.addContent(b);
		appDoc = new Document(a);
		
		// Document Print 
		XMLOutputter outPrint = new XMLOutputter("    ", true, "euc-kr");

		try {
			outPrint.output(appDoc, (OutputStream)System.out);			
		} catch (Exception e) {
			System.err.println(e);
		}
		
	}
	
}

/*

< ?xml version="1.0" encoding="euc-kr"?>

    


*/

#################################
# 
#################################