This content has been marked as final. Show 1 reply
I have an xml structure as follows,
Now, I need to traverse this structure. This is not possible in the usual manner like xml.fo:layout-master-set. Flex gives a compile error here. On searching I found that I could traverse to fo:layout-master-set via the namespace. As follows,
var foNm:Namespace = xml.namespace("fo");
var childNode:XMLList = xml.foNm::["layout-master-set"];
After execution, childNode holds the correct list which is for layout-master-set.
However, I need to traverse to simple-page-master node. I tried to do that in a similar manner.
var childNode:XMLList = xml.foNm::["simple-page-master"];
But in this case childNode comes up empty. How can I do this?