|
-
Dec 9th, 2001, 08:22 PM
#1
Thread Starter
New Member
XML Path problem in VB
i've been learning some XML related stuff in Visual Basic, but i have lots
of problems (maybe a bad installation of msxml?)
i can't guess why stuff like position() or .. don't work in the querys
example:
Set nodelist = root.selectNodes("(.//key[text()=""2000""])")
works OK, it gets the node "key" with the text "2000"
but the following doesn't work:
Set nodolist = root.selectNodes("(.//key[position()=1])")
and I always get errors when i try to use things like:
descendant::
child::
..
etc
any help? TIA
note:
i have msxml3 (latest) and 4 (official release) installed
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|