My implementation of server-side rendering allows you to do exactly that, without turning it to a string.
Checkout how this is implemented -> https://github.com/eeue56/elm-server-side-renderer/blob/master/src/Query.elm#L51 On Thu, Jul 28, 2016 at 11:21 AM, Peter Damoc <pda...@gmail.com> wrote: > I need to gather all the class names used in a Html tree generated by the > app. > > Is there a way to do this short of converting the html to a string and > manually parsing it? > > > > > > -- > There is NO FATE, we are the creators. > blog: http://damoc.ro/ > > -- > You received this message because you are subscribed to the Google Groups > "Elm Discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to elm-discuss+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.