Report xml GROSS output

Hello

is it possible for the output of a page, when you access, as raw html?

I've created a report using the printer friendly model and a query using dbms_xmlgen.getxml like this
select dbms_xmlgen.getxml('select code, descr from items') xml    from dual;
This property returns the xml output, but the source of the page also contains some other stuff.

I used to use it in an iphone app, so I want the page output to be only the XML in the request.

Hello

What about using the 'XML' model related to the simple SQL query - say: without DBMS_XMLGEN - APEX
model report "XML" will be responsible for formatting XML - you don't need DBMS_XMLGEN more...

Does that help?

Concerning

Carsten-

Tags: Database

Similar Questions

  • Report XML lack style sheet location

    Hi all

    I have a question about the XML report generated by TestStand. I use a heavy custom style based off NOR example style sheet horizontal.xsl. Report generation works fine on my system of development however when the sequence is deployed on machine runtime the report XML header is missing the stylesheet location. That is to say:

    Rather than:

    If anyone has an idea of what might be causing this problem I would be very grateful for any advice.

    Much thanks

    D.Barr

    Thanks for the reply.

    I found the problem. I determine the location of the style sheet by using a registry key. The registry key listed double slashes which resulted in the style sheet is not found. For example. C:\\Test\\T6MK6_PAS_Test_Sheet.xsl. With a single slash, the program worked as except.

    Thanks again

    D.Barr

  • Report XML output problem

    Hello
    I am trying to execute the XML (work order print report eAM) report this report had parameters (name work order / on behalf of the work order) that allow me to run more State control work.
    but when I chose for example parameters
    Parameters: Name (UF1) work order / / / name of the order (UF5) work
    It must be good work 5 printing

    but problem is work order 1 print output only when I use the XML model alone, even if it must print 5 work as input parameters but the models show that 1 out of work order ...

    If I remove the template and change the output format of text report output run successfully.

    Thank you

    Thanks Farhan. problem solved by added repeating group.

  • Oracle reports XML-> model RTF in XML Publisher output

    Hello

    Is it possible to run the output of a report from Oracle (formerly, made with the report writer) reports through the postprocessor output for get templated RTF PDF?

    The report is already out well-formed XML and I can use the Plugin of Word XML Publisher to turn it into a PDF file. However, I want to 'Set', 'concurrent demand' such as the XML is automatically transformed into a PDF file.

    I guess it would be an another "executable" as XDODTEXE who do that?

    -Johan

    Hi Johan

    Check out the following

    http://www.Oracle.com/technology/products/XML-Publisher/docs/XMLEBSRep.PDF

    Departure from the last demo (white image) here

    http://www.Oracle.com/technology/products/XML-Publisher/demoshelf/shelf.html

    Tim

  • Report XML data

    Hi all

    Is possible to create a report output XML?

    I have a function that returns the XML code and need to create a report about him, I wrote a function that shreds XML and creates a collection that I use to create an interactive report, but I can't do the header of the report in this way.

    There are also other cases where the report has several sections and I need to post this, as several reports in APEX or a single report with several sections.

    Meet someone something like that before?

    Hello

    Here is an example of out-of-the-box... Note that you must omit the Clause WITH-provide the XML code as
    a literal - but the last part would be to start with a model...

    with xml as (
      select
    xmltype('
     Alerts
    
    2010-04-20/11:10:20
    2010-04-27/11:10:20
    
    
    1
    o1g
    2010-04-27/08:00:25
    OPEN
    DEVDB
    
    
    
    1fkh93md0802n
    select /*+ RULE */ * from customers where cust_id+0 between 100734 and 100736
    
    2010-04-27/09:43:38
    2008213504
     
     
    RBO: Rule hint in statement 
    
    
    
    d69gjv9g8bxk9
    select upper(substr(CUST_MARITAL_STATUS,1,3)), CUST_GENDER, count(*) from customers
    group by upper(substr(CUST_MARITAL_STATUS,1 || ,3)), CUST_GENDER 
    
    2010-04-27/09:05:26
    1577413243
     ,6
     ,6
     No specific reason
    
    
    
    ') doc from dual
    )
    select
      h.parm_startdate,
      h.parm_enddate,
      h.inst_name,
      r.row_sqlid,
      r.row_plan_hash
    from
      xml,
      xmltable(
        'for $i in /XML return $i'
        passing xml.doc
        columns
         parm_startdate varchar2(15) path '/XML/PARAMETERS/START_DATE/text()',
         parm_enddate varchar2(15) path '/XML/PARAMETERS/START_DATE/text()',
         inst_name varchar2(10) path '/XML/INSTANCE/NAME/text()'
       ) h,
      xmltable(
        'for $i in //ROW return $i'
        passing xml.doc
        columns
          row_sqlid varchar2(30) path '/ROW/SQL_ID/text()',
          row_plan_hash varchar2(30) path '/ROW/PLAN_HASH/text()'
       ) r
    /
    

    This help...?

    Concerning

    Carsten-

    Deutschsprachige APEX-community: tips, tricks, best practices
    http://tinyurl.com/apexcommunity

    SQL and PL/SQL: Tipps, tricks & recommended
    http://SQL-PLSQL-de.blogspot.com

    Twitter: @cczarski

  • Report XML in Jdeveloper

    Hi all

    I am trying to generate a XML report from a page of the OFA. Initially to see how the integration of XML with OFA, I followed the steps of ANILPASSI and I amstill get the following error


    Error message:

    11/03/13 21:31:10 data were written when trying to load the model
    11/03/13 21:31:15 Exception3oracle.apps.xdo.XDOException: \tmp\xdoQ80UcxA0c2031311_0931156251.fo (the system cannot find the path specified)



    Here's my code for the controller:

    /*===========================================================================+
    | Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, California.
    | All rights reserved. |
    +===========================================================================+
    | HISTORY |
    +===========================================================================*/
    package oracle.apps.fnd.xml.webui;

    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream.
    import java.io.IOException;

    import java.sql.SQLException;

    Import javax.servlet.ServletOutputStream;
    to import javax.servlet.http.HttpServletResponse;

    Import oracle.apps.fnd.common.VersionInfo;
    Import oracle.apps.fnd.framework.OAViewObject;
    Import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    Import oracle.apps.fnd.framework.server.OADBTransactionImpl;
    Import oracle.apps.fnd.framework.webui.OAControllerImpl;
    Import oracle.apps.fnd.framework.webui.OAPageContext;
    Import oracle.apps.fnd.framework.webui.beans.OAWebBean;

    Import oracle.apps.xdo.XDOException;
    Import oracle.apps.xdo.oa.schema.server.TemplateHelper;

    Import oracle.cabo.ui.data.DataObject;

    Import oracle.jbo.XMLInterface;

    Import oracle.xml.parser.v2.XMLNode;

    /**
    * Controller for...
    */
    SerializableAttribute public class MyXmlPubDemoCO extends OAControllerImpl
    {
    public static final String RCS_ID = "$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion (RCS_ID, "packagename %");

    private static final int DEPTH = 4;
    private static final int APP_ID = 300;
    private static final String APP_NAME = "ASO."
    private static final String TEMPLATE_CODE = "ASOPRTRTF";
    private static final int BUFFER_SIZE = 32000;

    /**
    * Layout and logical configuration for a region page.
    @param pageContext OA page context
    @param webBean the grain of web for the region
    */
    ' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)
    {
    super.processRequest (pageContext, webBean);
    }

    /**
    * How to manage remittances form for form elements in
    * a region.
    @param pageContext OA page context
    @param webBean the grain of web for the region
    */
    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
    {
    super.processFormRequest (pageContext, webBean);

    Am = (OAApplicationModuleImpl) pageContext.getApplicationModule (webBean) OAApplicationModuleImpl;
    OAViewObject vo = (OAViewObject) am.findViewObject ("colorVO1");
    System.out.println ("the value of VO' + vo");
    Event string = pageContext.getParameter ("event");
    If ("Update". Equals (Event))
    {
    System.out.println ("in the application process");
    DataObject sessionDictionary (DataObject) = pageContext.getNamedDataObject ("_SessionParameters");
    HttpServletResponse response = (HttpServletResponse) sessionDictionary.selectValue (null, "HttpServletResponse");

    ServletOutputStream os;

    try {}
    OS = response.getOutputStream ();

    Set the output report file name and Content Type
    ContentDisposition string = "attachment; filename is EmpReport.pdf ';.
    ContentDisposition string = "attachment; filename is PrintPage.htm ';.
    ContentDisposition string = "attachment; filename is PrintPage.xls ';.
    response.setHeader("Content-Disposition",contentDisposition);
    response.setContentType("application/pdf");
    response.setContentType("application/HTML");
    response.setContentType("application/MSEXCEL");

    XMLNode xmlNode = vo.writeXML (XMLNode) (4, XMLInterface.XML_OPT_ALL_ROWS);
    ByteArrayOutputStream OutputStream = new ByteArrayOutputStream();
    xmlNode.print (outputStream);
    System.out.println (OutputStream.ToString ());
    ByteArrayInputStream InputStream = new ByteArrayInputStream (outputStream.toByteArray ());
    ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();

    System.out.println ("data have been written Trying to load the model");

    Generate the report PDF
    () TemplateHelper.processTemplate
    ((OADBTransactionImpl) pageContext.getApplicationModule (webBean) .getOADBTransaction ()) .getAppsContext ();
    APP_NAME,
    TEMPLATE_CODE,
    ((OADBTransactionImpl) pageContext.getApplicationModule (webBean) .getOADBTransaction ()) .getUserLocale () .getLanguage ();
    ((OADBTransactionImpl) pageContext.getApplicationModule (webBean) .getOADBTransaction ()) .getUserLocale () .getCountry ();
    inputStream,
    TemplateHelper.OUTPUT_TYPE_PDF,
    TemplateHelper.OUTPUT_TYPE_HTML,
    TemplateHelper.OUTPUT_TYPE_EXCEL,
    NULL,
    pdfFile);
    Test ASOPRTRTF

    Write the PDF report to the HttpServletResponse object and rinse.
    Byte [] b = pdfFile.toByteArray ();
    response.setContentLength (b.length);
    OS. Write (b, 0, b.length);
    OS. Flush();
    OS. Close();

    } catch (IOException e) {}
    System.out.println("Exception1"+e);
    } catch (SQLException e) {}
    System.out.println("Exception2"+e);
    TODO
    } catch (XDOException e) {}
    System.out.println("Exception3"+e);
    TODO
    }
    }
    }
    }

    Import oracle.apps.xdo.XDOException;

    Download the file named "XDOException" to the server and put it in myclasses/oracle/apps/OPE.

    And download the file "oa" starting at $JAVA_TOP/oracle/apps/OPE and put it in myclasses/oracle/apps/OPE.

    -Anand

  • publish a report xml with LabVIEW

    All,

    I'll try to find a solution to my problem and I hope someone out there has an idea for me to try.

    My problem is I want to launch a test .xml report (which was created with TestStand) using LabVIEW for a user to view/print.  I created a simple vi of drop-down lists for a user to select the report that they want to see and I spent one way; the problem is that I do not know how launching this .xml in a kind of Viewer, my idea was to use internet explore, because it's the print controls, but the only function I can find to help "Open a URL in the default browser" and the error I see is attached (looks like I sends you something he dislikes) (, so I don't know if this feature is available for what I need because the links of my path to my files correctly with windows Explorer).

    A bit of history, I'm basically just trying to restrict the user to only view reports and not navigate around in my directories and then add this control to my operator TestStand Interface (I use the simple interface for TestStand 2012), its as simple as that.

    My question has 2 components:

    (1) anyone would be able to start on the path to open a xml report in Internet Explorer using LabVIEW?

    (2) does anyone know of a better way to solve this problem?

    Thank you

    Bill

    You can use a container of the WebBrowser .NET - believe it will display XML without problem, and then you can simply call the method 'print '.

  • How to read report .xml to a printer?

    How to read the .xml report that is sent by e-mail?  You open the file with something?

    Use the player to open the file. The report should be readable on the side of keft.

  • Snapshot report - generates an output of white

    Hi all

    I hope someone can help me with a script PowerCLI for snapshot report that can extract the report to a csv file.

    After you run the script to schedule tasks/power Cli both, it generates an empty output in csv.


    $vcenters = "Test91.EA.com".

    {foreach ($vcenter to $vcenters)

    to connect-viserver $vcenter

    Get - vm | Get-snapshot | Select the virtual machine, sizegb, created, description, name | D:\snapshot-Reminder\Snapshot.CSV Export-CSV-add - notype

    disconnect-viserver $vcenter - confirm: $false

    }

    $mailto = ' [email protected] '

    $mailfrom = ' [email protected] '

    $mailsubject = "WeeklySnapshot_Report".

    $smtpserver = "smtpe2k.us.EA.com".

    $mailbody = 'instant recall '.

    $attach1 = "D:\Snapshot-Reminder\Snapshot.csv".

    Send-MailMessage-to $mailto - to $mailfrom - subject $mailsubject - SmtpServer $smtpserver - body $mailbody - $attach1 accessories

    Thank you

    vm2014

    There is nothing in the CSV file?

    Are you sure that there is present snapshots?

    Can you try to connect and run the Get - VM | Get-Snapshot... line from the PowerCLI prompt interactively.

    And look for any errors

  • Open XML for output of concurrent processes with Internet Explorer fails (charackters in German)

    Hello everyone,

    I have a problem when opening a competitor process output, which is an XML file.

    Internet Explorer 10 cannot display the XML file, due to the bad charackters.

    Output a German charackters (for example, Ä, O, U, ss,...) which makes the problem. How it is possible to open the output using the IE 10 file.

    Any ideas?

    Thank you for advice!

    Find the soluition:

    We define Option profile ' FND: NATIVE CLIENT ENCODING "UTF8.

  • Creating report perpetually reserved outputs only one entry

    I try to create a report of perpetually reserved RDM.  When I check the output I get only 1 entry in the CSV file.  I know that there are many others.  I think it has to do with the assignment of the $esxcli for Get-ESXCli.  Thank you for your help.  My code is below:

    (param

    [Parameter] [string] $TargetCluster #,.

    #[management.automation.PSCredential] $RootCredentials = (Get-Credential)

    )

    # Retrieve the list of Cluster target hosts

    $ESXHosts = get-Cluster $TargetCluster | Get-VMHost | Select-Object name # | % {Connect-VIServer $_-Credential $RootCredentials |} Out-Null}

    #$ESXHosts | FT

    # Find the ScsiCanonicalName for all RDM disks attached to the virtual machines in the target cluster

    $RDMDisks = get-VM-location $TargetCluster | Get-hard drive - DiskType "RawPhysical", "RawVirtual" | Select ScsiCanonicalName

    Instance to retrieve and EsxCli # for each ESX host

    {foreach ($ESXHost to $ESXHosts)

    $esxcli = get-EsxCli-VMHost($ESXHost.Name)

    #$esxcli | FT

    # And for each disc of RDM

    {foreach ($RDMDisk to $RDMDisks)

    $RDMDisk | FT

    # Collect naa LUN ID and perpetually reserved value

    $esxcli.storage.core.device.list($RDMDisk.ScsiCanonicalName) | Select-Object device, IsPerenniallyReserved | Export-Csv - NoTypeInformation-Path "C:\Users\cBurnett\SkyDrive\vSphere CLI Scripts\Set-RDMReservations\get-rdmreservations.csv.

    }

    }

    # Cut the connection objects created for the target Cluster

    #Disconnect - VIServer *-confirm: $false | Out-Null

    You crash your CSV every time, so you will always have the last result.

    $esxcli.storage.core.device.list($RDMDisk.ScsiCanonicalName) | Select-Object device, IsPerenniallyReserved | Export-Csv - NoTypeInformation-Path "C:\Users\cBurnett\SkyDrive\vSphere CLI Scripts\Set-RDMReservations\get-rdmreservations.csv.

    Add the - Append switch and that should work I think.

  • VOA Reports.xml

    Hi everyone, by HOL-SDC-1431 - vSphere optimization assessment it is a laboratory in which I imported an xml file of report as mentioned on page 8 model:


    "4 four new reports have been created for the vOA program and are available as part of the registration process." We will start by walking through the importation process in vRealize Manager of operations (VR Ops) using the import of the model feature".


    Now the question is: where can I download this xml file? Has been published somewhere?

    Thank you

    Luca82,

    The process has changed how these reports imported in vR Ops.  I have attached a PowerPoint presentation that walks through the process of importation as well as the PAK file that includes the reports.  This process replaces the importing XML specified in the laboratory and we are working to update the lab to show this.

    If you are a partner of VMware, you can go to this link:

    www.VMware.com/go/vsphereoptimization

    and after logging in to the partner Center, you can always find the most recent version of the PAK file under the 'Show' tab (on the left navigation bar).  It's the reports generated by link vROps 6.0 product.

    For partners-VMware, it will be displayed at Solution Exchange VMware bit (found here).

    VSX home | Solution Exchange

  • How to parse a XML SOAP output and load table oracle9i

    Here's the output SOAP response and I need to load the data into the tables in oracle 9i database.
    I'm able to analyze the ordinary XML without namespace, but impossible to analyze the data of the namespaces.
    I could use some help in the analysis of this XML file.
    < xmlns:s s: Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:u = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" >
    < s:Header >
    < o: Security s:mustUnderstand = "1" xmlns:o = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" >
    < u: Timestamp u: Id = "_0" >
    < u: created > 2011 - 11 - 04T 23: 16:08.437Z < / u: created >
    < u: expires > 2011 - 11 - 04T 23: 21:08.437Z < / u: expires >
    < / u: Timestamp >
    < / o: Security >
    < / s:Header >
    < Body >
    < AssetGetListResponse xmlns = "http://dev.services.xerox.com" >
    < AssetGetListResult xmlns: a = "http://schemas.datacontract.org/2004/07/Xerox.MPS" xmlns:i = "http://www.w3.org/2001/XMLSchema-instance" >
    < a: AssetFeed >
    < a: AccountID > de5862bf-f223-e011-bd3b-0024e861b15c < / a: AccountID >
    < a: AccountName > MPS-API Sandbox < / has: AccountName >
    < a: AssetID > ecf1545a-f1e9-e011-8a8a-0024e861b15c < / a: AssetID >
    < a: AssetNumber > 57119B 28 < / a: AssetNumber >
    < a: AssetTag3rdParty i: nil = "true" / >
    < a: ChargebackCodeID > 1a5962bf-f223-e011-bd3b-0024e861b15c < / a: ChargebackCodeID >
    < a: ContractNumber i: nil = "true" / >
    < a: ContractTypeDescription i: nil = "true" / >
    < a: i: Nile ControlID = "true" / >
    < a: group i: nil = "true" / >
    < a: GroupID i: nil = "true" / >
    < a: InScope > false < / has: InScope >
    < a: MACAddress > 0000AA713E97 < / a: MACAddress >
    < a: manufacturer > Xerox < / a: manufacturer >
    < a: model > WorkCentre Pro 265 < / a: model >
    < has: ModifiedDate > 2011 - 11 - 02T 16: 52:12.947Z < / a: ModifiedDate >
    < a: PricePlanID > c25a62bf-f223-e011-bd3b-0024e861b15c < / a: PricePlanID >
    < a: SerialNumber > UTU101993N < / a: SerialNumber >
    < a: VersionNumber > 634558495329470000 < / a: VersionNumber >
    < / a: AssetFeed >
    < a: AssetFeed >
    < a: AccountID > de5862bf-f223-e011-bd3b-0024e861b15c < / a: AccountID >
    < a: AccountName > MPS-API Sandbox < / has: AccountName >
    < a: AssetID > b33b5160-f1e9-e011-8a8a-0024e861b15c < / a: AssetID >
    < a: AssetNumber > 7EE42ADC < / a: AssetNumber >
    < a: AssetTag3rdParty i: nil = "true" / >
    < a: ChargebackCodeID > 1a5962bf-f223-e011-bd3b-0024e861b15c < / a: ChargebackCodeID >
    < a: ContractNumber i: nil = "true" / >
    < a: ContractTypeDescription i: nil = "true" / >
    < a: i: Nile ControlID = "true" / >
    < a: group i: nil = "true" / >
    < a: GroupID i: nil = "true" / >
    < a: InScope > false < / has: InScope >
    < a: MACAddress > 0800379B4C2A < / a: MACAddress >
    < a: manufacturer > Xerox < / a: manufacturer >
    < a: model > WorkCentre 7428 < / a: model >
    < has: ModifiedDate > 2011 - 11 - 02T 16: 52:14.383Z < / a: ModifiedDate >
    < a: PricePlanID > c25a62bf-f223-e011-bd3b-0024e861b15c < / a: PricePlanID >
    < a: SerialNumber > PBB015012 < / a: SerialNumber >
    < a: VersionNumber > 634558495343830000 < / a: VersionNumber >
    < / a: AssetFeed >
    < / AssetGetListResult >
    < / AssetGetListResponse >
    < / Body >
    < / s: Envelope >

    That's what I tried.

    declare
    lp_parser xmlParser.Parser;
    lx_xmldoc xmlDom.DOMDocument;

    ln_doc_node xmlDom.DOMNode;

    lnl_product xmlDom.DOMNodeList;
    lnl_meter xmlDom.DOMNodeList;
    ln_product xmlDom.DOMNode;
    ln_meter xmlDom.DOMNode;
    li_product_cnt NUMBER;
    li_product_max NUMBER;
    li_meter_cnt NUMBER;
    li_meter_max NUMBER;
    lnl_asset_meter_nodes xmldom. DOMNodeList;
    ln_asset_meter_node xmldom. DOMNode;

    ls_batch_number VARCHAR2 (30);
    ldt_proc_dt DATE;
    ls_batch_item VARCHAR2 (30);
    ls_place_id place.place_id%TYPE;
    ls_product_id product.product_id%TYPE: = ' ';
    ls_contract_id contract.contract_id%TYPE;
    li_contract_version contract.contract_version%TYPE;
    li_contract_sequence contr_product.sequence%TYPE;
    ls_meter_id meter_log.meter_id%TYPE;
    ls_read_type meter_log.read_type%TYPE;
    ldt_reading_dt meter_log.reading_dt%TYPE;
    li_meter_value meter_log.meter_value%TYPE;
    li_adjust_copies meter_log.meter_value%TYPE;
    ls_meter_type VARCHAR2 (20);
    ls_serial_id product.serial_id%TYPE;
    ls_meter_read_type VARCHAR2 (50);

    invalid_parsing EXCEPTION;
    PRAGMA EXCEPTION_INIT(invalid_parsing,-20100);

    BEGIN
    FOR meter_xml_rec IN (SELECT SOAP_RESPONSE
    Of insert_table
    WHERE call_id = 2) LOOP
    lp_parser: = xmlparser.newParser;
    xmlparser.parseClob (lp_parser, meter_xml_rec SOAP_RESPONSE);
    lx_xmldoc: = xmlparser.getDocument (lp_parser);
    xmlparser.freeParser (lp_parser);

    ln_doc_node: = xmlDom.makeNode (lx_xmldoc);
    ls_batch_number: = xslProcessor.valueOf (ln_doc_node, 'AssetGetListResponse, AssetGetListResult, AssetFeed, AccountID');

    lnl_product: = xslprocessor.selectNodes (ln_doc_node, ' AssetGetListResponse/AssetGetListResult/a: AssetFeed');
    li_product_max: = xmlDom.getLength (lnl_product)-1;
    FOR li_product_cnt IN 0.li_product_max LOOP
    ln_product: = xmlDom.item (lnl_product, li_product_cnt);

    ls_batch_item: = xslProcessor.valueOf (ln_product, 'AccountName');

    END LOOP;

    END LOOP;
    END;
    OUTPUT:

    =========================================
    15:32:41 *.
    * 15:32:41 ORA-20100: error occurred when processing: Namespace prefix "a" used but not declared.* *.
    15:32:41 ORA-06512: at "SYS." XSLPROCESSOR', line 22
    15:32:41 ORA-06512: at "SYS." XSLPROCESSOR", line 502
    15:32:41 ORA-06512: at line 50
    15:32:41 * script is stopped because of error *.
    Execute SQL Editor in end 15:32:41

    Hello

    Something like this:

    ...
    
    lnl_product := xslprocessor.selectNodes(
                     ln_doc_node
                   , '/s:Envelope/s:Body/AssetGetListResponse/AssetGetListResult/a:AssetFeed'
                   , 'xmlns:s="http://schemas.xmlsoap.org/soap/envelope/", xmlns="http://dev.services.xerox.com", xmlns:a="http://schemas.datacontract.org/2004/07/Xerox.MPS"'
                   );
    
    li_product_max := xmlDom.getLength(lnl_product)-1;
    
    FOR li_product_cnt IN 0..li_product_max LOOP
    
      ln_product := xmlDom.item(lnl_product, li_product_cnt);
      ls_batch_item := xslProcessor.valueOf(ln_product, 'a:AccountName', 'xmlns:a="http://schemas.datacontract.org/2004/07/Xerox.MPS"');
    
    END LOOP;
    
    ...
    

    Or, using a single query:

    SQL> SELECT extractValue(value(x), '/AssetFeed/AccountID', 'xmlns="http://schemas.datacontract.org/2004/07/Xerox.MPS"') as AccountID
      2       , extractValue(value(x), '/AssetFeed/AccountName', 'xmlns="http://schemas.datacontract.org/2004/07/Xerox.MPS"') as AccountName
      3       , extractValue(value(x), '/AssetFeed/AssetID', 'xmlns="http://schemas.datacontract.org/2004/07/Xerox.MPS"') as AssetID
      4       , extractValue(value(x), '/AssetFeed/AssetNumber', 'xmlns="http://schemas.datacontract.org/2004/07/Xerox.MPS"') as AssetNumber
      5       , extractValue(value(x), '/AssetFeed/SerialNumber', 'xmlns="http://schemas.datacontract.org/2004/07/Xerox.MPS"') as SerialNumber
      6  FROM temp_table t
      7     , TABLE(
      8         XMLSequence(
      9           EXTRACT(
     10             XMLType(t.soap_response)
     11           , '/s:Envelope/s:Body/AssetGetListResponse/AssetGetListResult/a:AssetFeed'
     12           , 'xmlns:s="http://schemas.xmlsoap.org/soap/envelope/", xmlns="http://dev.services.xerox.com", xmlns:a="http://schemas.datacontract.org/2004/07/Xerox.MPS"'
     13           )
     14         )
     15       ) x
     16  WHERE t.call_id = 2
     17  ;
    
    ACCOUNTID                                      ACCOUNTNAME           ASSETID                                   ASSETNUMBER    SERIALNUMBER
    ---------------------------------------------- --------------------- ----------------------------------------- -------------- ---------------
    de5862bf-f223-e011-bd3b-0024e861b15c           MPS-API Sandbox       ecf1545a-f1e9-e011-8a8a-0024e861b15c      57119B28       UTU101993N
    de5862bf-f223-e011-bd3b-0024e861b15c           MPS-API Sandbox       b33b5160-f1e9-e011-8a8a-0024e861b15c      7EE42ADC       PBB015012
     
    
  • Create subtotals in CROSS report XML tab

    Hello

    I have a requirement to obtain subtotals in cross tab XML report.
    Values and columns of x axis and there are generated dynamically by query.
    The y-axis contains the hierarchy. Between these heirachies, I need to have subtotals.
    If necessary, I can send a source xml and rtf e-mail.

    Please let me know if someone put in place before?


    Thank you.

    Published by: 808712 on November 9, 2010 05:12

    You've sent the updated files

  • Report XML question

    Hi all

    I'm working on the XML reports. This is the first time that I'm working on the XML reports.
    Here, I need like below.

    Report must contain 3 layouts. When the function run simultaneous program, 3 layouts should display with the data.
    The problem is now,
    first layout complete records on the second page, the second provision must begin in the new page and in the same way third provision must begin in the new page. I'm not able to manage the new layout from new page.
    can someone please help me with this problem.

    Thanks in advance.

    Hello

    Please use the following tag after the first and second layouts.

    Thank you
    Kiran

Maybe you are looking for