相对路径也适用于XPath。
一个元素的相对路径(与元素相关)。
不过,如果路径是相对路径,如. .。
相对路径特别便于从文件系统中测试网站。
Relative paths are particularly convenient for testing a Web site from the file system.
诀窍就是使用相对路径而不用绝对映射路径。
The trick is to use a relative path instead of the absolute map path.
Path:该注解为资源指定了一个相对路径。
Path: This annotation specifies a relative path for the resource.
cd的参数必须是一个目录的绝对或相对路径。
The argument to CD must be the absolute or relative path to a directory.
一旦您习惯了使用相对路径,它将变为第二属性。
Once you get used to using the relative path, it becomes second nature.
注意,有些使用绝对路径,而有些使用相对路径。
Notice that some use absolute paths, while some use relative paths.
注意,php所添加的第一行指定了一条相对路径。
Notice that the first line added by PHP specifies a relative path.
当然,您也可以使用自己喜欢的各种相对路径的格式。
Of course, you can use various forms of relative path if you prefer.
处理所谓的绝对相对路径,将!替换成适当的相对路径。
Process so-called absolute relative paths, replacing! With the appropriate relative paths.
将Slug头的值设置为文档相对于库根的相对路径。
Set the value of the Slug header as the relative path of the document from the library root.
面包屑栏将指出当前编辑器与当前工作空间之间的相对路径。
The breadcrumb bar points out the path of the current editor relative to the current workspace.
默认情况下,相对路径指的是相对于您所在的当前目录的路径。
By default, the relative path refers to the directory relative to the current directory you are in.
CaseDiaryPath—包含被修改对象的案例相对路径。
CaseDiaryPath - contains the case relative path of the object modified.
这可以将一个相对路径转化成绝对路径,使用pwd来计算全路径。
This converts the relative pathname to an absolute pathname, using PWD to calculate the full path. For the example shown here, if the filename is just the base name of the file, you can use.
另一个简单的解决方法是进入父目录,然后使用相对路径(见清单1)。
A simple alternative is to change to the parent directory and then use a relative path (see Listing 1).
使用相对路径允许您通过遍历目录树,链接到一个您需要的文件,例如。
The use of relative paths allows you to link to a file by walking up and down the tree of directories as needed, for instance.
您还可以一个扩展属性,从而为创建扩展确定一个基础需求的相对路径。
You can also define an extends attribute to specify a relative path to the base requirement in order to create an extension.
使用相对路径意味着更少的键击,尽管那取决于您要从哪个目录前往哪个目录。
Using the relative path often means fewer keystrokes, although that depends on the directory you are going from and the one you're headed to.
在开始文件中引用资源时,要像部署在Web服务器上一样使用相对路径。
When referencing the resources in the start file, use relative paths as though the files are deployed to a Web server.
相对路径指的是相对于您的当前工作目录的路径,正如pwd命令报告的那样。
Relative paths are relative to your current working directory, as reported by the PWD command.
该属性的值可以是一个相对路径,而且必须由atom用户处理并生成正确的结果。
The value of the attribute can be a relative path and must be processed by Atom consumers to produce the correct results.
特别地,对绝对或相对路径的选择很可能受到您对链接期内所链接对象的预期设想的影响。
In particular, your choice of absolute or relative paths is likely to be influenced by what you expect to happen to the objects you are linking over the life of the link.
本文首先展示一些简单的cd示例,然后解释什么是绝对路径和相对路径,以及何时使用它们。
After looking at some simple CD examples, the article explains what is meant by the absolute path and the relative path and when to use each one.
@Path注释的值 /transactions 指出交易服务的URI 的相对路径。
The value of the @Path annotation /transactions signifies the relative path of the URI of the transaction service.
最后,通常最好在无人参与的脚本中使用完整路径名而不是相对路径,从而能将前面的原则与之结合使用。
Finally, it is generally a good idea to use full path names rather than localized paths in your unattended scripts so that you can use the previous principles together.
我们在创建链接时,当我们的工作目录不是我们希望在此建立链接的目录时,让我们使用相对路径创建一个链接。
While we're creating links, let's create a link using relative paths when our working directory is not the directory where we want the link.
我们在创建链接时,当我们的工作目录不是我们希望在此建立链接的目录时,让我们使用相对路径创建一个链接。
While we're creating links, let's create a link using relative paths when our working directory is not the directory where we want the link.
应用推荐