Writing List[Node] to an xml file in scala



I am tring to write a list of Node (xml's node) to xml file. By writing: val xml = {nodes} where nodes are the list of nodes- i am getting all the nodes in one line - what can i do to print evry node in a new line?


No comments:

Post a Comment