Given a reference to an appropriate data structure, the second converts it to an XML document, either in string format or as a file, depending upon its parameters.
给出适当数据结构的引用,第二个子例程将它转换为XML文档,根据参数的不同,产生的XML文档采用字符串格式或文件形式。
Generating a resume or curriculum vitae from an XML file involves a little more work but imposes a disciplined structure that helps ensure that the document is as complete as is necessary.
从一个XML文件生成一份简历或履历需要一些额外工作,但能应用一种经过规范的结构,该结构能够帮助确保文档的复杂度满足需求。
For example, the file prepped.msg contains the XML structure in the first listing, and can be called in lieu of building the document manually.
例如,第一个清单中的XML结构保存在文件prepped . ms g中,而且可以调用它来替代手工构建文档。
应用推荐