此集合最常用于生成目录样式导航菜单;在这种导航菜单中,某个级别的菜单项不管是否具有子菜单,都会有相同的外观。
This collection is most often used to generate table of contents-style navigation menus where menu items at a certain level should have the same appearance, regardless of whether they have submenus.
您可以为静态布局和其他的资源(例如图片和样式)创建目录结构,在该文件夹内但是保持静态布局文件的位置。
You can create the directory structure for your static layout and other resources, such as images and styles, inside this folder but keep the location of the static layout file intact.
这个列表本身由样式表在子目录的列表上构建的。
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.
例如,即使清单3没有变化,如果目录已经更改,则文档应该重新制定文档的样式。
For example, even if Listing 3 does not change, the document should be restyled if the directory has changed.
它只做最基本的事:递归地遍历源目录,在此过程中将样式表应用到每个XML文件以产生html格式的网站。
It does only the most basic thing: it recursively walks through a source directory, applying a style sheet on every XML file along the way to produce the Web site in HTML.
在模板里,设计模式和样式表文件的相对目录都是相对于您的教程或文章目录。
In the templates that you created with the scripts above, the references to the schema and stylesheet files are relative to your content directory.
缺省情况下,XSLT处理器装入文档时所取路径是相对于样式表目录。
By default, XSLT processors load documents relative to the style sheet directory.
它递归地遍历一组目录,在这个过程中应用样式表。
It recursively walks through a set of directories, applying the style sheet as it goes along.
我建议使用能基于所使用的标题样式自动生成目录的程序。
I recommend using a program that automatically generates a table of contents for you based on the use of heading styles.
因为这组替代的成员样式可以与常规样式表组合在一起,我们在同一目录中复制screen . css,并将它重命名为screen_alt_members . css。
Since the alternate set of member styles can be grouped with our regular stylesheets, we copied the screen.css into the same directory and renamed it to screen_alt_members.css.
rules:指向样式表目录(缺省值:rules)。
Rules: Points to the style sheet directory (default: rules).
新建的web项目带有合适的目录结构、样式表和web部署描述符(web . xml)。
This new web project will be created with the appropriate directory structure, the style sheet and web deployment descriptor (web.xml).
在这个示例中,我将我的图像放置在theme \img中的一个新目录demo下,和Mozart样式中的文件名保持相同。
In this example, I put my images into a new directory within theme \ img, called demo, keeping the same file names as used in the Mozart style.
为了创建紧凑布局的样式表,我们在同一目录中复制这个文件,并将它重命名为members_alt . css。
To create a stylesheet to render the compact layout, we copied this into the same directory and renamed it to members_alt.css.
样式表假定每个项目目录包括一个index.xml文件。
The style sheet assumes that each project directory includes an index.xml file.
目录读取促使XM创建一个带文件列表的XML文档,然后使用xslt样式表将该X ML文档转换成正确的web页面。
Directory reading causes XM to create an XML document with the list of files and then use an XSLT style sheet to turn it in the proper Web page.
在默认情况下,drupal会通过misc目录中的styles . css文件应用样式。
By default, Drupal applies style through the styles.css file in the misc directory.
我们在其他样式表所在的目录中创建一个新的样式表,print . css。
For our purposes, we created a new stylesheet called print.css in the same directory as our other stylesheets.
walk()遍历目录,应用样式表。
html目录包括输出html的样式表;fo目录包括生成格式化对象(Formatting Object, fo)格式文件的样式表,等等。
An HTML directory includes stylesheets for outputting HTML; a fo directory includes stylesheets for generating files in Formatting Objects (fo) format, etc.
要想使用HTTP来包括如上所示的样式表,所有样式表都要位于本地Web服务器文档目录之下,如清单15中所示。
To be able to use HTTP for including style sheets as shown above, all style sheets need to be under the local Web server document directory, as shown in Listing 15.
管理文件和那些文件之间的链接(一种解决方案可能是让样式表读取目录)。
Manage files and links between those files (one solution might be to let a style sheet read a directory).
保存您的修改,然后刷新浏览器,您就可以看到定制的样式表已经应用到位置目录页面了。
After you save your changes and refresh the browser, you can see the custom stylesheet applied to the Places Catalog page.
以下步骤展示如何将您定制的样式表应用到位置目录页面。
The following steps show how to apply your custom stylesheet to the places catalog page.
与模板文件一样,所有样式表文件也放在主题目录中。
As with the template files, all of the style sheet files were contained within the theme directory.
使用XM,只要将文档放在一个目录中,把样式表放在另一个目录中,好了,这样就可以发布文档了。
With XM, it suffices to place your documents in one directory, your stylesheets in another, and, voila, you're ready to publish.
这样就可以包括和排除特定目录中的文件(基于文件名样式)。
This allows you to include and exclude files (based on filename patterns) under a specified directory.
接下来,它对每个文件应用样式,然后为子目录递归地调用自身。
Next it styles every file and recursively calls itself for subdirectories.
但是,样式表如何查明文档是否在根目录中呢?
But how does the style sheet find out whether a document is in the root?
应用推荐