[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Comparing nodes in axis
Michael Kay wrote:
You are comparing the nodes for equality, whereas your description suggests you want to compare them for identity. To compare whether $A and $B are the same node, use ($A is $B) in XPath 2.0, or (count($A|$B)=1) in XPath 1.0. That's exactly what i want. In fact, testing for equality could lead to potencial errors, cause nothing in my structure forbids the existence of two nodes with the same content. A very large thank you...
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|