title: Serialize DOM to FileOutputStream using Xerces
body: <p>I am using <a href="http://www.java-samples.com/showtutorial.php?tutorialid=152" rel="nofollow">this</a> link to generate XML file using DOM. It says that "Xerces parser is bundled with the JDK 1.5 distribution.So you need not download the parser separately."</p>
  
  <p>However, when I write the following line in my Eclipse Helios it gives compile-time error even though I have Java 1.6 in my system.</p>
  
  <pre><code>import org.apache.xml.serialize.XMLSerializer;
  </code></pre>
  
  <p>Why is it so?</p>