Skip to content

Tag: domparser

Adding linebreak in xml file before root node

I am trying to add line break after my comments above the root node in XML document. I need something like this: But What I was able to get is this(Line break inside the root but I need line break after the comment): I need to add the line break just after my comment. Is there a way to do