XML output problem

Hi,
I'm having problems generating XML in managed bean.
If I put in a method within a managed bean something like:
public String getXML() {
return "<something>";
and then access the method getXML in a JSF page I get an output, where <> signs are replaced with > ....
How can I create an XML with a JSF, so I can use XSL transformations?

I have now a litte bit more complex task. For each value of FIELD2, there are 2 attributes in a separate table. Instead of displaying value of the FIELD2 in the XML, I'd rather need those 2 attributes. I am doing this:
with t as
select 'A' field1 , 1 field2 from dual
union
select 'A' field1 , 2 field2 from dual
union
select 'A' field1 , 3 field2 from dual
union
select 'B' field1 , 4 field2 from dual
a as
select 1 field2, 'a11' attr1, 'a12' attr2 from dual
union
select 2 field2, 'a21' attr1, 'a22' attr2 from dual
union
select 3 field2, 'a31' attr1, 'a32' attr2 from dual
select
xmlelement("TOP", xmlelement("FIELD1", field1),
                  xmlelement("DOWNS", XMLAGG(
                  xmlforest(a.attr1, a.attr2))
from t, a
where field1 = 'A'
and t.field2 = a.field2
group by field1which gives me the output:
<TOP>
     <FIELD1>A</FIELD1>
     <DOWNS>
          <ATTR1>a11</ATTR1>
          <ATTR2>a12</ATTR2>
          <ATTR1>a21</ATTR1>
          <ATTR2>a22</ATTR2>
          <ATTR1>a31</ATTR1>
          <ATTR2>a32</ATTR2>
     </DOWNS>
</TOP>This is very close to what I need, but how do I get this:
<TOP>
     <FIELD1>A</FIELD1>
     <DOWNS>
           <DOWN>
          <ATTR1>a11</ATTR1>
          <ATTR2>a12</ATTR2>
           </DOWN>
           <DOWN>
          <ATTR1>a21</ATTR1>
          <ATTR2>a22</ATTR2>
           </DOWN>
           <DOWN>
          <ATTR1>a31</ATTR1>
          <ATTR2>a32</ATTR2>
           <DOWN>
     </DOWNS>
</TOP>?
Thanks for any help.

Similar Messages

  • Xml output format in sql*plus problem

    Hi all,
    In stead of seeing xml output in multiple line format, my sql*plus always returns xml output in ONE line, is there a way to change the format, it's really hard to read.
    Thanks
    1 select xmlelement("row", xmlelement("user", xmlattributes(username as "name", default_tablespa
    2 from dba_users
    3* where rownum=1
    SQL>/
    XMLELEMENT("ROW",XMLELEMENT("USER",XMLATTRIBUTES(USERNAMEAS"NAME",DEFAULT_TABLES
    <row><user name="SYS" tbs="SYSTEM"></user></row>
    however I want to see something well formatted like
    <row>
    <user name="SYS" tbs="SYSTEM"></user>
    </row>

    Not sure if there are any settings with the SQL*PLUS but if you use packages other than the SQLX operators like DBMS_XMLQUERY, DBMS_XMLGEN, SYS_XMLGEN to generate xml then the output is as desired.
    select dbms_xmlgen.getxml('select username, default_tablespace from dba_users
    where rownum=1') from dual
    DBMS_XMLGEN.GETXML('SELECTUSERNAME,DEFAULT_TABLESPACEFROMDBA_USERSWHEREROWNUM=1'
    <?xml version="1.0"?>
    <ROWSET>
    <ROW>
    <USERNAME>REVIEW</USERNAME>
    <DEFAULT_TABLESPACE>METRICS</DEFAULT_TABLESPACE>
    </ROW>
    </ROWSET>
    But these packages does not offer the flexibility you have with SQLX operators.
    so if you requirement is simple generation you can use the above method.

  • Problems in create graphical report from Oracle FSG xml output using BIP

    We are trying to create graphical reports from Oracle Financial Statement Generator (FSG) xml output. I personally have extensive exposure working with XML (BI) Publisher but until recently I have never tried to use the BIP charting wizard to create graphical reports from FSG xml output out of EBS 11i/R12.
    I created an SR with Oracle but they had to create an enhancement request for this issue. Does anyone know or have any idea on how we can accomplish this. The charting wizard pops up but the xml tags available do not make any sense.
    If anybody has any idea please send me an email at [email protected]
    Thanks,
    Leo

    Try some thing like following
    http://oraclebizint.wordpress.com/2008/03/10/oracle-bi-ee-101332-sending-reports-to-non-obi-users-delivery-manager-api-of-bi-publisher/

  • How to get XML output from a stored procedure

    I have a very simple question:
    I would like to write a stored procedure (SP) that will return results in XML format (as a string). My tables in database are not of XML TYPE. But I need XML output.
    ie, SP will run like a typical SP but the only difference will be its output in XML.
    1) is it possible?
    2) if possible, how?
    Please, help
    Omer Koksal

    Thank you Peter, it was a great problem for me !
    Omer Koksal

  • Easiest and/or best methods for generating XML output (not with a report)

    Hi, several of our EBS customers (11.5.10) are converting their PDF reports to use XML/BI publisher to produce output. The data stream comes from a report that generates the XML output, and then the XML template is applied. This works great ... no problems, etc. From what I have read, however, Oracle intends to treat the traditional Forms and Reports Developers as legacy tools (although still supporting them, of course).
    My question is if I wanted to ditch using Reports to generate XML output, what, in your opinion or in your current usage, is the easiest way of getting this data? In Reports, the data modeler is excellent in providing a method to write your queries, split them into different repeating groups, write formula and summary columns, link multiple queries, etc, etc. If one were to become Reports Developer free, what comparable tools are available to take its place? I would expect this tool to handle a mix of GUI and coding like the Reports data modeler. Please note that I'm not looking for an EBS-specific solution -- say for a custom application using regular Oracle 10g DB and iAS, with BI Publisher for reporting.
    Thanks for your feedback,
    Ryan

    What I'm looking for is to not use Oracle Reports to generate the XML data output since Oracle's statement of direction is pushing BI Publisher rather than Oracle Reports as the preferred tool for reporting. That said, the data modeler in Reports provides a very flexible tool to construct and link multiple queries and to manipulate the queries into several levels of a master/detail relationship. Further, the mix of GUI and coding makes setting up the data model a lot more efficient. What I'm looking for (and I don't know if anything exists) is something comparable that can be used to generate XML output from the DB -- the idea being that I wouldn't use legacy tools, like Reports, for this task. I hope that is clearer.
    Really, another way of answering my question is, aside from Reports and the APIs mentioned so far, what are my fellow developers using, if anything, to extract XML data in a way that handles the features i list above?

  • How to create a errortag in the XML-Output ?

    Hey
    who can help me creating a error-tag in my XML-output of a PL/SQL procedure ?
    Enviroment:
    Oracle DB is 8.1.7 with installed XDK-package (in a few
    weeks perhaps Oracle 9i). I've no problems to use the dbms_xmlquery-functions and -procedures.
    I've to develop a PL/SQL procedure which is called via JDBC from a JAVA program. The procedure execute a Select-Statement. The result is transformed in XML and stored in a CLOB, which is given back to the calling JAVA-program.
    There exist 2 possible result-situations.
    -1- one or more rows are found
    -2- no row is found
    Problem:
    For each of these situation the XML-Output should have a different structure and my main problem is to integrate the errortag !!!
    for -1-
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <data>
    <error err_code="NoError"/>
    <record num="1">
    </record>
    <record num="2">
    </record>
    </data>
    for -2-
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <data>
    <error err_code="NoDataFound"/>
    </data>
    Hope somebody can help me ???
    Andre

    Hey Rajat,
    thanks for your answer, but the errortag is needed by another department. They use it for their processing.
    Have you got any idea, how to integrate the errortag with the functions or procedures of the dbms_xmlquery package ??? I've got only a few days experience with the dbms_xmlquery-package, so some code examples or advices would be great !!!
    I've tried the following coding:
    out_xmlresult OUT CLOB; -- OUT Parameter of the PLSQL-Proc
    c1 CLOB;
    queryctx dbms_xmlquery.ctxtype;
    -- create XML-context
    queryctx:=dbms_xmlquery.newcontext(<selectstatement>);
    -- delete the rowsettag (use 'data' later on)
    dbms_xmlquery.setrowsettag(queryctx,'');
    -- create new tag 'data' which enclose an empty header
    -- and the data section
    dbms_lob.createTemporary(c1, TRUE );
    c1:=EMPTY_CLOB();
    dbms_xmlquery.setDataHeader(queryctx,c1,'data');
    -- rename rowtag
    dbms_xmlquery.setrowtag(queryctx,'record');
    -- set encoding tag
    dbms_xmlquery.setEncodingTag(queryctx,'ISO-8859-1);
    -- create XML-Output
    out_xmlresult := dbms_xmlquery.getxml(queryctx);
    ...but I haven't got any success !!!
    Andre

  • Report XML output fail to load into .RTF layout [EBS r12]

    Hi,
    In EBS r12, we have requirement to have a standard report output in excel.
    I got the report's xml output to create the xml template (.RTF layout) using BI Publisher.
    I created the .RTF layout and it works fine on my laptop using Bi Publisher.. the xml loads into it and i can preview xml data on layout with all format (Excel, PDF...)
    I uploaded the layout to EBS, and assigned it to the standard report.
    I changed standard report out put to XML
    When i go to submit report request, the template is assigned with report and everything seems correct.
    [See screen shot: http://img35.imageshack.us/i/xmlt.jpg/]
    But after i run the report.
    The report is Completed with Warning status.. and output is only XML with Error message :
    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    The Log file says :
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 2350601 on node CLONE at 13-APR-2011 09:03:47.
    Post-processing of request 2350601 failed at 13-APR-2011 09:03:48 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    ------------- 2) PRINT   -------------
    Not printing the output of this request because post-processing failed.
    Finished executing request completion options.
    Why this is happening ? i have done this many times with other standard reports and it worked fine.
    Please advise.
    Standard Report: Supplier Aging Report
    EBS : 12.1.1

    please check the log file and post the output here
    How to find OPP log file?
    To investigate on XML issues or other publishing problems, often the OPP logfile is needed.
    OPP stands for Output Post Processor. Below are the steps to find log file
    1. Login to the application as SYSADMIN
    2. Responsibility: System Administrator
    3. Function: Concurrent --> Manager --> Administration
    4. Select the Output Post Processor
    5. Click on the Processes button
    6. Select the Concurrent Process which was active during the time that the request ran
    7. Click on the Manager Log button to open the Output Post Processor log file

  • How to generate PDF from XML output without XML publisher

    Hi,
    I am facing a problem while splitting the rdf generated XML output.
    Problem Description:
    I have a oracle invoice report which runs once every day (scheduled program). This report fetches me the invoices generated on that day and needs to be Mailed / Faxed to the customers.
    So i developed the report in such a way that it generates the output order by customers...since the output generated will be as one .out file in APPLCSF/out directory...the .out file needs to be splitted by customers, for which i have written a cursor which takes the data of the main query and submits that many requests as many as customers are there.....There is a possibility of having 1000 customers per day also. If that is the case then my main program will fire that many requests.
    Is there a different approach......any inputs are highly appreciated.
    Also, i am generating the output in XML format. Is there a way from which i can directly generate a PDF from that XML output rather using any other tool.
    Thanks & Regards,
    Lakshmi Kalyan Vara Prasad.

    Hi,
    with Reports Bursting and the defined "distributions" it's possible to have one report splittet to several parts with different receipients. Have a look at http://download-uk.oracle.com/docs/cd/B14504_01/dl/bi/B13673_01/pbr_dist.htm.
    With xsl-fo it's possible to create pdf out of xml ... that's what xml publisher is doing.
    Regards
    Rainer

  • In XML Output the values of Number column tags are not displayed properly

    Hi,
    Our Client have been using AR Invoice Print Program for a long time and it is heavily customized. Also they are using an old version of the RDF. So we have taken the latest version of the RDF (RAXINV.rdf) for Oracle Apps 11.5.10.2 by raising a SR and implement Client's old RAXINV.rdf into it.
    All was ok, but when we are running the program, the XML Output did not generate properly. For the Q_INVOICE query (G_ORDER_BY, G_INVOICE and G_INV_TERM group), the value of some of the scaler number columns are not appeared properly. The tags are coming correctly, but the value is appearing as '*', instead of the correct value. We have checked in the RDF Level (By putting srw.message and check in the log file) that those columns are having proper value. So there is no issue with the RDF.
    But because of the above mentioned problem, the some of the PDF output field values also is not generated correctly.
    I think that because of the lexical parameters which was implementing the Q_INVOICE query (&COMMON_QUERY) this issue is coming. Because the issue is only in the Q_INVOICE query group (G_ORDER_BY, G_INVOICE and in G_INV_TERM group) not in any other query group.
    There is no problem with the scaler character columns. The issue is only with the number columns.
    Also we have checked that if we hardcode the value of the number columns in the above mentioned lexical parameter, this problem doesn't appear.
    If we put TO_CHAR function to those number columns in the lexical parameter (COMMON_QUERY), then this issue get solved. But we can't do it because of performance issue and also Client won't approve it.
    Please help.
    With Thanks and Regards

    I don't know how to read the code you pasted or I would have checked this myself.
    Do your fields in the internal table reference dictionary objects or elementary types? If not using dictionary types, the column names will be blank by default. If you can't change your fields to be dictionary types, you can try this to change the column names:
    I made a method inside my local class to add the names:
            call method set_colname
              EXPORTING iv_tab = alv_tab
                        iv_colid = 'xxxx'  "fieldname from the table
                        iv_stxt = text-t54
                        iv_mtxt = text-t55
                        iv_ltxt = text-t55.
    METHOD set_colname .
      data:
              alv_cols type REF TO cl_salv_columns_table,
              alv_col type REF TO cl_salv_column.
      TRY .
    *... Change fieldnames
            call METHOD iv_tab->get_columns RECEIVING value = alv_cols.
            call method alv_cols->get_column EXPORTING columnname = iv_colid RECEIVING value = alv_col.
            IF iv_stxt <> ''.
              CALL METHOD alv_col->set_short_text EXPORTING value = iv_stxt.
            ENDIF.
            IF iv_mtxt <> ''.
              CALL METHOD alv_col->set_medium_text EXPORTING value = iv_mtxt.
            ENDIF.
            IF iv_ltxt <> ''.
              CALL METHOD alv_col->set_long_text EXPORTING value = iv_ltxt.
            ENDIF.
       CATCH cx_salv_not_found.
      ENDTRY.
    ENDMETHOD. "set_colname

  • XML Output from Concurrent Request DBMS_XMLGEN

    I am trying to create xml output for a concurrent request, using the DBMS_XMLGEN package to generate my XML?
    I have gotten so far as to be able to run my procedure and see the output in TOAD using dbms_output.put_line, but I can't seem to quite get the right link to convert this to Oracle Apps output.
    I have a concurrent request setup to output XML.
    This calls my procedure to return to the output file.
    So far, when I run from APPS, all that shows in the Output file is 'XML document must have a top level element.'
    Here is the relevant code...
    ctx DBMS_XMLGEN.ctxHandle; -- vars to convert SQL output to xml
    xml clob;
    xmlc varchar2(4000);
    off integer := 1;
    len integer := 4000;
    i number := 0;
    rc_data sys_refcursor;
    begin
    -- this calls simple open cursor for sql statement, returns rows
    rc_data := fa10022_data(P_BOOK_TYPE_CODE
    , P_STATE
    , v_BEG_DATE_EFFECTIVE
    , v_END_DATE_EFFECTIVE
    , P_BEG_ASSET_ACCT
    , P_END_ASSET_ACCT
    , v_depr_per_ctr);
    ctx := dbms_xmlgen.newContext(rc_data);
    dbms_xmlgen.setRowsetTag(ctx, 'XXFA10022');
    dbms_xmlgen.setRowTag(ctx, 'G_DATA');
    xml := dbms_xmlgen.getXml(Ctx);
    i := dbms_xmlgen.getNumRowsProcessed(ctx);
    dbms_xmlgen.closeContext(Ctx);
    apps.fnd_file.put_line(apps.fnd_file.output, xml);
    I was also following this link...
    http://www.appsassociates.com/products/Generation_XML_PLSQL.pdf
    any suggestions?
    Thanks!!
    Janel

    That was painful, but it helped!
    Most of it is workflow code...POXMLGEN contains the pertinent coding.
    I think my problem now lies with some of my data. Depending on what is returned, I sometimes receive a warning with no output. I know there are special characters in the data (ex eacute), but I can't tell if that is what is causing the issue. I do have the statement dbms_xmlgen.setConvertSpecialChars(ctx, TRUE); in my code, so not sure what else to do.
    This is what is being returned in OPP log...
    Caused by: oracle.xdo.parser.v2.XMLParseException: Start of root element expected.

  • Controlling XML output Livecycle Designer 8.0

    Hello.
    I am new to XML and somewhat new to LiveCycle Designer, however I have acclimated rather well.
    Here is what I want to do:
    1) Create a PDF fill-in-form (including various fields...text, numeric, radio buttons, and some FormCalc functions)
    2) Create a Submit button that emails an XML file to the form administrator
    3) Use MS Excel to import XML files into pre-mapped fields
    Basically, I do not have server database support, and this is the best workaround (and most functional) I could come up with.
    After mapping fields in Excel, I exported the *.xsd and created a new data connection within LiveCycle. Then, I linked the schema fields with the bindings - corrected any errors, and have tested the form (form1). I made the submit button - that's all good, too. When I import the XML into Excel - that's where I have a problem, and it's not an issue with Excel to my knowledge, but rather how the form generates the XML output.
    For example, I have 25 fields that will be outputted via XML. My PDF form consists of 4 pages (8.5" x 11"). When I created the form and got to the end of the page, I "inserted new page" and went on my merry way. When I import the XML, Excel properly maps the fields, however, it does not import the info to a single row. What I have discovered is that since my PDF form consists of 4 pages (each bound to "sheet[*]"), the XML output looks like the following:
    Example of the XML output from my form:
    <form1>
    <sheet>
    <submissionID xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    >743</submissionID>
    <reviewerID xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    >234</reviewerID>
    <date xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    >24/01/2008</date>
    </sheet>
    <sheet>
    <tag1>input</tag1>
    <tag2>input</tag2>
    </sheet>
    </form1>
    Wherever there is a "<form>" tag (hence a new page in my PDF document), Excel puts that data on a new column. All fields within form1 are imported and mapped to the correct field, however importing a single XML file will occur on 4 rows.
    I bound each "page" as "sheet[*]" mostly because that is the only way I knew how to use FormCalc to do calculations from fields that occur at different places throughout the document.
    So, I have tried to be as clear as possible, and would like suggestions/help as how to control the XML output from a LiveCycle document. If I am to modify the outputted XML and remove the multiple instances of <sheet> and </sheet> then Excel imports the data just fine and on a single row.
    I would love some help on this rather specific problem. I guess it's a very basic issue that someone with experience could help.
    Thank you so much!!
    Jim

    I have a vital form that clients fill out, which is passed to many people in the company along the workflow. The form is a Planner and we have in the following PDF, Word Doc..
    Well before, the Planner.pdf was originally created in Word, since most people have access to Word.. but evolved to a PDF form created from the Word Doc via Adobe LiveCycle Designer 8.0 w/ User Rights enabled so that the form could be filled out and saved using Adobe Reader.. which was a step better than Word.. being that it is free. But this needed to be easier and more to the point b/c some clients don't particularly like installing the latest version of Reader, even if you provide them the link. Nor do they like saving the form, filling the form, and attaching the form to send back.
    My goal is to have the client fill an HTML version of the form, submit and be done with it, but everyone in the workflow be able to easily receive the filled Planner as a PDF form.
    So some months ago I ran into this post Chris Trip, "Populate Livecycle PDF from mySQL database using PHP" #8, 22 Sep 2007 4:37 pm
    which uses the command line Win32 pdftk.exe to merge an FDF file into an existing PDF on the remote server, and serve this to whoever.
    My problem was with shared hosting and having the ability to use the Win32 pdftk.exe along with PHP which is predominantly used on Linux boxes. And we used a Linux box.
    so i created the following unorthodox method, which a client fills the HTML version of the Planner, all field values are INSERTED into a table in MySQL DB, I and all filled planners that have been filled by clients to date can be viewed from a repository page where an XML file is served up of the corresponding client, but someone would have to have Acrobat Professional, to import the form data from the XML file into a blank form.. altoughh this is simple for me.. I have the PHP file already created so that when a Planner is filled and client submits. >> the an email is sent to me with a table row from the repository of the client name, #, email, and a link to d-load the XML file,
    But I also have the PHP files created so that the Planner can be sent to by email to various people in the workflow with certain fileds ommitted they they do not need to see, but instead of the XML file beiong served up i need the filled PDF Planner to be served.
    I can do this locally with ease on a testing server, but I am currently trying to use another host that uses cross-platform compatibility so i can use PHP and the pdftk.exe to achieve this, as that is why I am having to serve up an XML file b/c we use a Linux server for our website, and cant execute the exe.
    Now that I am testing the other server (cross-platform host), just to use them to do the PDF handling (and it's only $5 per month) I am having problems with getting READ, WRITE, EXECUTE permissions..
    Si guess a good question to ask is can PHP do the same procedure as the pdftk.exe, and i can eleminate it.
    or how in the heck can i get this data from the DB into a blank PDF form, like i have described??
    here are some link to reference
    Populating a LiveCycle PDF with PHP and MySQL
    http://www.andrewheiss.com/Tutorials?page=LiveCycle_PDFs_and_MySQL
    HTML form that passed data into a PDF
    http://www.mactech.com/articles/mactech/Vol.20/20.11/FillOnlinePDFFormsUsingHTML/index.htm l
    and an example
    http://accesspdf.com/html_pdf_form/

  • XML output in Apps instead of PDF

    Hi All,
    I have converted several Oracle reports to XML Publisher and working fine in EBS. The problem I have is that I am getting the XML instead of a PDF output when running a report under Release Sales Orders form(Pick Slip). I am able to preview the PDF output in the XML Admin page using similar XML file.
    I have the concurrent program definition changed to XML from text and XMLP template/data definition configured. Any idea on the issue?
    Best regards,
    MM

    Hi MM,
    Are you still in 11i? Check if the report(Pick Slip) is being submitted thru document set (OM(R)> Setup> Shipping> Documents> Document Sets)… if yes, then you probably need to apply a patch... or have you tried Gareth's solution explicitly calling from report AfterReport trigger?
    Metalink note:
    NEW FUNCTIONALITY: Ability to Execute Document Sets in XML Output Format - Patch 5688014
    Doc ID: 413108.1
    regards,...

  • XML Output with nesting of group

    Hi,
    Not sure if this is even possible to resolve but I figured I might as well ask.
    I have a report which is built using a Reference Cursor which outputs to XML. The data is coming back exactly as expected so I am happy that the cursor is working.
    I am now moving into trying to make the report a bit more advanced.
    My aim is to get the XML output looking like:
    <?xml version="1.0" encoding="WINDOWS-1252"?>
    <!-- Generated by Oracle Reports version 9.0.2.0.3 -->
    <TEST1>
    <STANDARD1>
    <IDENTIFIER>000005385/7743198743</IDENTIFIER>
    <RUNDATE>21-AUG-09</RUNDATE>
    <TABLE1>
    <TABLE1_FIELD1>000708</TABLE1_FIELD1>
    <TABLE1_FIELD2>ABCDEF</TABLE1_FIELD2>
    <TABLE1_FIELD3>123456</TABLE1_FIELD3>
    </TABLE1>
    <TABLE2>
    <TABLE2_FIELD1>Happy</TABLE2_FIELD1>
    <TABLE2_FIELD2>Days</TABLE2_FIELD2>
    <TABLE2_FIELD3>Are Here</TABLE2_FIELD3>
    </TABLE2>
    </STANDARD1>
    </TEST1>
    At the moment the best that I can seem to do is the following using Break Groups.
    <?xml version="1.0" encoding="WINDOWS-1252"?>
    <!-- Generated by Oracle Reports version 9.0.2.0.3 -->
    <TEST>
    <STANDARD1>
    <IDENTIFIER>000005385/7743198743</IDENTIFIER>
    <RUNDATE>21-AUG-09</RUNDATE>
    <TABLE1>
    <TABLE1_FIELD1>000708</TABLE1_FIELD1>
    <TABLE1_FIELD2>ABCDEF</TABLE1_FIELD2>
    <TABLE1_FIELD3>123456</TABLE1_FIELD3>
    <TABLE2>
    <TABLE2_FIELD1>Happy</TABLE2_FIELD1>
    <TABLE2_FIELD2>Days</TABLE2_FIELD2>
    <TABLE2_FIELD3>Are Here</TABLE2_FIELD3>
    </TABLE2>
    </TABLE1>
    </STANDARD1>
    </TEST>
    So the Table2 tags are a child of the Table1 grouping. In reality the table2 information should be at the same level as table1.
    Is there anyway in Oracle Reports where you can create the equivilant of a break group but allow multiple groups to have the same level?
    My aim is to allow multiple groups (at least 8) that are a subset of the STANDARD1 tag, but are all at the same level.
    Any ideas?
    Thanks in advance,
    Leanne

    I am facing same problem when i generate the xml from oracle reports. did you get any solution from this problem.
    Thanks in advance,

  • Characterset definition in XML output

    Hello,
    my issue is the following.
    I have R12 instance with UTF8 database.
    I have defined a data template which looks something like this:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    - <dataTemplate name="BEGIN" description="Purchase_Orders_Printouts" version="1.0">
    - <parameters>
    <parameter name="PONumber" dataType="character" />
    </parameters>
    - <dataQuery>
    <sqlStatement name="Q1">SELECT poh.creation_date AS po_ord_date, poh.segment1 AS po_nbr, poh.created_by, ppf.full_name AS created_by, povc.first_name || ' ' || povc.last_name AS po_contact, 'VMI-tilaus' AS po_rmks, vnd.segment1 AS po_vend, vnd.vendor_name AS v_ad_name, vnds.address_line1 AS v_ad_line1, vnds.address_line2 AS v_ad_line2, vnds.address_line3 AS v_ad_line3, vnds.state || '-' || vnds.zip || ' ' || vnds.city AS v_ad_line4, fndt1.territory_short_name AS v_ad_country, vnd.segment1 AS po_bill, vnd.vendor_name AS i_ad_name, loc.address_line_1 AS i_ad_line1, loc.address_line_2 AS i_ad_line2, loc.address_line_3 AS i_ad_line3, loc.postal_code || ' ' || loc.town_or_city AS i_ad_line4, fndt.territory_short_name AS i_ad_country, vnd.segment1 AS po_ship, vnd.vendor_name AS d_ad_name, loc.address_line_1 AS D_ad_line1, loc.address_line_2 AS D_ad_line2, loc.address_line_3 AS D_ad_line3, loc.postal_code || ' ' || loc.town_or_city AS D_ad_line4, fndt.territory_short_name AS D_ad_country, FNDT.territory_short_name AS orig_country, --FNDT.territory_short_name AS d_ad_country, POH.ship_via_lookup_code AS po_shipvia, FNDL.meaning AS po_fob, TRMS.name AS ct_desc FROM po_headers_all poh, per_all_people_f ppf, fnd_user fnd, po_vendor_contacts povc, po_vendors vnd, po_vendor_sites_all vnds, hr_locations_all loc, fnd_territories_tl fndt, fnd_territories_tl fndt1, FND_LOOKUPS FNDL, AP_TERMS TRMS WHERE ppf.person_id = fnd.employee_id AND fnd.user_id = poh.created_by AND poh.vendor_site_id = povc.vendor_site_id AND poh.vendor_id = vnd.vendor_id AND poh.vendor_site_id = vnds.vendor_site_id AND loc.location_id = poh.bill_to_location_id AND fndt.territory_code = loc.country AND fndt1.territory_code = vnds.country AND FNDL.lookup_code(+) = POH.fob_lookup_code AND TRMS.term_id = POH.terms_id AND poh.segment1 = :PONumber</sqlStatement>
    </dataQuery>
    - <dataStructure>
    - <group name="PURCHASE_HEADER" source="Q1">
    <element name="sls_language" value="sls_language" />
    <element name="paper_size" value="paper_size" />
    <element name="australian" value="australian" />
    <element name="tcp_ip" value="tcp_ip" />
    <element name="fax_nbr" value="fax_nbr" />
    <element name="fax_dir" value="fax_dir" />
    <element name="email_from" value="email_from" />
    <element name="email" value="email" />
    <element name="arc_dir" value="arc_dir" />
    <element name="arc_file" value="arc_file" />
    <element name="arc_file_type" value="arc_file_type" />
    <element name="data_output" value="data_output" />
    <element name="deljit" value="deljit" />
    <element name="entity" value="entity" />
    <element name="po_buyer" value="po_buyer" />
    <element name="forwarding_agent" value="forwarding_agent" />
    <element name="po_vend" value="po_vend" />
    <element name="v_ad_name" value="v_ad_name" />
    <element name="v_ad_line1" value="v_ad_line1" />
    <element name="v_ad_line2" value="v_ad_line2" />
    <element name="v_ad_line3" value="v_ad_line3" />
    <element name="v_ad_line4" value="v_ad_line4" />
    <element name="v_ad_country" value="v_ad_country" />
    <element name="po_ship" value="po_ship" />
    <element name="d_ad_name" value="d_ad_name" />
    <element name="d_ad_line1" value="d_ad_line1" />
    <element name="d_ad_line2" value="d_ad_line2" />
    <element name="d_ad_line3" value="d_ad_line3" />
    <element name="d_ad_line4" value="d_ad_line4" />
    <element name="d_ad_country" value="d_ad_country" />
    <element name="po_ord_date" value="po_ord_date" />
    <element name="po_nbr" value="po_nbr" />
    <element name="po_contact" value="po_contact" />
    <element name="po_rmks" value="po_rmks" />
    <element name="po_bill" value="po_bill" />
    <element name="i_ad_name" value="i_ad_name" />
    <element name="i_ad_line1" value="i_ad_line1" />
    <element name="i_ad_line2" value="i_ad_line2" />
    <element name="i_ad_line3" value="i_ad_line3" />
    <element name="i_ad_line4" value="i_ad_line3" />
    <element name="i_ad_country" value="i_ad_country" />
    <element name="orig_country" value="orig_country" />
    <element name="d_ad_country" value="d_ad_country" />
    <element name="po_shipvia" value="po_shipvia" />
    <element name="po_fob" value="po_fob" />
    <element name="ct_desc" value="ct_desc" />
    <element name="po_curr" value="po_curr" />
    </group>
    </dataStructure>
    </dataTemplate>
    Now the problem is, that the concurrent request generates XML with UTF-8 specified. And as soon as there are language specific characters the XML fails to parse.
    Is there any way how to force XML publisher to put ISO-8859-1 in the xml specification?
    Thanks,
    Martins

    Hi,
    My Source BLS output is an XML file. In the ValueMap.vmap (in the Meta-Inf when defining the rule) when I click on "Browse Document" it doesn't give me the option to select the source bls's xml output. Please see the sceenshot below. Is there way to sepecify the BLS XMl output here?
    Thanks,
    Latha.

  • Table name in XML output

    Hello Experts,
    My XML output from XI looks like:
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_UPDATE_STATUS xmlns:ns0="http://test.test.ca">
    - <STATEMENTNAME>
    - <dbTableName action="UPDATE">
      <TABLE>stfx.job_copy</TABLE>
    - <access>
      <status1>DONE</status1>
      <status2>DONE</status2>
      </access>
    - <key>
      <jobId>00595593</jobId>
      <status1>NEW</status1>
      <messagenm>d3e98e294bfcd2d5d3e98e29</messagenm>
      </key>
      </dbTableName>
      </STATEMENTNAME>
      </ns0:MT_UPDATE_STATUS>
    However, I need to change the table name being output from stfx.job_copy to stfx.job_history .  How do I do this??? Where is it configured?
    Thanks
    null

    Hi Ahmad,
    That worked - although I see what you mean.  It shouldn't be left like this.
    Back to the original problem.  I currently have XML being generated as follows:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_UPDATE_STATUS xmlns:ns0="http://test.test.ca">
    - <STATEMENTNAME>
    - <dbTableName action="UPDATE">
    <TABLE>stfx.job_copy</TABLE>
    - <access>
    <status1>DONE</status1>
    <status2>DONE</status2>
    </access>
    - <key>
    <jobId>00595593</jobId>
    <status1>NEW</status1>
    <messagenm>d3e98e294bfcd2d5d3e98e29</messagenm>
    </key>
    </dbTableName>
    </STATEMENTNAME>
    </ns0:MT_UPDATE_STATUS>
    I need to change stfx.job_copy to stfx.job_history.  Now that I am able to edit the IR, I still don't see where stfx.job_copy is hard-coded.  I know it is in message mapping, but when I click on TABLE, I do not see anywhere to change stfx.job_copy.  Any ideas?
    Thanks

Maybe you are looking for

  • View video on external HD Monitor in PP 5.0.3

    Hi, I'm new to Premiere CS5 and I've been searching for a couple of hours and can't figure out how to playback HD video to an external HD monitor within Premiere Pro 5.0.3 and my Blackmagic Design card.  I can see and choose all the Blackmagic preset

  • Purchase order statistical delivery date modification

    In a purchase order there are statistical delivery dates.  Where (and how) can I go to modify how this date is calculated?  I would like to change it based on the due date minus a certain amount of days. All help is appreciated.

  • How to align a paragraph left and rigth at the same time ?

    Hi , I am now having a problem in aligning the code( left ) and its codebar (right)  in a line and in the same window ? Window1 Code          Codebar (aligned in right) Is there any way to do that ? Please help me Thanks ,

  • Getting a blue screened msg stating there was a crash dump, what does this mean?

    the computer keeps restarting after a blue screened msg pops up that there was a crash dump, any suggestions of what is wrong?

  • Virtual Desktops on 2012R2

    Hi, I have a challenge to prepare virtual infrastructure on Windows 2012R2, i need to deploy 4 virtual instances free on server which will be connected to thin clients. Please advice on the same, also let me know what all i have to buy and what is fr