Thursday, March 28, 2013

Re: XMLParser Problems

Hi Andy:
 
Thanks for the post above.  I did not see this the other day.
you need to ask the child for the next sibling not the parent.
 
node = node.getNextSibling();
By the way, the Totoe project using xpath works nicely.
It take some to get to know how to use it. 
 

On Wednesday, March 20, 2013 11:24:23 AM UTC-5, Andy King wrote:

I don't know of any way to use XPath against the GWT XML library, but that's not to say that you can't do so.  In my work with it I just walk through the Document object and extract the elements and attributes into my own structure.  If you know the structure of your XML ahead of time then this is really very easy.

Andy

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment