BI Publisher (MOSC)

MOSC Banner

How to select the correct value from a child node based on if condition.

edited Oct 11, 2019 6:44AM in BI Publisher (MOSC) 5 commentsAnswered ✓

Hi,

I am building an XML Publisher report on EXCEL Format using an rtf template.

The input XML looks like below :

        <G_CURR_CODE>

          <CURRENCY_CODE>GBP</CURRENCY_CODE>

          <LIST_G_GL_YEAR>

            <G_GL_YEAR>

              <GL_YEAR>2012</GL_YEAR>

              <LIST_G_SALES>

                <G_SALES>

                  <MON>Jan</MON>

                  <MM>01</MM>

                  <YYYYMM>201201</YYYYMM>

                  <MONYYYY>JAN-2012</MONYYYY>

                  <TOT_CURR_SALES>1034.67</TOT_CURR_SALES>

                  <TOT_SALES>1034.67</TOT_SALES>

                </G_SALES>

                <G_SALES>

                  <MON>Mar</MON>

                  <MM>03</MM>

                  <YYYYMM>201203</YYYYMM>

                  <MONYYYY>MAR-2012</MONYYYY>

                  <TOT_CURR_SALES>2723.82</TOT_CURR_SALES>

                  <TOT_SALES>2723.82</TOT_SALES>

                </G_SALES>

                <G_SALES>

                  <MON>May</MON>

                  <MM>05</MM>

                  <YYYYMM>201205</YYYYMM>

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center