Little bit off topic, how do I disable transformer from loading remote DTD to do validation?
DOMSource domSource = new DOMSource(doc); StreamResult streamResult = new StreamResult(result); TransformerFactory transformerFactory = TransformerFactory.newInstance(); Transformer serializer = transformerFactory.newTransformer(); serializer.transform(domSource, streamResult); When this executes, it will load the DTD file remotely. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]