title: How to include xml-style sheet into XML file using Java
body: <p>I want to add xml-style sheet into XML file at second line using Java. I found almost such kind of post at stack overflow here: <a href="https://stackoverflow.com/questions/2651647/add-xml-stylesheet-and-get-standalone-yes">Add xml-stylesheet and get standalone = yes</a>, But it appends style sheet at the end of my xml file.</p>
  
  <p>Can I just include(add) at second line of my XML file. Please suggest me.</p>