![](https://secure.gravatar.com/avatar/eb3fe37da4a199eb4e3b479d8a57f808.jpg?s=120&d=mm&r=g)
2 Mar
2004
2 Mar
'04
12:18 a.m.
On Mon, 2004-03-01 at 10:56, bulia byak wrote:
svg.scene.forest.tree[x].branch[y].bird.color=blue;
Absolutely. I love XPath. However, standard XPath is not equipped to access individual CSS properties, which we must access to control bird colors. So we'll probably need an extended XPath-like something for that.
Well, strictly speaking XML DOM2 + the CSS DOM should be sufficient.
Use XPath to get the bird XML node, then CSS DOM to set its CSS properties.
It should certainly be possible to implement DOM on top of the AST layer, anyway -- which is one of the design goals.
-mental