Additionally, for each row, we will return a valid XML document containing a root element only.
另外,对于每一行,返回一个有效的XML文档,其中只包含一个根元素。
This is a sequence of elements, yet not a valid XML document because it doesn't have a root element.
这是一系列元素,还不是有效的XML文档,因为它没有根元素。
For yet another declarative example, consider a document type declaration that describes a dialect of valid XML documents.
还有另一个声明性示例,请研究描述有效XML文档方言的文档类型声明。
Like previous examples, we want to return a valid XML document, so we will wrap the result of the XQuery with the root XML element.
与前面的示例相似,我们要返回一个有效的XML文档,所以将XQuery的结果封装在xml根元素中。
For our first example, the middle step of creating the XML document is not our concern; we simply want to generate a valid XML document.
对于第一个示例,第二步“创建XML文档”不是我们所关心的;我们只想生成一个有效的XML文档。
As with the other examples, the DTD language does not contain any instructions about what to do to recognize or create a valid XML document.
和其它示例一样,DTD语言不包含任何有关如何识别或创建有效XML文档的指令。
A good way to create a valid XML document is to first use the SQLToXML run time library to generate one, then modify it to supply new values for update.
首先采用SQLToXML运行时库来创建有效的XML文档,然后再修改它来提供用于更新的值是个很好的方法。
Assuming that your XHTML document is valid (and it is, right?), the id matching queries will only return one element, because IDs must be unique in a valid XML document.
假设您的XHTML文档是有效的(确实是的,对吧?),ID匹配查询将只返回一个元素,因为在有效的XML文档中,ID必须是惟一的。
For example, XML schemas specify what elements are valid, the order in which these elements should appear in a document, what XML data types are associated with each element, and so on.
例如,XML模式指定哪些元素是有效的,这些元素在文档中应该以什么次序出现,与每个元素相关联的XML数据类型,等等。
You might find it useful to read from an existing, and valid, XML document, but it's not necessarily obvious how you can best achieve this.
您可能发现从现有的有效XML文档上读取很有用,但是没有必要清楚地表明您是如何最佳地完成这个操作的。
Usually, an XML document must be well formed and valid for an application to process.
通常,只有结构良好和有效的XML文档才能被应用程序处理。
Certainly his main point is valid — you cannot be as careless in producing or editing XML as you would a simple text document, but this applies to all text formats with any structure.
当然其基本观点是正确的——不能像简单的文本文档那样随心所欲的生成和编辑XML,但是这种要求适用于所有有结构的文本格式。
The XML document that is produced needs to be complete in that it contains all the expected data and the document also needs to be valid and match its corresponding schema.
生成的XML文档需要保持完整,因为它包含所有需要的数据,并且该文档必须是有效的并匹配对应的模式。
For instance, in this game application, the scenario document is an XML "language" that's just as valid as HTML.
例如,在这个游戏应用程序中,场景文档是一种XML“语言”,它与HTML一样合法有效。
Basically an XML document can be considered "well-formed" or "valid".
基本上,可以认为XML文档是“格式良好的”或“有效的”文档。
When creating a mapping, the goal is to build a mapping that will produce a complete and valid target XML document.
创建映射时,目标是构建一个会产生完整而有效的目标XML文档的映射。
Listing 1 shows two valid namespace declarations for elements within an XML document.
清单1显示了用于一个XML文档中元素的两个有效名称空间声明。
The XML document that is produced should be complete in that it contains all the expected data and the document should also be valid with respect to its corresponding schema that it must match.
所产生的XML文档应该完整,其中包含所有预期的数据,而且文档应当有效,即相对于对应的模式必须匹配。
The document is valid when it conforms to its XML schema.
符合XML模式的文档是有效的。
DB2 can also optionally verify that an XML document is valid with respect to a given XML schema.
DB 2还可以选择性地针对所给XML模式对XML文档进行验证。
Because the URL is built to be placed in an HTML or XML document, escaping the special characters is required to make sure that the document remains valid.
因为URL将保存在HTML或XML文档中,必须对特殊字符进行转义以确保文档有效。
The XML document samples provided in the samples folder (see Download) are all valid according to this schema.
Samples文件夹中提供的XML文档示例(见下载)对于这个模式都是有效的。
The result is that any XML document is already a valid XQuery expression, which evaluates to itself.
结果,所有XML文档都自动成为有效的XQuery表达式,并对自身进行评估。
In other words, the XML document can be valid with an empty Comment element.
换句话说,XML文档在带有空的Comment元素时是有效的。
Then using the value obtained, it looks up the Person document, extracts the appropriate fields, and prints them with valid XML tags
然后使用得到的值查找Person文档,抽取适当的字段并用有效的XML标签输出
But assuming the XML document is valid, the right tables and column were created by dtd2sql.
但假设XML文档是有效的,dtd2s ql可以创建正确的表和列。
In the example, a fictitious catalog document contains references to publications whose contents might reside in a PDF or HTML file (neither of which is valid XML).
该例中,虚构的catalog文档包含了对内容放在PDF或HTML文件(两者都不是有效的XML)的出版物的引用。
Update 4 USES the XMLVALIDATE function to check whether the updated document is valid according to the XML schema with the identifier "cust.custschema."
更新4使用XMLVALIDATE函数根据XML模式(“ cust .custschema ”)检查更新后的文档是否是有效的。
Finally, a sample XML document is created that is valid with respect to validation against the XML schema and that satisfies the Schematron rule defined above.
最后,创建一个样例XML文档,该文档能通过XML模式的验证,并且满足前面定义的Schematron规则。
Only when you have checked the XML document against a schema and found that it passes will it truly be valid.
只有用模式检查XML文档并且通过之后才能说它是有效的。
应用推荐