在清单5中,使用此解析器的代码还使用了新的前缀。
In Listing 5, the code using this resolver USES the new prefix.
您可以为这些值使用任何兼容JAXP的解析器。
You can use any JAXP-compliant parser framework for these values.
例如,如果想同时处理日历数据和地址数据,就必须保证解析器同时支持这两种格式,或者使用两种不同的解析器。
For example, if you want to process both calendar data and address data, you have to make sure your parser supports both or use two different parsers.
构造函数方法使用标准化的方法来确保重载值中不包含XML解析器所使用的符号。
The constructor method uses the normalize method to ensure that the override value strings do not contain symbols used by XML parser.
其中的主要原因在于WPF设计器已经拥有了自己的解析器,而重写该解析器以使用这个公共解析器将要花费大量时间。
A major reason for this is that the WPF designers already have their own parsers and rewriting them to use the common parser will take a significant amount of time.
最后,可以使用外部的验证解析器来验证文档,我将在本文的后面介绍。
Finally, you can validate documents with an external validating parser, which I discuss later in this article.
为解释这个以及其他有趣的特性,我需要描述一下索引器使用解析器的AST将如何工作以及它如何同PDOM进行交互。
To explain this and other interesting features, I need to describe what the indexer does with the parser's AST and how it interacts with the PDOM.
如果文件指向了错误的模式,解析器就会使用错误的模式进行验证。
If the file points to an incorrect schema, the parser will validate against the incorrect schema.
这里的触发事件是随着应用程序使用适当的方法推动解析器在标记流中前进而解析出来的XML标记。
In this case, the triggering event is an XML token that is parsed when the application advances the parser along the token stream using the appropriate method.
但是这种配置不支持其它类型的子标签,如果你使用其它类型的子标签,解析器将会发出一个错误。
This configuration doesn't let you host other types of child tags, however. If you did that, a parser exception would be thrown.
如果没有某个已提供的域适合于特定的消息格式,您可以编写自己的编程或描述解析器,以供您自己的用户定义的域使用。
If a supplied domain is not suitable for a particular message format, you can write your own programmatic or descriptive parser for use by your own user-defined domain.
对映射节点中可以选择使用的解析器也进行了扩展。
The choice of parsers you can use with the mapping node has also been extended.
清单9中有一些值得注意的细节,首先考虑到的是SAX解析器是一个基于事件的解析器,这就意味着使用SAX进行解析时要建立真实文件。
Listing 9 contains some noteworthy items. The first thing to consider is that the SAX parser is an event-based parser, which means that you build the actual document as it is parsed.
在接收到的xml格式视图内容上,使用PHP的xml解析器查找文档和字段。
On the received XML-formatted view content, use PHP's XML parser to find documents and fields.
清单4中的代码实现了一个简单的解析器,它假设我们使用冒号分隔好友ID和相关的通知,并使用分号分隔后续通知。
The code in listing 4 implements a crude parser that assumes that we use colons to separate buddy IDs from the associated note and semicolons to separate subsequent notes.
实体是对数据的引用;根据实体种类的不同,xml解析器将使用实体的替代文本或者外部文档的内容来替代实体引用。
Entities are references to data; depending on the kind of entity, the XML parser will either replace the entity reference with the entity's replacement text or the contents of an external document.
更复杂的解析器通常都使用这些内置解析器对象创建。
More complex parsers are typically created using these built-in parser objects.
使用外部解析器的验证。
解析器不能确定元素是如何使用的,除非它知道元素的范围。
The parser can't determine how an element is used unless it knows the element's scope.
域确定了在解析和序列化该消息时使用的解析器。
A domain determines the parser that is used when parsing and serializing the message.
为了访问插件解析器的功能,必须使用解析器类名。
To access the plug-in parser's functionality, the parser class name must be used.
从根本上说,这个解析器与此前展示的那个使用JDBC 4.0读取XML数据的简单示例相同。
This resolver is basically the same as the simpler sample shown earlier of reading XML data through JDBC 4.0.
SQL解析器和XML 解析器在DB2编译器中交互,但是它们预期使用不同代码页的输入。
The SQL parser and the XML parser interact within the DB2 compiler, but they expect their input in different code pages.
XML数据解析通常是使用一个SAX风格的解析器完成的。
要完成最简单的日常解析任务,您不需要使用象自动化解析器生成器那样复杂的任何东西。
You don't need anything as complicated as an automated parser generator to do most simple, everyday parsing tasks.
xmlnsc域现在使用高性能的xml解析器,这意味着它现在比其他xml域使用显著更少的CPU。
The XMLNSC domain now USES a high performance XML parser which means that it now USES significantly less CPU than the other XML domains.
另外,您还可以利用更复杂的分隔技术,使用消息解析器确定输入文件的记录的结束。
Alternatively you can use a more complex delimiting technique which is to use a message parser to determine the end of a record from an input file.
xmlnsc域——现在使用新的内部高速解析器。
尝试更多使用您的解析器的查询。
如果需要底层控制XML文档的解码,应该使用xml解析器。
If you want or need low-level control over the decoding of an XML document, then you should use an XML parser.
应用推荐