Li, Can you give me a bit more description what you are trying to do. If you are looking to manipulate css and raw html in the browser, I would recommend looking at enfocus. Its a higher level abstraction than domina and has pretty solid documentation. I contains tools for extracting and transforming html through css selectors and simple functions.
Documentation: http://ckirkendall.github.io/enfocus-site/ Creighton On Wed, Aug 13, 2014 at 11:15 AM, Li Dong bin <[email protected]> wrote: > Hi: > > I am trying to use domina to scrap a html string. But I can not get it > work, I've tried following approaches by reading the source code of domina, > but always got empty string back. Am I using it wrong? > > In order to use css/sel, I have to have a dom elements. But I don't deal > with the real dom, instead I have a dom string. > > I tried to use domina/html-to-dom, but it always give back empty string to > me. > > (domina/html-to-dom "<div><a href='#'>TEST LINK</a></div>") ;; always > return empty string > > Anyone used domina before can help? Thanks a lot! > > -- > Note that posts from new members are moderated - please be patient with > your first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/clojurescript. > -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
