xpathiterator currentposition problem

  • Thread starter Thread starter gigs
  • Start date Start date
Peter said:
What's XPathIterator? Do you mean XPathNodeIterator? You just need to
get another instance, retrieved the same way you got it the first time.

If that's not what you mean, you'll need to elaborate, by explaining
exactly what you're talking about and posting some actual code showing
exactly what you're doing now and how you want to change it.

Pete

yes it is XpathNodeIterator, i have some descendant in iterator. i need to go
trough them and change value if current have attribute id = 1. than i need to go
again trough iterator and write all nodes to file. but i cannot set position to
first after changing some nodes in it. or maybe is there better way?
 

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

Back
Top