J'ai XML ci-dessousActionScript: comment puis-je obtenir des noeuds XML par attributs
<node id="id1"/><node id="id2"/>...
<edge id="eid1" fromId="id1" toId="id2"/>
<edge id="eid2" fromId="id3" toId="id1"/>
<edge id="eid3" fromId="id2" toId="id4"/>
Maintenant, je dois obtenir toute base de bord sur nodeId,
nodeId = id1 -> eid1, eid2
nodeId = id2 -> eid1, eid3
nodeId = id3 -> eid2
nodeId = id5 -> Null
+1 pour votre temps. – alxx
@alxx Eh bien, [mon code compilait] (http://xkcd.com/303/) – Amarghosh
Je veux dire, bon exemple, très clair et complet! – alxx