The following code, given a message containing the document and chapter elements, adds the title element and sets its value.
下面的代码添加title元素并设置它的值(对于给定的包含document和chapter元素的消息)。
Let's take a simple XML document containing the list of employees at an organisation, add it to a GAE project, create a class for the elements, and store them as entities.
让我们以一个简单X ML文档(包含一个组织的员工列表)为例,将它添加到一个GAE项目,为其中的每个元素创建一个类,然后将它们存储为实体。
This service not only allows you to retrieve information about a book document in our bookstore, it also allows you to download the file containing the contents of one or more books.
此服务不仅允许您检索书店中一个图书档案的相关信息,还允许您下载包含一本或多本图书的内容的文件。
A simple sample document containing a book with at least one of each of the elements listed in Table 2 is shown below.
下面显示的示例文档中,其中的书至少包含了表2中列出的每个元素的其中一个。
In this case, there are no namespaces, and you get a basic, unadorned XML document containing only the data from the data model instance.
该例中没有其他名称空间,因此所得到的这个简单无修饰的XML文档只包含数据模型实例中的数据。
The Extensible Hypertext Markup Language (XHTML) document containing this form is shown in Listing 1.
包含该表单的可扩展标记语言(XHTML)文档如清单1所示。
The second line of the XML document is a processing instruction containing the URL of the XSLT style sheet that is to be used on it.
XML文档的第二行是一个处理指令,它包含了要用于该文档的xslt样式表的URL。
The CSV file containing the statistics data for these graphs is contained in Appendix 2 of this document.
包含这些图形的统计数据的CSV文件包含在本文的附录2中。
Retrieving favorites is quite simple: Send a GET request to the favorites endpoint, and the response is an XML document containing a list of the user's favorite messages.
检索收藏非常简单:发送GET请求至收藏端点,响应为一个XML文档,其中包含了用户收藏消息的列表。
Both procedures take the type of policy being retrieved as input and return an XML document (either returned as a BLOB to the caller or written to a file) containing the policy information.
这两个过程都以要检索的策略类型为输入,并返回包含策略信息的XML文档(作为blob返回到调用方或写入文件)。
You should see a new XML file in the root directory of your c: drive containing the instance document as it existed when you saved it.
在c盘根目录下将会出现一个XML文件,其中包含了刚才保存的实例文档。
The basic interface to XML Notepad consists of a collapsible tree view of an XML document in one pane, with the other pane containing lines indicating the content of elements and attributes.
XMLNotepad的基本界面由两个窗格构成,一个窗格中是XML文档的可折叠树视图,另一个窗格包含一些表明元素内容和属性的行。
Then, I only use rdf:about, never rdf:ID, a convention I recently adopted after hard experience with all the pitfalls associated with resolving IDs against the supposed URI of the containing document.
于是,我只使用rdf:about ,而不再使用 rdf:ID ,在艰辛地经历了与对包含文档的假设URI解析ID有关的所有缺陷之后,最近,我采用了这一约定。
The search results may show one document containing boat, but not imgboat1.png.
搜索结果可能会显示包含了boat但不包含imgboat 1 . png的一个文档。
The IIPx server creates an XML document containing basic employee information that is retrieved from the internal IBM employee directory, known inside IBM as BluePages.
IIPx服务器创建包含基本员工信息的XML文档,该信息从内部IBM 员工目录(在 IBM 内部称为蓝页)检索。
This view correctly returns a JSON response containing only one document: the ticket issued by Officer Ree on January 31.
该视图将返回一个JSON应答,其中只包含一个文档:OfficerRee于1月31日开出的罚单。
The anatomy of a gadget is very simple: the root document node is a "module" containing a "moduleprefs" element, "userpref" elements, and "content". Gadgets provide several interesting features, e.g.
Gadget的内部构造非常简单:文档的根节点“module”包含一个“moduleprefs”元素,若干“userpref”元素和一个“content”元素。
From a Lotus Notes mail document, a floating window containing Google Map is launched by right-clicking selected text and using the context menu.
在LotusNotes邮件文档中,右击选中的文本或者使用上下文菜单打开包含GoogleMap的一个浮动窗口。
You should see the new keywords property, containing the list of the most relevant tokens found in the document.
您应看到新的keywords属性,包含可在文档中找到的最相关的令牌的列表。
By clicking the test Adapter TAB at the bottom of the canvas containing the Web service description, you can test the operation by editing the request document and clicking Invoke Web service.
通过单击位于(包含Web服务描述的)工作区底部的TestAdapter附签,可以测试操作,即编辑请求文档并单击Invoke Web Service。
The treaty is a document containing three articles and a supplementary protocol of three paragraphs.
这一条约包含三项条款和一项由3段组成的补充议定书。
The HTTP response contains an Atom entry document containing the detailed information (see listing 2).
HTTP响应包含一个Atom条目文档,其中包含详细的信息(见清单2)。
The nodes containing title and btnHighlight should not be updated, as changes in these nodes cause the document to display incorrectly.
不应当更新包含title和btnHighlight的节点,因为这些节点中的更改将导致文档无法正常显示。
The Web service also accepts a sales tax rate argument besides the shopping cart information, which is an XML document containing the product IDs and their respective quantities.
除了购物车信息,Web服务还接受销售税率参数,购物车信息为一个包含产品ID及各自数量的XML文档。
You can choose more than one response document from the dialog box, and Lotus Notes will create an email message containing all the responses you selected.
从该对话框可以选择多个回复文档,LotusNotes将创建包含选择的所有回复的电子邮件消息。
Add a MIME package before the updated Infoset and another after the Infoset to describe an XML document containing a picture and a signature in both text and binary formats respectively.
在更新后的Infoset前后各添加一个mime包,以分别描述包含文本格式和二进制格式的图片和签名的XML文档。
This stylesheet takes a document containing a number of elements of the form <temperature temp="30"/>, and translates them into a PostScript stack rendering a line graph of those temperatures.
此样式表将获取包含大量 <temperature temp="30"/>格式的元素的文档,并将其转换为呈现温度线图的PostScript堆栈。
AssertURI: an element containing the URI that points to an XML document that includes service assertions (specifications).
AssertURI:包含指向一个XML文件的统一资源标识符(uri)的元素。其中,XML文件包括服务声明(规范)。
Line-box vertical constraint. A left float box's top margin edge may not be higher than the top padding edge of any line-box containing a box generated by an earlier element in the source document.
line - box垂直限制:左浮动框的上marginedge不能高于任何包含由源文档中前一元素生成的框的line - box的上padding edge。
Line-box vertical constraint. A left float box's top margin edge may not be higher than the top padding edge of any line-box containing a box generated by an earlier element in the source document.
line - box垂直限制:左浮动框的上marginedge不能高于任何包含由源文档中前一元素生成的框的line - box的上padding edge。
应用推荐