[Home] [By Thread] [By Date] [Recent Entries]
Abel Braaksma wrote:
I have to correct myself here. You test for the node, not for the value of the node. It will return false in all situations, except when @my_attribute is not there for any of the $child.
same here. Again, you test the node, not the value. I.e.: <child my_attribute="" /> <child my_attribute="" /> <child my_attribute="" /> will return false for the above test. And the following: <child attribute="" /> <child attribute="" /> <child attribute="" /> will return true for the above test. And the following will return false again: <child my_attribute="" /> <child attribute="" /> <child attribute="" /> Sorry for the confusion. Cheers, -- Abel
|

Cart



