这个列表本身由样式表在子目录的列表上构建的。
The list itself is built by the style sheet from the list of subdirectories.
当它将文件复制到目标目录时,它会应用样式表。
It applies an XSLT style sheet as it copies the file to the target directory.
样式表假定每个项目目录包括一个index.xml文件。
The style sheet assumes that each project directory includes an index.xml file.
walk()遍历目录,应用样式表。
但是,样式表如何查明文档是否在根目录中呢?
But how does the style sheet find out whether a document is in the root?
确保样式表名为rules . xsl,并且它位于当前目录中。
Make sure your style sheet is called rules.xsl and that it resides in the current directory.
确保样式表名为rules . xsl,并且它位于当前目录中。
Make sure your style sheet is called rules.xsl and that it resides in the current directory.
应用推荐