Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • ramu ajay 9 posts 29 karma points
    Nov 01, 2010 @ 20:49
    ramu ajay
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft