如何:替换模板中的参数。
如果服务器不是处于开发模式,则BPEL在有运行的实例后将不允许替换模板。
If the server is not in development mode, BPEL will not allow a template to be replaced when it has running instances.
sprintf函数包含一个runmqsc命令模板,上述值将替换模板中的值。
The sprintf function contains a template of the runmqsc command into which values are substituted.
清单9中演示的上下文接口允许应用程序提供模板变量替换值的定制解决方案。
The context interface, illustrated in Listing 9, allows an application to provide customized resolution of the template variable replacement values.
这样做最容易的方法就是替换邮件模板的设计。
The easiest way to do this is to replace the design of your mail template.
当模板引擎处理简单的占位符元素时,您可以用值、组件或作为页面一部分的结构来替换这些元素。
You can then replace simple placeholder elements with values, components, or structures that become part of the page when the template engine processes them.
此模板属性文件相当简单,只是一个希望在筛选操作期间替换的属性列表。
The template properties file is pretty simple. Just a list of properties that you want to be replaced during the filter operation.
创建这些模板的关键在于对那些运行时要替换的变量的定义。
The key to creating these templates is in defining the variables that will be substituted at run time.
通常,您需要替换现有内容;但是,当您重复应用一个模板时,就可能需要附加内容。
Typically, you will want to replace existing content; however, when you are applying a template repeatedly, you want to append content.
当模板引擎运行时,清单1中彩色显示的部分将被实际的数据替换。
The bold lines in the Listing 1 template will be replaced by actual data when the templating engine runs.
这些变量替换的名称十分灵活,将在下一节中讨论,讨论的主要内容集中在模板分区上。
The names of these variable substitutions are flexible and will be discussed in the next section, which focuses on template sections.
运行时这些占位符被相应模板替换。
At runtime these placeholders can be replaced by the corresponding templates.
为了帮助您进行模板编辑,工具会指示可以使用转换工件替换的模板之内的字符串。
To assist you with template editing, the tool indicates detected strings within the template that can be replaced with transformation artifacts.
这将使用主模板文件中的内容来替换任意有相同文件名的现有模板。
This replaces any existing template with the same name with the contents from the master template file.
当您打开指示的模板时,下一个将会被替换的文本将会得到下划线强调显示。
When you open the indicated template, the text to be replaced is underscored.
例如,如果一个报表希望的输出是XML,那么您就可以创建一个XML模板,它可以包含一些占位符,在运行时替换为实际的值。
For example, if a report's intended output was XML, you could create an XML template that contained placeholders for run-time-substituted values.
这表明,包向导的项目文件替换和项目模板稍有不同。
It turns out the package wizard does project file substitution a bit differently than the project project templates.
当你说你要在模板中调用DoIt,编译器会概念性地搜索出所有用到的“t”,再把它们替换成“string”,接着再编译源代码。
When you say DoIt in a template, the compiler conceptually searches out all USES of "t", replaces them with "string", and then compiles the resulting source code.
可以替换XPath表达式、指令、模板或者导入的样式表模块,以及其他构造函数,替换可以在不同的层次上进行。
You might replace an XPath expression, an instruction, a template, or an imported stylesheet module, among other constructs, and the replacement might be a different granularity.
该方法要求创建一个小框架,从properties文件读取信息并解析html模板以使相应的HTML文件替换html占位符。
This approach requires creating a small framework which reads in the properties file and parses the HTML templates to replace HTML placeholders by corresponding HTML files.
为此,我们使用了dojo的实用工具dojo .string . substitute,它接收字符串的模板和参数化的值并用给定的值替换这些占位符。
For this we use dojo's utility dojo.string.substitute, which receives a template for a string, with parameterized values, and substitutes the placeholders in the templates with the given values.
稍后会看到,Streamlined可以把这些值替换进视图模板,形成完整的用户界面屏幕。
Streamlined can substitute these values into view templates, which you'll see later, to form full user interface screens.
为了简化例程创建以及向终端用户提供值,Optim DevelopmentStudio包含了一些例程模板供您使用、修改或替换。
In order to simplify routine creation and provide value to the end user, Optim Development Studio includes many routine templates for you to use, modify, or replace.
模板中选择的文本将会使用该JET标签替换
The selected text in the template will be replaced with this JET tag
这个XPath表达式的上下文节点是模板替换的元素,在这里是ATOM元素。
The context node for this XPath expression is the element that the template is replacing — in this case, an ATOM element.
本文随项目在FeaturesandVision 文件夹中准备好了一个 Vision文档(用它替换空模板)。
We have a prepared Vision document (which replaces the blank template) generated with the project in the Features and Vision folder.
此uri是一个“模板”,因为使用它时,“{uuid}”将被替换为唯一的UDDI,从而允许此uri可与此uri的其他实例唯一地区分开来。
This URI is a "template" because when it's used, the "{uuid}" portion is meant to be replaced with a unique uuid, thus allowing this URI to be uniquely identifiable from other instances of this URI.
第三个XML文档应用程序以第二个应用程序为基础,将一个网格显示屏替换为xfy AdaptiveChart模板,以便只显示电子邮件和销售总额信息。
The third XML document application builds on the second application and places one of the grid displays with the xfy Adaptive Chart template to display only the email and sales total information.
该转换还提供了一个选项来为类类型的模板参数生成替换class 的关键字。
The transformation also provides an option to generate the keyword in place of class for template parameters of type class.
确定每一个替换值之后,得到的URI模板如下所示。
After determining each of the replacement values, what you end up with is the following.
应用推荐