how can I append a dtd to my xml file?
this is what ai have so far.
DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
Document doc = null;
try{
docBuilderFactory.setValidating(true);
DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
doc = docBuilder.newDocument();
}catch (Exception ex){
//error
}
thanks
this is what ai have so far.
DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
Document doc = null;
try{
docBuilderFactory.setValidating(true);
DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
doc = docBuilder.newDocument();
}catch (Exception ex){
//error
}
thanks