Referencing of the values of the parent in the XML editor group

Hello
I have a report of EBS, who is out of the XML as follows:
<xmldata>
  <group1>
    <value1>Hello World</value1>
    <group2>
      <value2>Oracle</value2>
      <value3>Stuff</value3>
    <group2>
  </group1>
  <group1>
  <value1>Hello World</value1>
    <group2>
      <value2>Publisher</value2>
      <value3>More Stuff</value3>
    <group2>
  </group1>
</xmldata>
But in my model, I actually want to 'flatten' the above so I can push in excel in the following format:
Hello World | Oracle | Stuff 
Hello World | Publisher | More Stuff
The problem I have is that I have one for each course group2 to print these values, but then the values in Group 1 are not visible. So I just get white instead of value1. value2 and value3 work fine however.

I tried things like
<?value1?><?value2?><?value3?>
but it does not work - I have to do reference what parent level somehow, I'm looking at? I am using fields by the way, just used above for example.

Any pointers in the right direction would be really apreciated.

Concerning
John

Use this:



Thank you
Bipuser

Tags: Business Intelligence

Similar Questions

  • Dynamic Image in the XML editor problem

    Hi all

    I was working with a dynamic image in the Xml editor with the reference of this link, step-3

    http://www.erpschools.com/articles/display-and-change-images-dynamically-in-XML-Publisher

    I have three Logo saved in OA_MEDIA with the name as 80.gif, 81.gif, 82.gif.

    I created a formula column outside the Group of data and given the link in the RTF, inside the url of the Image Alt text: {//CF_LOGO1} and his works fine.

    But when I created the formula column in the dataset, how do I give the path inside the image.

    I tried with this url: {...} CF_LOGO1} but his does not work. Could all help with that.

    Thanks and greetings

    Srikkanth M

    Please check if you placed the logo with the Group and the image is called correctly.

  • Questions of EXCEL output in the XML editor logo

    Hello

    We use the Publisher XML API to generate PDFS, EXCEL returns by using the template. When adding image for the model of its display in the output pdf file. But not in Excel output projection. Then I added url: {/ Image} in the text of the image in the template and submitted the report again now able to see the image output to excel. Can you please tell me why his does not display not not the picture in excel by default which is the line that goes in the case of PDF. IAM getting the same question for HTML output generation also. Please tell me what I can do to get the image by default identical to the way I'm in PDF format.

    Thank you
    Satya

    for the xml editor:
    How to determine the Version of the Publisher Oracle XML to Oracle E-Business Suite 11i and Release 12 [362496.1 ID]

    >
    To resolve this problem, we need to make manual configuration image as menioned in the document 736897.1?
    >
    It is based on your report and your needs

    It's may be:
    -OA_MEDIA and url as the url: {' ${OA_MEDIA} / your_image'}
    -URLs as interface http as url: {'http://www.servernews.ru/assets/images/articles/594131/OracleLogo.jpg'}
    -logo by submodel

    then you can try the logo by OA_MEDIA

  • Forum for the XML editor

    Hello

    Is there a forum for XML publisher? :)

    I got this white paper:
    Check Printing Using XML Publisher in Oracle Applications Release 12
    An Oracle White Paper
    January 2007
    
    Oracle XML Publisher offers integrated functionality that allows customers to 
    design their own check format using familiar desktop tools that can then be 
    applied to a check print data source, whether that is the seeded Oracle Report 
    or a custom solution. This format is easily maintainable and can include all the 
    necessary components required in the final output to be printed onto blank check stock.
    Taking this approach reduces the complexity of the systems surrounding the check 
    generation and thereby reducing the total cost of ownership of the E-Business Suite.
    Prerequisites
    This solution will work with XML Publisher 4.5 and forward. This paper has been revised 
    for use with Oracle Applications Release 12. This white paper assumes the following:
    Check Printing Using XML Publisher in Oracle Applications Release 12 Page 3
    
    1. XML Publisher has been successfully set up with PDF printing enabled.
    Is the sine qua non refers to the configuration of EBS R12?
    How will I know if my R12 EBS has been implemented with the XML editor? I thought it was included default?


    Thank you very much

    Ms. K

    Hi again;

    Is the sine qua non refers to the configuration of EBS R12?

    XML editor comes as part of Oracle E-Business Suite.

    Please check Hussein snoussi more large previous post on the same topic

    http://forums.Oracle.com/forums/thread.jspa?MessageID=3834445� *.< posted="" by="" hussen="">

    You can find many many good article on this topic

    Respect of
    HELIOS

  • Excel output format in the xml editor question field

    Hi all

    I have a problem with the release of excel as below.

    I developed a report to xml editor having exit excel, I designed the layout to the rtf model.

    one of the parameters in the report as 11000048,11000050

    so when I check the output excel the above setting is displayed as below.

    1,100,004,811,000,050

    But I need the parameter will be displayed in the format 11000048,11000050 , as written, please help me.

    Thank you

    Please try this

  • Convert report seeded Oracle custom in the XML editor

    Hello
    We have customized any report oracle planted, now we have to convert in XML Publisher.

    any body can me say what steps should I follow?

    Patch installed

    OPE. H, 3263588
    4.5.0, 3554613
    5.0.0 3822219
    5.5.0, 4206181
    4236958 5.0.1
    5.6.0, 4561451
    5.6.1 4905678
    5.6.2, 5097966
    5.6.3, 5472959

    5.6 XML editor build 45

    Thank you
    Ed.

    Hello

    Please follow the steps in the below url.
    http://apps2fusion.com/at/64-KR/346-bi-Publisher-report-migration-utility
    later the following url will also be useful.
    http://bipublisher.blogspot.com/2009/05/bi-Publisher-reports6i-to-BIP.html

    This will of course help you.

    Thank you
    Zakari

  • Using the XML editor

    Hi all

    I'm a newbie to XML Publisher and very much intertested learning.
    Can anyone provide me with the best link where I get to start with him.

    I also have a fact a simple report with XML Publisher but he had a lot of troble to find tags. For example. For formatting numbers and dates.
    Is there a document or a link where I can get all this kind of in shape as well as the syntax.

    Any help will be really appreciated.

    Thanks in advance.

    Kind regards
    Shruti

    Hi Shruti,

    You can start with the page editor of BI on OTN http://www.oracle.com/technology/products/xml-publisher/index.html.

    Check out the tutorials (Oracle, for example). There are a lot of good information out there. Discover the guide editor of BI here: http://www.oracle.com/technology/products/xml-publisher/xmlpdocs.html

    Search the Forum or ask questions about specific questions you might have about putting shaped numbers and dates.

    I hope this helps.

    Thank you!

  • Nested for loops EACH in the XML editor

    I have a xml like this.

    <?xml version="1.0" encoding="UTF-8"?>
    <DATA_DS>
         <Line_Approver>
              <getLineNumberAssigneesResponse>
              <result>
                    <LineNumber>1</LineNumber>
                    <Assignees>One</Assignees>
               </result>
              <results>
    
                   <LineNumber>2</LineNumber>
                   <Assignees>Two</Assignees>
              </result>
    
              </getLineNumberAssigneesResponse>
         </Line_Approver>
    <DATA_DS>
         <HEADER>
         <INVOICE_ID>300100071480733</INVOICE_ID>
         <AMOUNT>1111</AMOUNT>
         <INVOICE_CURRENCY_CODE>USD</INVOICE_CURRENCY_CODE>
         <INVOICE_NUM>100</INVOICE_NUM>
         <INVOICE_DATE>2015-11-13T00:00:00.000+05:30</INVOICE_DATE>
         <PAYMENT_CURRENCY_CODE>USD</PAYMENT_CURRENCY_CODE>
         <ORG_ID>204</ORG_ID>
         
         <INVOICELINES>
                  <LINE_NUMBER>1</LINE_NUMBER><LINE_TYPE>Item</LINE_TYPE><AMOUNT>1000</AMOUNT><INVOICE_ID>zzz</INVOICE_ID><EXPENDITURE_ITEM_DATE></EXPENDITURE_ITEM_DATE>
         </INVOICELINES>
         <INVOICELINES>
              <LINE_NUMBER>2</LINE_NUMBER><LINE_TYPE>Item</LINE_TYPE><AMOUNT>111</AMOUNT><INVOICE_ID>300100071480733</INVOICE_ID><EXPENDITURE_ITEM_DATE></EXPENDITURE_ITEM_DATE>
         </INVOICELINES>
         </HEADER>
    
    <some more xml/>
    </DATA_DS>
    
    </DATA_DS>
    

    As you can see there are two results and and two invoice lines.

    I want to create a table of invoice lines for which the line number is present in the result.

    So my psudo code is as follows

    for each in result:
         assign result.linenumber to variable
         for each in InvoiceLines:
              compare the InvoiceLines.Line_number to variable:
                   if match print row.
    

    I know I won't have access to the LineNumber result with in second forloop because of the determination of the lexical scope.

    Far from assignment, I am unable to get the value of the number of the line itself.

    I tried two methods of application for with in what work force. The underside of work that uses the absolute path.

    What xpath Miss. Can I do better?

    FOR1: <?for-each:/DATA_DS/Line_Approver/getLineNumberAssigneesResponse/result?>
    
    FOR2: <?for-each:/DATA_DS/DATA_DS/HEADER/INVOICELINES?>
    

    LINE_NUMBER

    LINE_TYPE

    AMOUNT

    For 1 <? LineNumber? > 2 LINE_NUMBER

    LINE_TYPE

    AMOUNT ENDFOR1 ENDFOR2

    I think I gave enough information. Answer just in case I did not say anything clearly.

    You can do this via a simple foreach loop and the code would be

    Please see the data XML and RTF attached for your reference.

    I changed the data in XML format (I added 10 instead of 1) just to make sure that its works or not, and it works very well.

  • Format mask number in the XML editor reports

    Hi all

    I have a requirement in the format mask in xml publisher reports.

    I have a field in my report that the quantity,

    1 > if the value is 1234 I need to show as 1 234

    2 > if the value 1234.56 I need to show 1,234.56

    so I tried with properties of form with number format mask ' #, # 0.00' decimal so that's good, but for like number for 1234 also he 1,234.00 impression so I need 1 234, how I can do this, please help me.

    Thank you

    Thank you Deb to clarify. Yes just check the decimal (.) will work.

    I tried with my example of xml data, and it worked.

    Try this now...

  • How to limit the 3 files per page in the XML editor

    Hi all

    I have this definition of XML data that output XML in the following structure

    < dataStructure >

    < name of group = 'WIRE' source = 'Q2' >

    < element name = "DATE" value = "CHECK_DATE" / >

    < name of group = "Bills" source = "Q2" >

    < feature name = 'Bill' value = 'INVOICE_ID' / >

    < / Group >

    < element name = "Check_Number" value = "CHECK_NUMBER" / >

    < element name = "Recipient" value = "$vendor_name" / >

    < element name = "Payee_Bank_Account_Name" value = "BANK_ACCOUNT_NAME" / >

    < element name = "Payee_Account" value = "BANK_ACCOUNT_NUM" / >

    < element name = "Debit_Account" value = "DEBIT_ACCOUNT" / >

    < feature name = 'Amount' value = 'AMOUNT' / >

    < / Group >

    < / dataStructure >

    Can someone guide me on how to limit 3 records per page template RTF? I mean what is the code I should use in RTF?

    use the tag

    Declare the variable and get the number if count reaches 3, then use this tag

  • problem in creating the xml section group

    I created the Group xml section with a few sections defined in the field. Now my attributes are repeated with root different nodes.so I put braces for differentiation and created the context index.
    Drop index abc_indexes_idx;

    Start
    ctx_ddl.remove_section ('xyz_xml_group', 'abLName');
    ctx_ddl.remove_section ('xyz_xml_group', 'abFName');
    ctx_ddl.remove_section ('xyz_xml_group', 'cdLName');
    ctx_ddl.remove_section ('xyz_xml_group', 'cdFName');
    ctx_ddl.remove_section ('xyz_xml_group', 'efLName');
    ctx_ddl.remove_section ('xyz_xml_group', 'efFName');
    ctx_ddl.remove_section ('xyz_xml_group', 'ghLName');
    ctx_ddl.remove_section ('xyz_xml_group', 'ghFName');
    end;
    Start
    ctx_ddl.drop_section_group ('xyz_xml_group');
    end;
    Start
    ctx_ddl.drop_preference ('xyz_wildcard_pref1');
    end;
    Start
    ctx_ddl.drop_preference ('xyz_lexer_pref1');
    end;
    Start
    ctx_ddl.drop_preference ('STEM_FUZZY_PREF');
    end;
    Start
    ctx_ddl.create_section_group ('xyz_xml_group', 'XML_SECTION_GROUP');
    ctx_ddl.add_field_section ('xyz_xml_group', 'abLName','IncidentSubject(PersonGivenName');)
    ctx_ddl.add_field_section ('xyz_xml_group', 'abFName','IncidentSubject(PersonSurName');)
    ctx_ddl.add_field_section ('xyz_xml_group', 'cdLName','ActivityVictim(PersonGivenName');)
    ctx_ddl.add_field_section ('xyz_xml_group', 'cdFName','ActivityVictim(PersonSurName');)
    ctx_ddl.add_field_section ('xyz_xml_group', 'efLName','ActivityComplainantPerson(PersonGivenName');)
    ctx_ddl.add_field_section ('xyz_xml_group', 'efFName','ActivityComplainantPerson(PersonSurName');)
    ctx_ddl.add_field_section ('xyz_xml_group', 'ghLName','ActivityWitness(PersonGivenName');)
    ctx_ddl.add_field_section ('xyz_xml_group', 'ghFName','ActivityWitness(PersonSurName');)
    end;
    Start
    ctx_ddl.create_preference ('STEM_FUZZY_PREF', 'BASIC_WORDLIST');
    ctx_ddl.set_attribute ('STEM_FUZZY_PREF', 'SUBSTRING_INDEX', 'TRUE');
    end;
    Start
    ctx_ddl.set_attribute ('STEM_FUZZY_PREF', 'PREFIX_INDEX', 'YES');
    end;
    Start
    ctx_ddl.create_preference ('njdex_lexer_pref1', 'BASIC_LEXER');
    ctx_ddl.set_attribute('STEM_FUZZY_PREF','WILDCARD_MAXTERMS','15000');
    end;

    Drop index xyz_indexes_idx
    create index xyz_indexes_idx on xyz_INDEXES (abc column) indextype is ctxsys.context settings
    ("datastore ctxsys.direct_datastore wordlist STEM_FUZZY_PREF FILTER ctxsys.null_filter lexer xyz_lexer_pref1
    Sync (on commit) GROUP of SECTIONS xyz_xml_group MEMORY 500 M ");"

    My XML document is stored in a column of abc whichi and it is of type xmltype

    <? XML version = "1.0" encoding = "utf-8"? >
    < ab: IncidentReportGroup xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:j = "http://www.it.ojp.gov/jxdm/3.0.3" xmlns:ext = "http://xml.abc.com/jxdm/3.0.3/extension" xmlns:ab = "http://xml.abc.com/jxdm/3.0.3" >
    < ab: IncidentReport >

    < ext:IncidentSubject >
    < j: PersonName >
    < j: PersonGivenName > CBA < / j: PersonGivenName >
    < j: PersonMiddleName / >
    XYZ < j: PersonSurName > < / j: PersonSurName >
    < j: PersonSuffixName / >
    < j: PersonFullName > abc, xyz < / j: PersonFullName >
    < / j: PersonName >
    < / ext:IncidentSubject >
    < ext:ActivityComplainantPerson >
    < j: PersonName >
    < j: PersonGivenName > CBA < / j: PersonGivenName >
    < j: PersonMiddleName / >
    XYZ < j: PersonSurName > < / j: PersonSurName >
    < j: PersonSuffixName / >
    < j: PersonFullName > abc, xyz < / j: PersonFullName >
    < / j: PersonName >
    < / ext:ActivityComplainantPerson >
    < ext:ActivityWitness >
    < j: PersonName >
    < j: PersonGivenName > CBA < / j: PersonGivenName >
    < j: PersonMiddleName / >
    XYZ < j: PersonSurName > < / j: PersonSurName >
    < j: PersonSuffixName / >
    < j: PersonFullName > abc, xyz < / j: PersonFullName >
    < / j: PersonName >
    < / ext:ActivityWitness >

    < ext:ActivityVictim >
    < j: PersonName >
    < j: PersonGivenName > CBA < / j: PersonGivenName >
    < j: PersonMiddleName / >
    XYZ < j: PersonSurName > < / j: PersonSurName >
    < j: PersonSuffixName / >
    < j: PersonFullName > abc, xyz < / j: PersonFullName >
    < / j: PersonName >

    < / ext:ActivityVictim >
    < ext:ActivityWitness >
    < / ab: IncidentReport >
    < / ab: IncidentReportGroup >


    now when I try to run the query

    Select * from xyz_indexes where contains (xyzcolumn,'(LORI WITHIN abLName))
    (& ("BELAND" WITHIN abFName)') > 0


    He doesn't do anything.

    Can someone provide me with assistance in this regard.

    I think that what you probably need is xml_path_group and inpath, instead of xml_section_group and breast. Please see the demo below.

    SCOTT@orcl_11g> SET DEFINE OFF
    SCOTT@orcl_11g> begin
      2    ctx_ddl.drop_section_group('xyz_xml_group');
      3  end;
      4  /
    
    PL/SQL procedure successfully completed.
    
    SCOTT@orcl_11g> begin
      2    ctx_ddl.drop_preference('xyz_lexer_pref1');
      3  end;
      4  /
    
    PL/SQL procedure successfully completed.
    
    SCOTT@orcl_11g> begin
      2    ctx_ddl.drop_preference('STEM_FUZZY_PREF');
      3  end;
      4  /
    
    PL/SQL procedure successfully completed.
    
    SCOTT@orcl_11g> begin
      2    ctx_ddl.create_section_group('xyz_xml_group','PATH_SECTION_GROUP');
      3  end;
      4  /
    
    PL/SQL procedure successfully completed.
    
    SCOTT@orcl_11g> begin
      2    ctx_ddl.create_preference('STEM_FUZZY_PREF','BASIC_WORDLIST');
      3    ctx_ddl.set_attribute('STEM_FUZZY_PREF','SUBSTRING_INDEX','TRUE');
      4  end;
      5  /
    
    PL/SQL procedure successfully completed.
    
    SCOTT@orcl_11g> begin
      2    ctx_ddl.set_attribute('STEM_FUZZY_PREF','PREFIX_INDEX','YES');
      3  end;
      4  /
    
    PL/SQL procedure successfully completed.
    
    SCOTT@orcl_11g> begin
      2    ctx_ddl.create_preference('xyz_lexer_pref1','BASIC_LEXER');
      3    ctx_ddl.set_attribute('STEM_FUZZY_PREF','WILDCARD_MAXTERMS','15000');
      4  end;
      5  /
    
    PL/SQL procedure successfully completed.
    
    SCOTT@orcl_11g> drop index xyz_indexes_idx
      2  /
    
    Index dropped.
    
    SCOTT@orcl_11g> DROP TABLE xyz_indexes
      2  /
    
    Table dropped.
    
    SCOTT@orcl_11g> CREATE TABLE xyz_indexes
      2    (xyzcolumn  XMLTYPE)
      3  /
    
    Table created.
    
    SCOTT@orcl_11g> INSERT INTO xyz_indexes VALUES
      2  (XMLTYPE (
      3  '
      4  
      5    
      6        
      7          
      8            LORI
      9            
     10            "BELAND"
     11            
     12            abc, xyz 
     13          
     14        
     15        
     16          
     17            abc
     18            
     19            xyz
     20            
     21            abc, xyz 
     22          
     23        
     24        
     25          
     26            abc
     27            
     28            xyz
     29            
     30            abc, xyz 
     31          
     32        
     33        
     34          
     35            abc
     36            
     37            xyz
     38            
     39            abc, xyz 
     40          
     41        
     42    
     43  '
     44  ))
     45  /
    
    1 row created.
    
    SCOTT@orcl_11g> create index xyz_indexes_idx on xyz_INDEXES(xyzcolumn) indextype is ctxsys.context parameters
      2  ('datastore ctxsys.direct_datastore wordlist STEM_FUZZY_PREF FILTER ctxsys.null_filter lexer xyz_lexer_pref1
      3  sync(on commit)SECTION GROUP xyz_xml_group MEMORY 500M ')
      4  /
    
    Index created.
    
    SCOTT@orcl_11g> select * from xyz_indexes
      2  where  contains
      3             (xyzcolumn,
      4              'LORI INPATH (//ext:IncidentSubject/j:PersonName/j:PersonGivenName) &
      5            "BELAND" INPATH (//ext:IncidentSubject/j:PersonName/j:PersonSurName)') > 0
      6  /
    
    XYZCOLUMN
    --------------------------------------------------------------------------------
    
    
      
        
          
            LORI
            
            "BELAND"
            
            abc, xyz 
          
        
        
          
            abc
            
            xyz
            
            abc, xyz 
          
        
        
          
            abc
            
            xyz
            
            abc, xyz 
          
        
        
          
            abc
            
            xyz
            
            abc, xyz 
          
        
      
    
    
    SCOTT@orcl_11g> 
    
  • Repeat the header in the xml editor

    Dear Experts,

    I have a model where I need to repeat the header information of the next page, I tried with <? beginning: body? > <?: body end? > and in the property of the table, I check the Repeat property as a header and I tried <? for-each@section:Group_Name? >. but it does not work.

    His task.your emergency assistance is much appreciated.

    Could you please help me on this.

    Best regards

    Amar

    Hi Amar,

    It's almost over. Now, the first lines of the 3 table are repeated on several pages.

    Please find attached the output model and example.

    You need to spend some effort on the formatting of the table if necessary (probably rebuild the base tables that I see some formatting issues already exists on your model)

    But it's the approach that you can follow to meet the needs of your business.

    Thank you...

  • In the xml editor how to change table as below

    Hi all

    My requirement is how can I change the table from the OLD to the new

    OLD Table

    Topic Max marks Grades
    subj153
    subj152
    subj354

    NEW Table

    Topic Max marks Obtained trademarks
    subj1

    15

    9

    subj2
    subj3

    I thank in advance

    Hello

    Try the following, hope it will help you.

    XML file like this

    1

    Sub1

    10

    1

    Sub2

    20

    1

    Sub3

    30

    Model

    ID

    Name

    Brands of

    G V IF RS ID

    F NAME

    BRANDS E IF RS E

    Explanation of the tag

    G

    V

    IF

    ID

    RS

    F

    NAME

    BRANDS OF

    E

    IF

    RS

    E

    Output like this

    ID

    Name

    Brands of

    1

    Sub1

    60

    Sub2

    Sub3

    Please check the issue as resolved, if that answers your question. Thank you

    Post edited by: sfr.farhan.fani

  • How to get the break control file in the xml editor

    Hi all

    I use oracle Apps r12 and Bi publisher 10g.

    I followed these steps to burst Xml reports

    http://apps2fusion.com/apps/21-technical/251-xmlp-concurrent-program-revisited-with-bursting.

    I created the definition of data and now I need to reach the break control file.

    If the system will generate burst control file after the creation of data definition, or to create a control file.

    Thanks and greetings
    Srikkanth.M

    You must create a control file and upload it.
    You can also check this blog for detailed steps http://garethroberts.blogspot.com/2008/03/bi-publisher-ebs-bursting-101.html

  • Cannot print continue on all pages except the last page in the xml editor

    I designed a model that prints continues on all pages except the last page in my xml report. Currently, it works very well when the report has two continuous pages prints the first page and last page prints my footer which is exactly my requirement. But if the release of the report is more that continue to two pages, that prints the first page and last page prints my footer but in the pages of the Middle continue is not printed

    Can someone help me with this problem. Its urgent

    Thank you

    Neednt have you checked.
    If you have inserted a front section break , and then click the new section and remove "link to the previous.

    This will ensure that you will have the same header/foot in all but the last page.

    See the user guide
    http://download.Oracle.com/docs/CD/E10415_01/doc/bi.1013/e12187/T421739T481157.htm#4535357

Maybe you are looking for