how can i set position to the beginning for another loop_
xpathiterator currentposition problem
Collapse
This topic is closed.
X
X
-
gigsTags: None -
Peter Duniho
Re: xpathiterator currentposition problem
On Sat, 31 May 2008 10:51:05 -0700, gigs <gigs@hi.t-com.hrwrote:
What's XPathIterator? Do you mean XPathNodeIterat or? You just need tohow can i set position to the beginning for another loop_
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
-
gigs
Re: xpathiterator currentposition problem
Peter Duniho wrote:yes it is XpathNodeIterat or, i have some descendant in iterator. i need to goOn Sat, 31 May 2008 10:51:05 -0700, gigs <gigs@hi.t-com.hrwrote:
>>>how can i set position to the beginning for another loop_
What's XPathIterator? Do you mean XPathNodeIterat or? 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
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?
Comment
Comment