std.xml

Jacob Carlborg doob at me.com
Mon Jan 13 11:54:21 PST 2014


On 2014-01-13 18:47, "Ola Fosheim Grøstad" 
<ola.fosheim.grostad+dlang at gmail.com>" wrote:
> 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.

I'm not sure what you're trying to do but the implementation in Tango 
uses structs for the nodes so you cannot subclass that.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list