[
Lists Home |
Date Index |
Thread Index
]
Avinash Subramanya wrote:
> How do I get a count of the number of attributes of an element?
>
> ex:
> <Property prop1="val1" prop2="val2" />
>
> Count should give me 2.
count(Property/@*)
PS.I presume you are talking about XPath.
--
Oleg Tkachenko
http://www.tkachenko.com/blog
Multiconn Technologies, Israel
|