资源说明:A tiny utility I made to format and print XML from a command line argument, or STDIN. Uses tinyxml2.
#Pretty Printer This is a tiny utility I made in C++ using tinyxml2. It reads an xml string as a command line argument, or from STDIN, formats it, and then prints it to STDOUT. I made it because the damn ebay api gave giant error messages that I needed to pretty print to look at. ###Installation ``` git clone https://github.com/rafkhan/pretty-printer.git cd pretty-printer make install ``` ###Example ``` $ pp "" ``` Will print... ``` rafkhan over 9000 uiri Less than rafkhan aaronhamilton Too good for you. The single most classy man you'll ever see. A womanizer. A god among men. Master of the sandwich. ``` ####OR ```$ command_that_outputs_xml | pp``` rafkhan over 9000 uiri Less than rafkhan aaronhamilton Too good for you. The single most classy man you'll ever see. A womanizer. A god among men. Master of the sandwich.
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。