用正则表达式解析XML
我目前想数学表达式解析为表达式树。
I'm currently trying to parse math expression into expression tree.
用正则表达式解析这些文件同样没有什么大不了的。
Again, it is trivial to parse those files with regular expressions.
QE-DEF - 0030表达式解析错误。
允许用户使用定制排序、过滤和查询表达式解析扩展搜索行为。
Allows users to extend the searching behavior using custom sorting, filtering, and query expression parsing.
因此在实际中,我使用一个正则表达式解析来为我提供所需要的细节信息。
In practice, therefore, I use a sliver of regular expression parsing to give me just the details I'm after.
该方法将知识表示为逻辑表达式,推理机使用表达式解析的方法推理知识。
This method represents knowledge with the logic expression, then reasoning engine works with expression parsing.
JSF提供了一种扩展机制,允许应用程序开发人员编写自己的表达式解析器。
JSF provides an extensibility mechanism that allows application developers to write their own expression resolvers.
可以肯定,即使提到这个方法,有些工程师也会批评我,但是确实可以用正则表达式解析xml。
I'm certain to be vilified by some engineers for even mentioning this approach, but you can parse XML with regular expressions.
本文论述了一种使用表达式解析的故障诊断方法,并将其用于某型雷达系统的故障诊断保障系统中。
This paper introduces a kind of new method based on expression parsing which has been used in radar automation test system.
按照本文的“定义表达式解析器”一节描述的那样在JSF配置文件中使用Spring的DelegatingVariableResolver。
Use Spring's DelegatingVariableResolver in JSF's configuration file as in this article's "Defining an expression resolver" section.
spring在名为or g . springframework . web .jsf . DelegatingVariableResolver的类中提供了jsf表达式解析器。
Spring provides an expression resolver for JSF in a class named org.springframework.web.jsf.DelegatingVariableResolver.
上述模块显示了如何使用表达式和多个输入值添加人员解析到您的人工任务,使用一个含有数组输入的业务对象变量。
The above module showed how to add people resolution to your human task using expressions and multiple input values, which USES a business object variable with array inputs.
坦白地说,XML不是一种多么复杂的语法,因此认为可以自己通过正则表达式或其他特殊方法来解析的想法是可以理解的。
Granted, XML is not a very complex syntax so you can be forgiven for thinking that you can hack your way with regular expressions or other ad-hoc means.
如果遇到一个整数,则表达式是有效的,解析器将完成工作。
If it encounters one, the expression is valid and the parser is done.
清单5显示了如何构造属性文件,该属性文件在运行时使用这些表达式来解析值。
Listing 5 shows how to construct a properties file that USES these expressions to resolve the values at runtime.
这个概要(见图15)还显示,相当多的时间花费在正则表达式的处理上,因此,您还应该缓存解析结果。
The profile (Figure 15) also shows that quite a lot of time is being spent in regular expression processing, so you should also cache the parsing results.
既然已经进行了解析,我们就需要对单个表达式采取行动了。
Now that we've parsed, we need to take action on the individual expressions.
这些提示用于解析模型中包含的嵌入式提示表达式。
These prompts are used to resolve the embedded prompt expressions contained in the model.
JSF具有用于自定义jsfel表达式中的顶级变量的解析的机制。
JSF has a mechanism for customizing the resolution of top-level variables in JSF el expressions.
在组件框架中,UI事件或解析的值绑定表达式直接导致方法调用。
In a component framework, invocations are a direct result of either UI events or resolved value-binding expressions.
支持解析人们输入的丰富查询表达式。
通过xi所用的正则表达式不难解析这些数据。
It is not difficult to parse this data with the regular expressions that XI USES.
该类负责根据定义解析文本文档、应用正则表达式并生成适当的SAX事件。
This class is responsible for parsing a text document according to a definition, applying the regular expressions, and generating the appropriate SAX events.
这允许在解析时在正则表达式中使用十六进制值。
This allows hexadecimal values in regular expressions when parsing.
它使用正则表达式(现在已内置于JDK 1.4中)来解析输入文件并创建一个xml副本。
It USES regular expressions (now built into JDK 1.4) to parse the input file and create an XML counterpart.
计量符可以在Spark记号赋予器(tokenizer)的正则表达式中使用,并可以用解析表达式语法中的递归来进行模拟。
Quantifiers can be used within the regular expressions of the Spark tokenizer, and can be simulated by recursion in parse expression grammars.
单个整数表达式的解析树的图片。
创建一个任务,其中含有XPath表达式的动态人员解析被用于给授权用户分配任务。
Create a task in which dynamic people resolution with XPath expressions is used to assign authorized users to tasks.
图1:单个整数表达式的解析树。
应用推荐