how to write XML document into file?

Thanks in advance!

I met a problem while I write an application using JAXP, I want to parse a XML document and modify its contents ,but right now the JAXP1.1 doesn't support write the document object back to XML file, from the JAXP tutorial, they says that there is a class named com.sum.xml.tree.XmlDocument could help me , but I can't find that class in every package I could get. Can somebody help me and tell me where is this damed class or is there any other vendor's API I could use

[512 byte] By [th21wu] at [2007-9-26 1:38:53]
# 1
forget my stupid question, I download the j2eesdk and find that one,I have another question, what is the relationship between j2eesdk and jdk, is there any compatible issues?
th21wu at 2007-6-29 2:27:22 > top of Java-index,Archived Forums,Java Programming...