how to bind xpath results to a dataset?

M

Matthijs Blaas

Hi all,

I have an xml document loaded, from which I want to select only a certain
node. I want to bind that selected node to an repeater, but I can't find out
how to populate a dataset with the result from the xpathnodeiterator (see
example code)

dim doc as new xmldatadocument
doc.load("test.xml")
dim nav as xpathnavigator
nav = doc.createnavigator()
dim browser as xpathnodeiterator = nav.select("descendant::test1/test2")
'bind the result of browser.current a the dataset ?

Could anyone please help me out here?

Thanks!

Thijs
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top