W3C XML Schema允许一类通常出现在相同位置的元素类型在类型定义中作为一组相等元素处理。
The W3C XML Schema allows for a class of element types that generally appear in the same locations to be treated as a group of equivalent elements in type definitions.
例如,如果创建了两个没有任何属性的、名为“foo”的空元素节点,那么它们是相等的,但是它们不是相同的。
For example, if you create two empty element nodes named "foo" without any attributes, they are equal, even though they are not identical.
该元素将根据文本的计算宽度的大小,自动将相等的 em 值分配给左边和右边的空白。
This element automatically assigns ems equally to the right and left margins based on the size of the calculated width of the text.
Right, so s of i saying, given the list, look at the i'th element, true is it the same thing?
第2个元素,看他们是不是相等呢?,如果他们相等,好,把答案设置为?
Having done that, I could do the same thing, so I suppose I take this branch, I can pick a spot like, say, this one, and look there.
再从其中随即选取一个元素,比如这一个,请注意,如果相等则结束,如果不相等的话就在它的左边或右边找。
If it's there, I'm done. If not, I go there.
如果不相等的话,我继续去下一个元素比较。
应用推荐