How to add process instruction to an xml file after creating it.
My application has more than 50 xml file ...
i need to add Process Instruction to each file.
<?xml-stylesheet type="text/xsl" href="Sample.xsl"?>
If i append the node it is added to the end of the file.
How to add it as the first node of the file
Please help me to do this
Thanks in advance