Previous tips in this series have been using examples of sax code to explore the concept of document order and the use of document order indices dois to model hierarchy in xml documents 本系列的前几篇技巧文章使用了sax代码示例来探讨文档次序的概念以及如何使用文档次序索引( document order index , doi )在xml文档中对层次结构建模。
I know of no xml parser that does not report sibling elements in document order , just for the practical reason that it s easiest and most efficient to report parts of the xml document as they are encountered while parsing 我知道,没有一种xml解析器不按照文档顺序报告兄弟元素,这是因为在解析过程中报告遇到的xml文档部分最容易、最有效。
These algorithms lead to optimal join performance : nodes that do not participate in the join can be judged beforehand and then skipped using b - tree index . besides , each element list joined is scanned sequentially once at most . furthermore , output of join results is sorted in document order 其次,提出了两个高效的兄弟关系的结构连接算法,这两个算法具有较好的连接性能:不参与连接的结点可以事先判断出来并利用b树跳过,连接的两个列表最多都只需扫描一次,而且连结结果按照文档序有序。
It constructs a list of all ancestors of the current node in document order followed by the element itself ; it then selects from the list those nodes that match the count pattern ; it then maps each node in the list to one plus the number of preceding siblings of that node that match the count pattern ,将构造当前节点的所有上级按文档顺序排序的列表,后接元素本身;然后从列表中选择与计数模式匹配的节点;再将列表中的每个节点映射到1加上该节点中与计数模式匹配的前同辈数。
It constructs a list of length one containing the number of nodes that match the count pattern and belong to the set containing the current node and all nodes at any level of the document that are before the current node in document order , excluding any namespace and attribute nodes in other words the union of the members of the preceding and ancestor - or - self axes ,将构造一个长度列表,包含与计数模式匹配的节点数,并且这些节点所属的节点集应包含当前节点以及按文档顺序在当前节点之前的任何文档级别的所有节点,任何命名空间和属性节点除外(即前轴和上级或自身轴的成员的联合) 。
document: n. 1.文献,文件;公文。 2.证件,证书,凭证。 3 ...order: n. 1.次序,顺序;整齐;(社会)秩序,治安;状况,常 ...document to order: 指示式证券reverse document order: 逆序文档the document specified that the order: 按指定顺序显示文件document: n. 1.文献,文件;公文。 2.证件,证书,凭证。 3.记录影片,记实小说。 4.【航海】船舶执照。 a diplomatic document 外交文件。 public documents 公文。 a document of searching 搜查证。 a document of shipping 装货单据。 a human document 人世间的记录。 vt. 1.用文件[证书等]证明,为…提供文件[证书等]。 2.根据事实材料制作(影片等)。 3.【航海】为(船舶)提供执照〔表明船的国籍、容量、所有权等〕。 a documented vessel 〔美国〕有执照的船。 a carefully documented biography 有详细文献根据的传记。 document a case 为案件提供文件资料。 no document: 没有稿件that document: 显示文件be in order: 符合程序; 合适,恰当; 就我所知就绪be on order: 已订购; 已在订购by order: 奉...之命by order of: 奉之命; 遵照...的命令for order: 等待命令; 准备出售if order: 附条件交易指示单in order: 按顺序,按次序; 按顺序,按次序,处于良好状态,井然有序,整齐; 按顺序,按次序;出于良好状态,井然有序,整齐; 按顺序;整齐; 处于可以使用状态情况良好手续完好; 符合规定; 井井有条,处于良好状态; 妥当,就绪; 完好的,正常,齐全无误; 整齐, 状况良好, 适宜; 整齐,恰当; 整齐;状况良好; 秩序井然,整齐; 秩序井然,整齐in order of: 按...的次序; 按顺序in order that: 目的在于,为了; 为了,以便; 以便,为了; 以便,为了…in order to: 目的是做; 为的是; 为了(做某事); 为了...,以...为目的; 为了…起见,以便; 为了,以便; 以便,为了; 以便,以…为目的; 以便,以…为目的no order: 无定单; 无汇票无定货单of the order of: 大约, 约等于on order: 未交货的; 已订购; 在定购中on order that: 以便on the order of: 属于...同类的, 跟...相似的; 属于...一类的, 与...相似的; 属于...一类的,在同一级别or order: 或订做order: n. 1.次序,顺序;整齐;(社会)秩序,治安;状况,常态;健康状态;条理;会场秩序;议事程序,日程;组织,体系。 2.〔常 pl.〕命令;训令;指挥,号令;【计算机】指令。 3.席次;阶级,地位;等级,品级。 4.牧师的地位;〔pl.〕牧师职。 5.教团,修道会;(中世纪)骑士团;结社,公会。 6.【商业】定货,定单;汇兑,汇票,汇单。 7.勋位,勋章。 8.种类;种;【生物学】目〔介于纲和科之间〕。 9.规则;规定,制度,礼法;【宗教】仪式,祭礼。 10.【建筑】柱式,式样;【军事】整队,排队;序列,队形;【数学】队,级,次,度;序模;【修辞学】布置;调配,处理。 11.【戏剧】(免费)入场券,优待券。 12.【法律】(法院等的)决议(指非最后的判决)。 13.(转让产业的)许可证,授权证明书。 in alphabetical [chronological, numerical] order 按 ABC [年代、号码]顺序。 the old order 旧制度,旧理想。 the order of nature [things] 自然[事物]的条理。 a high order of culture 高度文化。 give orders [an order] for sth. to be done [that sth. should be done] 下命令做某事。 the military order 军界。 all orders and degrees of men 一切阶级的人们。 the higher [lower] orders 上层[下层]阶级。 a large [tall, strong] order 大批定货;〔俚语〕艰巨的工作;不当要求。 a postal [money, 〔英口〕 postoffice] order 邮汇。 the O- of the Garter 嘉德勋位,嘉德勋章。 the standing orders 议事规程;【军事】标准作战规定。 talents of a high order 优秀的才能,天才。 a battle [close] order 战斗[密集]队形。 be on order 已在订购。 by order 奉命令(by order of the authorities 奉当局命令)。 call a meeting to order 宣布开会。 call for orders 做推销员。 call to order (主席)请发言人遵守会场规则;〔美国〕宣布开会。 draw (up) in order 使排整齐。 fill an order 供应订货。 get out of order 损坏,发生故障。 give an order for 定(货)。 in order of age [mexit] 按年龄[成绩]次序。 in order 整整齐齐;合规则;情况正常;健康 (The goods arrived in good order. 货物安全到达)。 in order that 以便,为了…起见。 in order to 为要…起见,…才能。 in short order 〔美国〕迅速地;在短期内;〔美国〕立即,马上,毫不拖延。 keep in order 整理好;保持井然有序。 keep order 维持秩序。 made to order 定做的。 on the order of 跟…相似的;属于…同类的。 order of group 【数学】群阶。 order of march 行进序列;行军命令。 O- of Merit 勋章〔略 O.M.〕。 order of the day (议会等的)议事日程,工作日程;日常的事,习俗,风气,惯例。 order on order of (sculptured figures) 一排一排的(雕像)。 O-! O-! 违章!违章!〔议会等中有人违反规则时向主席提出的抗议〕;秩序! 秩序!〔主席等要搅乱秩序者守秩序〕。 out of order 乱,混乱,杂乱无章;不合规则;情况反常;有故障;有病,不舒服。 place an order with (a company) for (sth.) 向(某公司)定(某货)。 put [set, take] in order 整顿,整理,修整。 rise to (a point of) order (议员)起立对议会是否遵守议事规程提出质问(通常是打断他人的发言)。 take (holy) orders 接受圣职,做牧师。 take orders from sb. =take sb.'s orders 受某人的指挥。 take order to (do) 采取适当手段去(做…)。 take order with 安排,处理。 take things in order 依次做事。 to order 定做的,照规格[计划]做的。 under the orders of 在…的命令下,带着…的命令。 vt. 1.命令,指令;命令去…。 2.购;要求供应。 3.整理;整顿,调整;安排,处理;建立(秩序)。 4.(命运等)注定。 5.任命(某人)为牧师;授给…圣职。 order a retreat 下令退却。 order a taxi to take sb. to the airport 安排出租汽车送人到机场。 order sth. (to be) done [sb. to do..., that sb. (should) do ....] 吩咐某人做某事。 ★可略去过去分词前的 to be 的主要是〔美国〕;that 后的假设式现在时用法为〔美国〕,近来〔英国〕也这样说了。 He was ordered to Egypt. 他被派到埃及去了。 O- arms! 〔口令〕枪放下(立正)! order dinner 叫饭,定菜。 order one's affairs 料理私事。 ordered alloy 有序合金。 order about [around] 东派西使,驱使,摆布,发号施令。 order away [back] 命令离去[返回]。 order from 向…定购(order some new books from England 向英国定购几本新书)。 vi. 1.发命令,吩咐。 2.定货。 Please order for me. 请替我点菜。