Compare xml file database data

Hi all,
Just wondering is it possible using jsp to compare the contents of an xml file to a database table if they are similiarly laid out?

Select the type of dataset :)
You have to place the xml file in the location you specified in Admin tab.
You can create a new dataset, type : based on XML file.

Similar Messages

  • How to configure crystal report xml file as data source in BOE in Solaris?

    Hi,
    How to configure crystal reports from xml file as data source in Solaris? I didn't find any suitable driver for xml / excel files for sun solaris.
    Which driver i have to use to connect xml file to crystal report to view my crystal report in solaris BOE?
    And the same way excel file as data source for crystal report.
    Thanks

    Hi Don thanks for the reply,
    In windows environment I donot have any problem when creating crystal report from Xml file and Excel file. After creating reports when I publish those into boe server in solaris, getting connection failed error.
    My solaris BOE server doent have any network connection with windows machines. So i have to place the files in solaris server.
    Below the steps what I tried:
    1. Created crystal reports from cr designer in windows using ADO.Net(xml) and in another try with Xml webservices drivers. Reports works well as it should.
    2. Saved in BOE repository in Solaris server from crystal reports and changed database configuration settings as:
        -Used custom database logon information and specified cr_xml as custom driver.
        -Chnaged database path to file directory path according to solaris server file path </app/../../>
        -tried table prefix also
        - Selected radio button use same database logon as when report is run saved.
    My environment :
    SAP BOXI3.1 sp3
    crystal reports 2008 sp3
    SunOS
    Cr developing in windows 7.
    For Excel I tried with ODBC in windows but I can't find any ODBC or JDBC drivers for Excel in solaris.
    Any help to solve my issues
    Thanks
    Nagalla

  • Getting error when try to upload xml file into Data Template

    Hi,
    Getting error when try to upload xml file into Data Template.error:"The uploaded file XXSLARPT.xml is invalid. The file should be in XML-DATA-TEMPLATE format."Plz anybody help me.
    Thanks,
    Prasad.

    Hi,
    Anybody Help Plzzzzzz.
    thx,
    Prasad

  • How to remove an XML file from Data Template in Data Definition Screen

    Hi,
    Issue: I have uploaded the file in Data definition in Data Template.
    How to remove it.
    Also what does each file type mean?
    XML Schema
    Data Template
    Preview file
    Bursting control File
    I have an XML file and XSL file. I need to have an output in XML.
    So I installed my XML file in data template in data definition.
    And XSL file in Templates.
    Am I correct?
    11.0.10.2
    Regards,
    Avijit

    Issue: I have uploaded the file in Data definition in Data Template.
    How to remove it.You cannot remove it but you can end-date it.
    Also what does each file type mean?
    XML Schema
    Data Template
    Preview file
    Bursting control FileThis is explained in "Oracle XML Publisher Administration and Developer's Guide Release 12" manual -- http://docs.oracle.com/cd/B34956_01/current/acrobat/120xdoig.pdf
    I have an XML file and XSL file. I need to have an output in XML.
    So I installed my XML file in data template in data definition.
    And XSL file in Templates.
    Am I correct?Correct -- See Chapter 2 "Creating the Template" and Chapter 5 "Data Templates and Chapter" in the same doc referenced above for details.
    Thanks,
    Hussein

  • How to view AR dunning letter XML file (raw data)?

    Hi,
    Can anybody tell how to view AR dunning letter XML file (raw data) as I like to modified the dunning letter and like to know which fields I can add to our dunning letter layout. thanks.

    Hi
    These are the steps you need to do to get the output in XML Raw format.
    Step 1
    1- Go to System Administrator -> Concurrent -> Program - Define
    2- Query the Dunning Letter Print
    3- Set the format output as XML
    Step 2
    1- Ftp Oracle E-business suite Server
    2- Get the file ARDLP.rdf from $AR_TOP/reports
    3- Open the report using Oracle Reports
    4- Change the output to XML.
    ARDLP.rdf is a report provided by Oracle Corporation so it is a good idea to make a backup of the same,
    before making any changes. Hope this will help.
    Regards
    Ali

  • Creating XML file using data from database table

    I have to create an xml file using the data from multiple table. The problem That i am facing is the data is huge it is in millions so I was wondering that is there any efective way of creating such an xml file.
    It would be great if you can suggest some approach to achieve my requirement.
    Thanks,
    -Vinod

    An example from the forum: Re: How to generate xml file from database table
    Edited by: Marco Gralike on Oct 18, 2012 9:41 PM

  • XQuery query over just one single xml file returns data but query over lots of XML didn't return any data.

    Hello,
    Please, help me.
    I am depending on this query working fine to complete a academic task.
    On the Oracle xml database Express version 11.2.0.2.0 I used data from wikipedia to populate my table of XML files and W3C use case as a query model (XQuery and XPath Full Text 1.0 Use Cases).
    I have a table with 26.416 split xml files into some xml columns, it is about 512 MB.
    CREATE TABLE tb_wikipedia_inex (DOC VARCHAR(30) NOT NULL,
                                    XML XMLTYPE,
                                    PRIMARY KEY (DOC)
    I want to perform a query (full text) on all those files but when I execute a xquery it retuns nothing or warnings. Unfortunatelly I understand nothing from trace file.
    SQLPLUS:
    XQUERY  fn:collection("oradb:/HR/TB_INEX2009")//article//language  [ora:contains(., "java") > 0]
    TRACE FILE:
    System altered.
    Elapsed: 00:00:42.08
    Session altered.
    Elapsed: 00:00:00.00
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.00
    Elapsed: 00:00:00.05
    Execution Plan
    Plan hash value: 1500681423                                                                      
    | Id  | Operation                           | Name                   | Rows  | Bytes | Cost (%CPU)|
    Time     |                                                                                       
    |   0 | SELECT STATEMENT                    |                        |  8168 | 16336 |    29   (0)|
    00:00:01 |                                                                                       
    |   1 |  COLLECTION ITERATOR XMLSEQ FETCH   | XMLSEQUENCEFROMXMLTYPE |  8168 | 16336 |    29   (0)|
    00:00:01 |                                                                                       
    |   2 |   SORT AGGREGATE                    |                        |     1 |     2 |            |
             |                                                                                       
    |*  3 |    COLLECTION ITERATOR PICKLER FETCH| XMLSEQUENCEFROMXMLTYPE |   408 |   816 |    66  (57)|
    00:00:01 |                                                                                       
    Predicate Information (identified by operation id):                                              
       3 - filter(SYS_XMLCONTAINS(SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(SYS_XQEXTRACT(SYS_XQCON2SEQ(VALUE(KOKBF$
                  ,'/language/text()'),1,50),50,1,0),'java')>0)                                      
    Note                                                                                             
       - Unoptimized XML construct detected (enable XMLOptimizationCheck for more information)       
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.00
    How can I execute xquery over a bunch of xml files to obtain xml data?
    Regards,
    Daiane

    Hello,
    I was trying to find what is the problem, but without success.
    The most simple test don't work.
    So, I created a new table with few xml files to reproduce the query.
    Below are my scripts:
    XML COLUMN  SQLPLUS
    CREATE TABLE HR.tb_xml (DOC VARCHAR(30) NOT NULL,
                                               XML XMLTYPE,PRIMARY KEY (DOC))
    CREATE INDEX HR.Ixml_tb_xml ON HR.tb_xml (XML)  INDEXTYPE IS XDB.XMLINDEX  PARAMETERS ('PATHS (INCLUDE(//article
                                                                                                                       //article/physical_entity/communicator/person/compiler/causal_agent/language))')
    CREATE INDEX Itxt_tb_xml1  ON HR.tb_xml (XML)  INDEXTYPE IS CTXSYS.CONTEXT;
    Shell:
    nohup sqlldr daiane/daiane DIRECT=false PARALLEL=false control = load_xml.ctl;
    XML TABLE SQLPLUS:
    create table livros of XMLTYPE;
    Shell:
    nohup sqlldr daiane/daiane DIRECT=false PARALLEL=false control = load_xmltb.ctl;
    XML Files:
    https://www.dropbox.com/sh/sn26jq6fjoi4635/0wjJI6tT4h
    Queries:
    for XQUERY  fn:collection("oradb:/HR/TB_XML")//article/physical_entity/communicator/person/compiler/causal_agent/language/writer/header/categories/category [ora:contains(., "PHP") > 0]
    XQUERY  fn:collection("oradb:/HR/TB_XML")//article/physical_entity/communicator/person/compiler/causal_agent/language/writer/header/title [ora:contains(text(), "PHP") > 0]
    for XQUERY  fn:collection("oradb:/HR/LIVROS")//article/physical_entity/communicator/person/compiler/causal_agent/language/writer/header/categories/category [ora:contains(., "PHP") > 0]
    XQUERY  fn:collection("oradb:/HR/LIVROS")//article/physical_entity/communicator/person/compiler/causal_agent/language/writer/header/title [ora:contains(text(), "PHP") > 0]
    What is wrong with these queries?
    Regards,
    Daiane

  • File Adapter : read XML file with data validation and file rejection ?

    Hello,
    In order to read a XML file with the file adapter, I have defined a XSD that I have imported to my project.
    Now the File Adapter reads the file correctly but it does not give an error when:
    - the data types are not valid. Ex: dateTime is expected in a node and a string is provided
    - the XML file has invalid attributes.
    How can I manage error handling for XML files ?
    Should I write my own Java XPath function to validate the file after is processed ? (here is an example for doing this : http://www.experts-exchange.com/Web/Web_Languages/XML/Q_21058568.html)
    Thanks.

    one option is to specify validateXML on the partnerlink (that describes the file adapter endpoint) such as shown here
    <partnerLinkBinding name="StarLoanService">
    <property name="wsdlLocation"> http://<hostname>:9700/orabpel/default/StarLoan/StarLoan?wsdl</property>
    <property name="validateXML">true</property>
    </partnerLinkBinding>
    hth clemens

  • XSL gives a XML file without data

    I am using XSL to create a new XML file from a given XML file. The resulting XML file created contains no data!! Pls. tell me what is wrong or if I have omitted something.

    I am using XSL to create a new XML file from a given XML file. The resulting XML file created contains no data!! Pls. tell me what is wrong or if I have omitted something.

  • Output xml file from data in a drag/drop AIR app.

    I am interested in creating a WYSIWYG drag/drop AIR app. in
    which I can drag art and other components, then export the (x,y)
    positions of the components and other info into an xml file. I am
    interested in using .ai files instead of raster based art. Will
    Flex/AIR app. support this format? I am just starting to work with
    Flash, Flex, etc. Is this way over my head? Possible?
    Thanks,
    Nate

    I don't think you can manipulate .ai files in Flex /
    AIR.

  • Compare XML files?

    I am testing an application that read a XML file and creates another XML file. In the test I would like to verify that the created XML file is identical to the read XML file. Are there any unit testing packages for Java/eclipse that deals with this kind of problem?

    JoachimSauer wrote:
    I heard that XMLUnit is pretty useful for this.+1
    Particularly, look at the classes Diff and DetailedDiff.

  • How to convert an XML file (input data) into a SOAP message?

    Hi there,
    I recently wrote a dummy program to retrieve data from a web service. The program simply read from an input file (the xml content) and send it to the web service, the return result is store in a file (xml). I wish to 'upgrade' this approach of reading and writing from/to a file and have it done by SOAP. For some reason, I'm unable to do so.
    The data on the xml input file that I sent is this:
    <?xml version="1.0" encoding="utf-8"?>
    <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>
    <Upgrade xmlns="http://tempuri.org/">
    <upgrade>
    <User>John</User>
    <Password>javalava</Password>
    <EmployeeId>77384</EmployeeId>
    <Rank>Q6</Rank>
    </upgrade>
    </Upgrade>
    </soap12:Body>
    </soap12:Envelope>
    When trying to upgrade to SOAPEnvelope it fails.
    Thanks for any pointers!!!

    I was trying (unsuccessfully) g to write something like this
    * sorry I don't know what are the tags for <code></code>
    <code>
    public static SOAPMessage prepareMessage(String username, String password, String emplID) throws SOAPException
         SOAPMessage soapMsg = MessageFactory.newInstance(SOAPConstants.SOAP_1_2_PROTOCOL).createMessage();
    // SOAP body
    String prefix = "tns";
    String uri = "http://tempuri.org/Upgrade";
    SOAPEnvelope envelope = soapMsg.getSOAPPart().getEnvelope();
    SOAPBody body = envelope.getBody();
    SOAPBodyElement service = body.addBodyElement(envelope.createName("Upgrade", prefix, uri)); //there are 2 Upgrade in the XML (Upgrade and another upgrade, but I couldn't figure out how to that here)
    SOAPElement symbol = service.addChildElement(envelope.createName("User", prefix, uri));
    symbol.addTextNode(username);
    symbol = service.addChildElement(envelope.createName("Password", prefix, uri));
    symbol.addTextNode(password);
    symbol = service.addChildElement(envelope.createName("EmployeeId", prefix, uri));
    symbol.addTextNode(emplID);
    return soapMsg;
    </code>

  • Comparing XML files to XSLT

    I have a XML version of a document, and an XSLT version that represents the SAME document.
    How can I compare them and check that they are the same in the JAVA?
    Thanks.

    Abder-Rahman wrote:
    How can I compare them and check that they are the same in the JAVA?How would you do it NOT in Java?
    If you know that, then when you get stuck writing the Java code to implement the algorithm, as a more specific question.
    If you don't know how to do it NOT in Java, then you need to figure that out before coming here or even thinking about Java.

  • Read XML file node data in CLOB column

    Hi Friends,
    Here is my information.
    CREATE TABLE TABL1
    ( A CLOB,
    B NUMBER,
    C VARCHAR2(10))
    INSERT INTO TABL1 VALUES ('<PARENT><CHILD1> 12 </CHILD1><CHILD2> 22 </CHILD2></PARENT>',1,'FIRST');
    INSERT INTO TABL1 VALUES ('<PARENT2><CHILD> 11 </CHILD1><CHILD2> 21 </CHILD2></PARENT>',2,'SECOND');
    My requirement is I need to pickup the value existed between child2 node for both records.
    Could any one help me to resolve this issue?
    Thanks
    Venkata

    You mean like this?
    SQL> INSERT INTO TABL1 VALUES ('<PARENT><CHILDONE>12</CHILDONE><CHILDTWO>22</CHILDTWO></PARENT>',1,'FIRST');
    1 row created.
    SQL> INSERT INTO TABL1 VALUES ('<PARENT><CHILDONE>11</CHILDONE><CHILDTWO>21</CHILDTWO></PARENT>',2,'SECOND');
    1 row created.
    SQL> ed
    Wrote file afiedt.buf
      1  select extractvalue(xmltype(a),'//CHILDTWO/text()') as val
      2* from tabl1
    SQL> /
    VAL
    22
    21
    SQL>

  • How to store the data instead of memoryengine to database when use XML file

    Hi Experts,
    I have doubt which is into XML to database data transfer.
    While transferring the data from XML to database the tables will be store in memory for the xml files, my aim is instead of storing this in memory engine
    is there any way to store the data in to the data base itself..
    I am assuming when the data size increases say for example huge amount data, storing this much of data is big issue here right, so to avoid this is there any way to store
    this data directly in the database level.
    Please understand my requirement or else I have the good explanation about my requirement and please assist me how do this job....
    Thx,
    Sahadeva.

    Hi Experts,
    For this job I have applied the
    jdbc:snps:xmll?f=/mydata/xml/file.xml&s=wrk_admin&dp_driver=oracle.jdbc.driver.OracleDriver&dp_url=jdbc:oracle:thin:@localhost:1521:xel&dp_user=wrk_admin&dp_password=bPyXS2eRXw8fWnKEmTYSEf&dp_schema=wrk_admin&dp_doc=Y
    my schema name is wrk_admin
    xml file name is mydata
    jdbc driver: localhost:1521:xe
    Encoded password: I have encoded the pwd from cmd:c:oracle\oracle_odi1\oracledi\agent\bin\encode wrk_admin
    The above are the details I have applied to my ODI studio for creating the dataserver.
    After applying this I got the following error.
    Could you please correct me here if I am wrong...
    jdbc:snps:xml?param1=value1&param2=value2&...
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
         at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java:1118)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.getLocalConnect(SnpsDialogTestConnet.java:420)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.localConnect(SnpsDialogTestConnet.java:860)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.jButtonTest_ActionPerformed(SnpsDialogTestConnet.java:806)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.connEtoC1(SnpsDialogTestConnet.java:165)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.access$1(SnpsDialogTestConnet.java:161)
    Thx,
    Sahadeva.

Maybe you are looking for