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.
_________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2f...
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
participants (2)
-
bulia byak
-
MenTaLguY