XPath中如何比较不同类型的对象[4]

[入库:2005年8月18日] [更新:2007年3月25日]

本文简介:选择自 superlmj 的 blog

                if(operand2 is string)convert node1 to string as a new object named newoperand1

                if(operand2 is boolean)convert node1 to boolean as a new object named newoperand1

                if(comparebasic(newoperand1,operand2,operator))return true

            }

        }

        return false

    }

 

本文关键:XPath中如何比较不同类型的对象
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top