thomas horner
Fri, 28 Aug 2009 04:06:59 -0700
ok in the following xml how would i create a loop just from the children of "his"
for each (var section:XML in siteNav.section.subsection) {
<site>
<section name="about" src="index/nav/about" keep="false"/>
<section name="hers" src="index/nav/hers" keep="false" >
<subsection name="small"
src="index/nav/hers/smalltheirs" keep="true" />
<subsection name="medium"
src="index/nav/hers/mediumtheirs" keep="true" />
<subsection name="large"
src="index/nav/hers/largetheirs" keep="true" />
</section>
<section name="his" src="index/nav/his" keep="false" >
<subsection name="small" src="index/nav/his/smalltheirs"
keep="true" />
<subsection name="medium" src="index/nav/his/mediumtheirs"
keep="true" />
<subsection name="large" src="index/nav/his/largetheirs"
keep="true" />
</section>
<section name="theirs" src="index/nav/theirs" keep="false" >
<subsection name="small" src="index/nav/theirs/smalltheirs"
keep="true" />
<subsection name="medium"
src="index/nav/theirs/mediumtheirs" keep="true" />
<subsection name="large" src="index/nav/theirs/largetheirs"
keep="true" />
</section>
<section name="contact" src="index/nav/contact" keep="true"
/>
</site>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders