what is the code used to give alignment in xml file?
what are the methods used in xml for alignment of the text? can anybody tell me the code please?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Apr 4, 2013, 7:06 AM
However, you can use an XmlWriter to deal with this. Check out this blog for details:
http://blogs.msdn.com/b/ericwhite/archive/2008/12/30/align-attributes-when-formatting-xml-using-linq-to-xml.aspx