Home  >  Article  >  Web Front-end  >  How to use Javascript regular expressions to format XML content_javascript tips

How to use Javascript regular expressions to format XML content_javascript tips

WBOY
WBOYOriginal
2016-05-16 17:30:151440browse

I use Emeditor, but when I read the XML document, I always see it clearly because of the confusing format. This is an Emeditor macro to automatically format XML. Download: formatXml.rar (1,021.00 bytes)
The following paragraph is the javascript formatted XML code of this web page.

Copy code The code is as follows:




   
    Xml格式化工具
   

   


   
   

   


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn