资源预览内容
第1页 / 共34页
第2页 / 共34页
第3页 / 共34页
第4页 / 共34页
第5页 / 共34页
第6页 / 共34页
第7页 / 共34页
第8页 / 共34页
第9页 / 共34页
第10页 / 共34页
亲,该文档总共34页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
XmlStarlet Command Line XML Toolkit Users GuideMikhail GrushinskiyXmlStarlet Command Line XML Toolkit Users Guide by Mikhail GrushinskiyTable of Contents1. Introduction.11.1. About XmlStarlet.1 1.2. Main Features.1 1.3. Supported Platforms.22. Installation.32.1. Installation on Linux.3 2.2. Installation on Solaris.3 2.3. Installation on MacOS X.3 2.4. Installation on Windows.33. Getting Started.43.1. Basic Command-Line Options.4 3.2. Studying Structure of XML Document.44. XmlStarlet Reference .74.1. Querying XML documents .7 4.2. Transforming XML documents.14 4.3. Editing XML documents.15 4.4. Validating XML documents.19 4.5. Formatting XML documents.20 4.6. Canonicalization of XML documents.22 4.7. XML and PYX format .24 4.8. Escape/Unescape special XML characters.25 4.9. List directory as XML.275. Common problems.285.1. Namespaces and default namespace .28 5.2. Special characters.29 5.3. Sorting.30 5.4. Validation.30iiiChapter 1. Introduction1.1. About XmlStarletXMLStarlet (http:/xmlstar.sourceforge.net/)is a set of command line utilities (tools) which can be usedto transform, query, validate, and edit XML documents and files using simple set of shell commands insimilar way it is done for plain text files using UNIX grep, sed, awk, diff, patch, join, etc commands.This set of command line utilities can be used by those who deal with many XML documents on UNIX shell command prompt as well as for automated XML processing with shell scripts.XMLStarlet command line utility is written in C and uses libxml2 and libxslt from http:/xmlsoft.org/. Implementation of extensive choice of options for XMLStarlet utility was only possible because of rich feature set of libxml2 and libxslt (many thanks to the developers of those libraries for great work).diff and patch options are not currentlyimplemented. Other features need some work too. Please, send an email to the project administrator (see http:/sourceforge.net/projects/xmlstar/)if you wish to help.XMLStarl
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号