Hi David, Luke just accepted my pull request over the weekend that addressed this very issue.
As of Monday, you should be able to treat an HTML string like any other DOM content, including querying with xpath and updating text and innerHTML. Bobby On Jan 22, 5:26 am, David Powell <d...@djpowell.net> wrote: > Hi, > > I'm just starting with clojurescript and domina. I have some html in > a string, eg: > > (def s "<section><div><h3>Hello</h3></div></section>") > > Is it possible to run xpaths over this node? (nodes s) seems to > convert it into some sort of dom object... > > Is it possible to change the text of the h3 element? > > Am I going about this wrong - should I be attaching my snippet to the > document, and then xpathing it there? > > -- > Dave -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en