On Tue, 2004-04-06 at 15:38, Stefan Seefeld wrote: > Hi MenTaLguY ! Howdy Stefan! Haven't seen you since the Berlin days ^_^ (wow, this is turning into a big reunion) > I guess that depends on what initiated the change. I'v written a C++ > wrapper library around libxml2 (making efficient use of the xmlNode's > _private member) and as all changes come from my wrapper objects, > I can manage all observer updates myself in said wrapper. > > May be that could be useful for you, too... Could be ... one of the design goals I'm aiming for, though, is a unified AST for all the grammars involved, since in many cases I think that would make the surrounding code simpler (I'm also thinking about a unified tree UI for CSS and XML editing). It'd be nice to be able to hang a CSS subtree directly off an XML node in place of a simple string leaf node (e.g. for the content of style="" attributes in SVG, or the text content of <style> elements). Up to this point I had been considering writing custom XML and CSS representations. This could also concievably be accomplished with a common layer over libcroco and libxml2 nodes, though I'm not sure what the best approach for gluing the two trees together underneath would be... -mental
Attachment:
signature.asc
Description: This is a digitally signed message part