The code snippet in Listing 2 shows a loop to process every project in a DOAP file (normally, there's only one) and output data inside a element in an XML document.
清单2中的代码片断展示了一个循环,该循环用于处理DOAP文件中的每个项目(通常只有一个项目),并输出XML文档中由元素括起来的数据。
The code in the for loop (Line 7) is where you process each of the supported options.
for循环(第7行)中的代码处理支持的每个选项。
应用推荐