子问题是这样:“搜索字符串是否与 这个节点 中的字符串相同?”
The sub-problem is this: "Is the search string the same as the one in this node?"
假设使用 DTD 并且声明了某个元素,实例中该元素的一个子节点仅由与 PCDATA 声明不匹配的空白组成。
Suppose you use a DTD, and you declare a particular element, and the instance includes a child node of that element comprising only whitespace that does not match a PCDATA declaration.
在这种情况下,将输入节点与一个名为id的节点相比较,id节点的子文本节点由传递给函数的Name字符串构成。
In this case, you compare the input node against a node named id that has a child text node made of the name string passed in to the function.
应用推荐