Hello Lasse Koskela,
Thank u for answering my query ... The reason why i needed to import that sun package is that, I want to write the details obtained from (say) a customer to an XML file.
So, if i avoid using the sun package, then how can I use the method like "write - which outputs the XML Document" ???
(Eg) My prg has the code something like this :
// WRITE XML DOCUMENT TO A FILE
( (XmlDocument) doc).write(new FileOutputStream("cusdetails.xml" ) );
doc = object of Document interface
XmlDocument = class obtained from " com.sun.tree.XmlDocument.*; "
So, how can i achieve the same result without using the sun package - which package should i import to get the above said result ??