This is the xml I have.......IF THERE IS ANY WAY That I can First check all the nodes for the country If there is any match for the country display it and end otherwise start the loop once again and check for the regions and if there is a match display and start the loop and render the all node
Xslt Loop
<?xml version="1.0" encoding="utf-8" ?>
<root>
<NestedContent>
<Module>
<StyleSelector>cream</StyleSelector>
<global>true</global>
<GeoContent>
<BodyContents>
<GeoTarget>all</GeoTarget>
<WidgetTitle>WW</WidgetTitle>
<ModuleText>ww</ModuleText>
<ContentLink></ContentLink>
</BodyContents>
<BodyContents>
<GeoTarget>Americas</GeoTarget>
<WidgetTitle>AMER REGIONS</WidgetTitle>
<ModuleText>amer regions</ModuleText>
<ContentLink></ContentLink>
</BodyContents>
<BodyContents>
<GeoTarget>in</GeoTarget>
<WidgetTitle>in</WidgetTitle>
<ModuleText>in</ModuleText>
<ContentLink></ContentLink>
</BodyContents>
<BodyContents>
<GeoTarget>ch</GeoTarget>
<WidgetTitle>ch</WidgetTitle>
<ModuleText>ch</ModuleText>
<ContentLink></ContentLink>
</BodyContents>
<BodyContents>
<GeoTarget>us</GeoTarget>
<WidgetTitle>US Country</WidgetTitle>
<ModuleText>US Cuntry </ModuleText>
<ContentLink></ContentLink>
</BodyContents>
</GeoContent>
</Module>
</NestedContent>
</root>
This is the xml I have.......IF THERE IS ANY WAY That I can First check all the nodes for the country If there is any match for the country display it and end otherwise start the loop once again and check for the regions and if there is a match display and start the loop and render the all node
any replies are greatly apreciated..Thank You
is working on a reply...