need help with xpath expression
Posted
by geoff swartz
on Stack Overflow
See other posts from Stack Overflow
or by geoff swartz
Published on 2010-05-28T19:03:44Z
Indexed on
2010/05/28
19:32 UTC
Read the original article
Hit count: 211
xpath-expression
I have an xml node that looks like <slot highcount="20" lowcount="10" />
I've tried the following xpath expression:
XmlNode node = xdoc.SelectSingleNode("slot[@lowcount>=12] && slot[@highcount <=12]");
but I get an invalid token error and I don't have enough experience with this to know what I'm doing wrong. Any ideas?
© Stack Overflow or respective owner