And you may notice that there is a little snippet of PHP code in this element.
并且您可能已经注意到了,在这个元素内有一小段php代码。
The array element access (unsynchronized) code has already been presented in Listing 2.
数组元素访问(不同步)代码已经在清单2中给出。
This HTML code contains an element that displays a URL to a static html page containing the message that dynamically appears within the marquee.
这段HTML代码包含一个元素,它显示一个静态 HTML页面的URL,页面包含在滚动字幕中动态显示的消息。
In Listing 4, the first line of code takes each element of an array, calls the closure on it, and then builds a collection with the results.
在清单4中,第一行代码提取数组中的每个元素,并在此基础上调用闭包,然后用结果构建一个集合。
Outline view: in this format, the WBS is depicted using different levels of indentation, with an accompanying WBS code number for each element.
大纲视图:在这种格式中,用不同等级的缩进来体现WBS结构。WBS编码与每个元素一同出现。
The details form will be filled with the data of this element using the code in Listing 6.
将用该元素的数据填充明细表单,代码如清单6。
It's easy enough to write XSLT code that takes a particular element value and renders it this way.
这很容易,编写XSLT代码将特定元素值以这种方式表示。
In this code, the HTML element contains an attribute, title, which, when you hover the mouse over the word in the sentence, provides more specific information.
在这个代码中,HTML元素包含一个属性title,当您将鼠标悬停于句子中的这个单词上方时,该属性将提供更具体的信息。
After issuing the query, the code checks for a request parameter for a format element.
在发出查询之后,代码检查格式元素的请求参数。
Generality: Without having to list all possible element names, the code is general enough to encompass the variation of different feature elements that might appear in instance documents.
通用性:由于不需要列出所有可能的元素名,使代码更加通用,可以包含可能出现在实例文档中的不同特性元素的变体。
It defines a simple code list with the element type color, which contains four possible elements, the first three of which are given known color names.
清单1使用元素类型color定义一个简单的代码列表,color包含4个可能元素,前三个元素被赋予已知颜色名称。
Suppose a .NET client sends out an array with a null element as shown in the code in Listing 9.
假设.NET客户端发出含有空元素的数组,代码如 清单 9所示。
No problem if you produce HTML, but that approach is not pretty at all if your code relies on the exact content of the element.
如果您要生成的是HTML,那么不会产生任何问题,但如果您的代码依赖于元素的准确内容,则这种方法就不适用。
The Web service design element saves the WSDL document and the code.
Web服务设计元素将保存WSDL文档和代码。
The ITranslationUnit represents a single file of C/C++ code and is the most important element in the CDT model.
ITranslationUnit代表了单个C/C++代码文件,是CDT模块中最重要的元素。
The code for the model element Vehicle is shown in Listing 9. Although the definitions for these interfaces are similar to those of classes, the operations under these interfaces are always abstract.
这个模型元素vehicle的代码显示在列表9中。尽管这些接口的定义与那些类定义十分相似,但是这些接口下面的操作通常是抽象的。
It is the most important element in our presentation, and nearly 50% of our code deals with DIV objects.
它是我们的演示中最重要的元素,几乎有50%的代码都是处理DIV对象的。
The difficulty in writing SAX handlers is that the code to process a specific element (say cfg:body) is split over several events (such as startElement() and endElement()).
编写SAX处理器的困难在于:要将处理一个特定元素(例如cfg:body )的代码拆分成几个事件(例如startElement()和endElement() )。
Using the code shown above, the editor opens with the actual class implementation of the element.
使用如上所示的代码,编辑器将打开元素的实际类实现。
I'm writing the code that interprets the XML and creates each slide element in the carousel.
我还编写了解释xml并创建carousel中每个幻灯片元素的代码。
In the code shown in Listing 8, you access attributes of an element just as you would elements of an array.
清单8所示的代码中,可以像访问数组元素一样访问元素的属性。
The dispatcher can either contain the actual code used to deal with a particular element as an anonymous subroutine or it can contain a reference to a named subroutine defined elsewhere.
分派表可以包含用来处理特定元素的实际代码(匿名子例程),也可以包含对别处定义的命名子例程的引用。
As shown in the XML code for the week view in Listing 4, there is only one such element.
如清单4中星期视图中的XML代码所示,只有一个这样的元素。
By using a style sheet to define a template that matches an element with a particular archetype, you can further simplify the code.
通过使用样式表来定义一个与带特定原型的元素相匹配的模板,可以进一步简化代码。
Now the final task is to include this element in the object and save all of the HTML code to a file, which you'll do in Listing 8.
现在最后一项任务是将这个元素加入到对象中,并将所有HTML代码保存到一个文件中,这是在清单8中完成的。
The below code shows how you would normally define the callbacks using bean element in the XML configuration.
以下代码显示了在XML配置中通常使用bean元素定义回调的方法。
For each of these nodes, it computes the expression in the return clause, which here is a mix of markup (the tags) and code (extracting the contents of the element of each node).
对于选出的每个节点,将在return子句中计算表达式,在这里是标记(标签)与代码(提取出每个节点的元素的内容)的混合。
Now that you are calling the service with the Dojo code, you can update the contents of the div element to include the query results.
既然您将要使用Dojo代码调用服务,您也可以更新div元素的内容来包含查询结果。
The code in Listing 6 creates an XQuery expression that reaches out to the required element.
清单6中的代码创建了一个到达所需元素的XQuery表达式。
A new File Resource design element called ObfuscationList.txt will contain the mapping of legible code names to the short cryptic names.
称为ObfuscationList.txt的新FileResource设计元素将包含清楚易读的代码名称到简短含义模糊的名称的映射。
应用推荐