Wednesday, September 28, 2011

XPath based Document search

Hey all,

Does GWT provide XPath notation based searches in DOM like GXT does?
My requirement actually is to look out for a node under a given parent
node with a given css class name.

In GXT, there is a API like DomQuery.selectNode(String selector,
Element root). I can provide selector like "div.error" and it will
search all the <div> elements under the root element which has css
class 'error'.

Thanks in advance.

Mohit

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

No comments:

Post a Comment