Thanks Jacob and Dejan!

I guess I can just build a generic DOM using one of those and replace the nodes I am interested with subclasses after the tree building process. I was thinking more of a library that allows me to say that a specific element (like "svg") should use a specific subclass, but "mapping" after building is ok too I suppose.

Reply via email to