How to indent an XML file or document

    From: xuyibo.org  Date: 2021-03-18 05:25 PM

    Office has a deeper integration with XML technology and developers are always looking for tips and tricks to work with XML documents. Office provides support to work with XML and you might be one of those developers that is programmatically generating Word documents (using WordprocessingML) , Excel spreadsheets (using SpreadsheetML), PowerPoint slides (using PresentationML), or Visio diagrams using (DataDiagrammingML). I think it always comes handy to have a list of tips and tricks to work with XML, and today I will share with you three simple ways of indenting an XML file/document.

    Indenting XML files might sound as one of those netpick or nice-to-have enhancements that you don’t really need when you are working with XML. However, lots of applications and tools generate programmatically XML files and it always comes handy to open a nice and readable indented XML file instead of a “how can I edit this!” single line of eternal XML elements.

    For managed applications:

    For any platform:

    Happy Office XML programming!

    User:

Built on: 2021-5-14 0:13:03
Copyright © 2006-2008 xuyibo.org All rights reserved.
网站地图网站地图188bet体育官网188bet娱乐188bet体育平台188bet官网金博宝188