xpath question

  • Thread starter Thread starter C# newbie
  • Start date Start date
C

C# newbie

Hi,

How can I make my XPath query to return both "Bob" & "bob" (during search
for a
string) ?

any idea?

thanks
 
Something like //node/whatever[@name = bob | Bob]

Probably not the correct syntax, but the idea is to use the | operator. Look
up the XPath reference in MSDN, it has samples.
 
ok, my bad! looks I didn't explain it the way I had to.
I want my query to include upper cases and lower cases. No dependency on Aa
Bb .. Zz! the query

Thanks

Klaus H. Probst said:
Something like //node/whatever[@name = bob | Bob]

Probably not the correct syntax, but the idea is to use the | operator. Look
up the XPath reference in MSDN, it has samples.


--
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/

C# newbie said:
Hi,

How can I make my XPath query to return both "Bob" & "bob" (during search
for a
string) ?

any idea?

thanks
 
Back
Top