* Chuck P wrote in microsoft.public.dotnet.xml:
>I am trying to retrieve the @AnswerCount Attribute
> for the @QuestionID=1 AND the Answer element text =3
[quoted text clipped - 25 lines]
>
>I always get 1 for the $choiceCount when the @QuestionID is found.
That's because the right Answer is not in your path, you just check
whether there is a right Answer. Put the predicate after the Answer,
.../Answer[ . = $matchText ]/@AnswerCount.

Signature
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
Hi Chuck,
Just want to check if the issue has been resolved.
Please feel free to let me know if there is anything we can help with.
Have a great day.
Sincerely,
Wen Yuan