Convert flat file to XML document and store into Oracle database

First:
I have a flatfile and created external table to read that file in Oracle
Now I want to create an XML document for each row and insert into Oracle database, I think that XMLtype.
Could you please provide me some information/steps.
Second:
Is there performance issues, because everyday I need to check that XML document stored in the database against the in coming file.
Thank You.

Oracle 11g R2 Sun Solaris
Flat file is | (pipe delimited), so I did create an EXTERNAL Table
row1     a|1|2|3|4
row2     b|2|3|4|5
row3     c|6|7|8|9
I want to store each record as XML document. So it will be easy to compare with next day's load and make insert or update.
The reason is:
     First day the file comes with 5 columns
     after some days, the file may carry on some additional columns more than 5
     In this case I do not want to alter table to capture those values, if I use XML than I can capture any number of columns, CORRECT!. Please make me correct If I am wrong.
     This is the only reason to try to use the XMLType (XML Document)
     On Everyday load we will be matching these XML documents and update it if there is any column's value changes
daily average load will be 10 millions and initial setup will be 60-80 millions
     Do I have anyother option to capture the new values without altering the table.
Please advise!.

Similar Messages

  • Converting flat file to XML using JMS

    Hi,
    I want to convert flat file to xml. My sender adapter is JMS,
    Can anyone tell me that how to do that conversion ? Conversion is very simple.
    Can we use File content conversion in JMS Sender ? any link or blog ? or any other idea to achieve this ?
    Regards
    Kulwinder

    Hi,
    The pdf has been removed from that link i suppose.
    Anyways, go through the below help, everything that is there in "HowToConveModuleJMS.pdf" has been mentioned in this...
    http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm
    Hope it would surely help you.
    You can go through the below link, for better understanding..
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a05b2347-01e7-2910-ceac-c45577e574e0
    Regards,
    Swetha.
    Edited by: Swetha Reddy on Feb 26, 2009 5:30 AM

  • Read data from Excel and write into oracle database

    Hi
    I want  to know how can i read data from excel and write into oracle database using java.Kindly help me out to find a solution.
    Thanks and Regards
    Neeta

    Hai,
    I am suggesting the solution.
    I will try out and let u know soon.
    Make a coma separated file from your excel file.
    Assuming that your requirement allows to make a csv file.
    This file may be passed as an file object to be read by java.Using JDBC you must be able to populate the data base.You can also use String Tokenizer if needed.
    You do not want to  go via sql Loader?
    For reading the excel file itself do you want java?

  • URGENT : Program to convert flat file to XML file.

    Hello,
           Good Morning. I want an urgent program to convert a flat file seperated by '/' to an XML file format and store that in the the application server. If any one has done such a developement, could you please send me the code.
    The flat file format is as below :
    72/070414/114147/11973//100-//EA/00000000///04198//RRT0/RC23///////353825001511172/72/070414/123620/11973//1000//EA/00000000///04198//RRT0/RC23///////354762008125236/72/070414/125411/13814//1000//EA/00000000///04198//INV/ID06///////90000000002697/72/070414/140820/11973//1000//EA/00000000///04198//RRT0/RC23///////353057002479718/72/070414/145438/13814//1000//EA/00000000///04198//INV/ID06///////90000000002739/72/070414/145438/11973//1000-//EA/00000000///04198//INV/ID06///////353057002479718/72/070414/150008/13814//1000
    It needs to be filtered by removing the '/' and also grouped based on two fields namely store number and transaction number.  The sample XML output required is as below :
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <MT_POLL07 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../MT_POLL07.xsd">
      <MessageHeader>
        <File>
          <Name>C:/kai/perl/storemaster_home/stores/09100/inbound/POLL07.DOS</Name>
          <CreatedDate>Wed Feb  7 13:09:15 2007</CreatedDate>
          <TotalRecordNo>19</TotalRecordNo>
        </File>
      </MessageHeader>
      <Transaction>
        <TransactionHeader>
          <TRANSACTION>20070414001559</TRANSACTION>
          <STORE_NO>09100</STORE_NO>
          <BOFTTP>72</BOFTTP>
        </TransactionHeader>
        <Item>
          <BOFTDT>070414</BOFTDT>
          <BOFTTM>114147</BOFTTM>
          <BOFSKU>11973</BOFSKU>
          <BOFUPC></BOFUPC>
          <BOFQTY>100</BOFQTY>
          <BOFQTN>-</BOFQTN>
          <BOFCST>0</BOFCST>
          <BOFCSN>+</BOFCSN>
          <BOFUM>EA</BOFUM>
          <BOFHRF>00000000</BOFHRF>
          <BOFSRF></BOFSRF>
          <BOFVND></BOFVND>
          <BOFLOC>04198</BOFLOC>
          <BOFEQT></BOFEQT>
          <BOFEQN>+</BOFEQN>
          <BOFRTP>RRT0</BOFRTP>
          <BOFREA>RC23</BOFREA>
          <BOFCID></BOFCID>
          <BOFAUT></BOFAUT>
          <BOFCUR></BOFCUR>
          <BOFPTP></BOFPTP>
          <BOFUPT></BOFUPT>
          <BOFUMR></BOFUMR>
          <BOFSRN>353825001511172</BOFSRN>
          <GMNUMBER>1</GMNUMBER>
        </Item>
        <Item>
          <BOFTDT>070414</BOFTDT>
          <BOFTTM>123620</BOFTTM>
          <BOFSKU>11973</BOFSKU>
          <BOFUPC></BOFUPC>
          <BOFQTY>1000</BOFQTY>
          <BOFQTN>+</BOFQTN>
          <BOFCST>0</BOFCST>
          <BOFCSN>+</BOFCSN>
          <BOFUM>EA</BOFUM>
          <BOFHRF>00000000</BOFHRF>
          <BOFSRF></BOFSRF>
          <BOFVND></BOFVND>
          <BOFLOC>04198</BOFLOC>
          <BOFEQT></BOFEQT>
          <BOFEQN>+</BOFEQN>
          <BOFRTP>RRT0</BOFRTP>
          <BOFREA>RC23</BOFREA>
          <BOFCID></BOFCID>
          <BOFAUT></BOFAUT>
          <BOFCUR></BOFCUR>
          <BOFPTP></BOFPTP>
          <BOFUPT></BOFUPT>
          <BOFUMR></BOFUMR>
          <BOFSRN>354762008125236</BOFSRN>
          <GMNUMBER>2</GMNUMBER>
        </Item>
      </Transaction>
    </MT_POLL07>
    Please send me the code : It is urgent. Thanks in advace. Points to be rewarded.

    hi !
    Check with this thread discuss the same
    http://www.sap-img.com/abap/sample-xml-source-code-for-sap.htm
    Flat file to XML
    CONVERTION OF FLAT FILE TO XML : NO OUT PUT FOUND
    Converting Idoc flat file representation to XML
    how to convert flat file into IDOC-XML
    Regds
    Abhishek

  • How to convert flat file to XMl without key field value

    Hi experts,
    I have a input CSV Flat file which has got one HEADER line and Multiple Detail records.
    I do not have any key field value to convert this FLAT file to XML using normal file content conversion.
    Is there any module or Bean which can be used to convert this Flat File to XML.
    Or any other remedy to overcome this problrm.
    Thanks in advance.
    Regards
    Pradeep

    Hi Saurabh,
    Thanks for the reply.
    Ur understanding is perfectly alright.Lets say my file is like below.
    Account Number,Account Name,Currency,Unclear Balance,Account Balance010205000033,VAISHNAVI SALES CORPN,0.00,0.00,350000.00
    010205000034,CHAKKA ENTERPRISES,0.00,-641350.47,8649.53
    010205000035,SEHGAL TRADING COMPANY,338665.00,-220.00,461115.00
    010205000036,SHUBH LAXMI AGENCIES,0.00,0.00,0.00
    010205000037,EMPIRE AGENCIES,0.00,-245.11,0.00
    010205000038,PIONEER AGENCIES,0.00,-696386.00,303614.00
    I am not using the first line in the mappiing.
    Are you saying that I need to ignore the first line while doing the conversion using Recordset OFFSET ?
    Or do I need to make a single structure taking all the fields from header as well as details and while defining the structure I need to ignore the fields from header?
    Please suggest.

  • Converting flat file to XML

    Hi
    i just want to read flat file and convert it into xml but there are some problem ,it throws a ArrayIndexOutOfBoundException.Here is code.
    import java.io.*;
    import java.util.*;
    class FlatXMLBudget {
      public static void convert(List data, OutputStream out)
       throws IOException {
        Writer wout = new OutputStreamWriter(out, "UTF8");
        wout.write("<?xml version=\"1.0\"?>\r\n");
        wout.write("<Budget>\r\n");
        Iterator records = data.iterator();
        while (records.hasNext()) {
          wout.write("  <LineItem>\r\n");
          Map record = (Map) records.next();
          Set fields = record.entrySet();
          Iterator entries = fields.iterator();
          while (entries.hasNext()) {
            Map.Entry entry = (Map.Entry) entries.next();
            String name = (String) entry.getKey();
            String value = (String) entry.getValue();
            // some of the values contain ampersands and less than
            // signs that must be escaped
            //value = escapeText(value);
            wout.write("    <" + name + ">");
            wout.write(value);       
            wout.write("</" + name + ">\r\n");
          wout.write("  </LineItem>\r\n");
        wout.write("</Budget>\r\n");
        wout.flush();
      public static String escapeText(String s) {
        if (s.indexOf('&') != -1 || s.indexOf('<') != -1
         || s.indexOf('>') != -1) {
          StringBuffer result = new StringBuffer(s.length() + 4);
          for (int i = 0; i < s.length(); i++) {
            char c = s.charAt(i);
            if (c == '&') result.append("&");
            else if (c == '<') result.append("<");
            else if (c == '>') result.append(">");
            else result.append(c);
          return result.toString(); 
        else {
          return s;  
      public static void main(String[] args) {
        try {
            /*if(args.length<1)
            System.out.println("Usage: FlatXMLBudget infile outfile");
            return;
          InputStream in = new FileInputStream("d:\\file.txt");
          OutputStream out;
          int a=in.available();
          System.out.println("dd:"+a);
         /*if (args.length < 2) {
            out = System.out;
          else {*/
          List results = BudgetData.parse(in);
          int aa=results.size();
          System.out.println("dd:"+aa);
          out = new FileOutputStream("d:\\flattoxml.xml");
          convert(results, out);
        catch (IOException e) {
          System.err.println(e);      
    import java.io.*;
    import java.util.*;
    class BudgetData
    public static List parse(InputStream src) throws IOException
             // The document as published by the OMB is encoded in Latin-1
             InputStreamReader isr = new InputStreamReader(src, "8859_1");
              BufferedReader in = new BufferedReader(isr);
              List records = new ArrayList(); 
              String lineItem;
              while ((lineItem = in.readLine()) != null)
                 records.add(splitLine(lineItem));
            return records;
      // the field names in order
      public final static String[] keys = {
        "AgencyCode",
        "AgencyName",
        "BureauCode",
        "BureauName",
        "AccountCode",
        "AccountName",
        "TreasuryAgencyCode",
        "SubfunctionCode",
        "SubfunctionTitle",
        "BEACategory",
        "On-Off-BudgetIndicator",
        "FY1976", "TransitionQuarter", "FY1977", "FY1978", "FY1979", 
        "FY1980", "FY1981", "FY1982", "FY1983", "FY1984", "FY1985", 
        "FY1986", "FY1987", "FY1988", "FY1989", "FY1990", "FY1991", 
        "FY1992", "FY1993", "FY1994", "FY1995", "FY1996", "FY1997", 
        "FY1998", "FY1999", "FY2000", "FY2001", "FY2002", "FY2003",
        "FY2004", "FY2005", "FY2006"
      private static Map splitLine(String record)
                  record = record.trim();
                          int index = 1;
             Map result = new HashMap();
              for (int i = 1; i < keys.length; i++)
                      //find the next comma   
                    StringBuffer sb = new StringBuffer();
             char c;
               boolean inString = false;
               while (true)
                 c = record.charAt(index);
                 if (!inString && c == '"') inString = true;
                 else if (inString && c == '"') inString = false;
                 else if (!inString && c == ',') break;
                 else sb.append(c);
                 index++;
                 if (index == record.length()) break;
          String s = sb.toString().trim();
          result.put(keys, s);
    index++;
    return result;
    [output/error]
    java.lang.StringIndexOutOfBoundsException: String index out of range: 71
    at java.lang.String.charAt(String.java:444)
    at BudgetData.splitLine(BudgetData.java:55)
    at BudgetData.parse(BudgetData.java:16)
    at FlatXMLBudget.main(FlatXMLBudget.java:79)
    Exception in thread "main"
    [output/error]
    Can any one help me about this problem.

    Off-by-one error.
    In a String of length 70, for example, the characters are numbered from 0 to 69 in Java. Your program is written as if they were numbered from 1 to 70. So when you try to get #70, the exception occurs.
    But if you want to use commas as a delimiter to break a string into substrings, it's much easier just to use the split() method of String than to write all that code you have there.

  • Problem converting flat file to XML using JMS Adapter

    I need to take an MQSeries message in a flat file format and convert it to XML before processing.  I have configured the modules as described by the screenshot located here:
    http://www.radesix.com/JMSConfig.jpg
    The message is received however it isn't converting to XML.  When I view the payload I get the message indicated by the screenshot located here:
    http://www.radesix.com/JMSError.jpg
    I am new to XI.  Any ideas?

    For simple plain conversion here is a config, which works in our system:
    (left parameter key, right parameter value, module key always the same)
    Transform.Class com.sap.aii.messaging.adapter.Conversion
    TransformContentType text/xml;charset=utf-8
    xml.conversionType SimplePlain2XML
    xml.addHeaderLine 0
    xml.processFieldNames fromConfiguration
    xml.documentName SA02_Identnummer
    xml.documentNamespace urn:mycompany-com:logistics:DFT:HWL
    xml.structureTitle SA02_Identnummer_Satz
    xml.fieldNames Satzart,Identnummer,Status
    xml.fieldFixedLengths 2,10,3
    Be aware, that you must delete all spaces in the config, especially when you copy and paste values.
    For struct. conversion the entries are a little bit more complex.
    Regards
    Stefan

  • Flat file to XML Document

    Hi,
    I have a requirement where i have to process a flat file and create an XML document out of it. This XML is turn has to conform to schema. Can this be done in ODI? If yes, what is the knowledge module I should be using to achieve this? Further, how do I create the data model for the XML, and how do i specify the directory where the file needs to be written to? I hear that there is an IKM by the name "SQL to XML IKM" desinged to genereate XML from database. Can anyone please forward it to me? My mail address is [email protected] Any help is greatly appreciated.
    Edited by: Sankash on 01-Apr-2009 07:19

    Refer to this thread.
    Re: ODI with XML
    It will guide you thru the process at a high level.
    Thanks
    CJ
    Please do remember to assign points (Helpful / Correct) accordingly to the thread before closing, that encourage people to help you more quickly and effectively.

  • How to parse this kind of XML documents and store in a relational tables

    Can u guys help me out ,..how to parse these kind of XML documents..like under PR there Sr,CreationDate and DoBID.. Again under Sr...there are LD, CID,TID, RID and so on.....
    so how to parse this kind of data..how to create the structure of the table....pls help me out..
    <nk8:PR>
              <nk8:Sr>
                   <nk8:LD>---------</nk8:LID>
                   <nk8:CID>---------</nk8:CID>
                   <nk8:TID>---------</nk8:TID>
                   <nk8:RID>---------</nk8:RID>
                   <nk8:CC>OnError</nk8:CC>
                   <nk8:AID>---------</nk8:AID>
              </nk8:Sr>
              <nk8:CreationDateTime>2002-07-01</nk8:CreationDateTime>
              <nk8:DOBID>---------</nk8:DOBID>
         </nk8:PR>
         <ssm:ER>
              <ssm:PN>---------</ssm:PN>
              <ssm:SN>---------</ssm:SN>
              <ssm:SCt>---------</ssm:SC>
              <ssm:IA>
                   <ssm:NT>---------</ssm:NT>
                   <nk8:LID>---------</nk8:LID>
                   <nk8:CID>---------</nk8:CID>
                   <ssm:AN>---------</ssm:AN>
              </ssm:A>
         </ssm:ER>
         </nk8:PR>

    First, your XML document is not well formatted. Once you're done with that you can extract the values and store it in a table column.
    sql> WITH xml_table AS
      2  (SELECT XMLTYPE(
      3  '
      4  <nk8:PR xmlns:nk8="http://www.w3.org">
      5  <nk8:Sr>
      6  <nk8:LID>LID Value</nk8:LID>
      7  <nk8:CID>CID Value</nk8:CID>
      8  <nk8:TID>TID Value</nk8:TID>
      9  <nk8:RID>RID Value</nk8:RID>
    10  <nk8:CC>OnError</nk8:CC>
    11  <nk8:AID>---------</nk8:AID>
    12  </nk8:Sr>
    13  </nk8:PR>') XMLCOL FROM DUAL)
    14  SELECT extractvalue(t.column_value,'//nk8:LID','xmlns:nk8="http://www.w3.org"') "LID",
    15   extractvalue(t.column_value,'//nk8:CID','xmlns:nk8="http://www.w3.org"') "CID",
    16   extractvalue(t.column_value,'//nk8:RID','xmlns:nk8="http://www.w3.org"') "RID",
    17  extractvalue(t.column_value,'//nk8:CC','xmlns:nk8="http://www.w3.org"') "CC"
    18  FROM xml_table, table(xmlsequence(extract(xmlcol,'/nk8:PR/nk8:Sr','xmlns:nk8="http://www.w3.org"'))) t;
    LID        CID        RID        CC
    LID Value  CID Value  RID Value  OnError

  • Create XLS file of 12 lakhs rows stored into oracle database.

    Respected All,
       My requirement is :
    Into my database , in one of my table has 12 lakhs rows. Now I want to create a PLSQL procedure which can convert all those rows into Microsoft .XLS file.
    So I tried out with Procedure below : -
    CREATE OR REPLACE PROCEDURE SCOTT.EMPLOYEE_REPORT(
    DIR IN VARCHAR2, FILENAME IN VARCHAR2) IS
    F UTL_FILE.FILE_TYPE;
        CURSOR AVG_CSR IS
        SELECT ENAME, DEPTNO, SAL
        FROM EMP;
    BEGIN
    F := UTL_FILE.FOPEN(DIR, FILENAME,'W');
    UTL_FILE.PUT_LINE(F, 'REPORT GENERATED ON ' ||SYSDATE);
    UTL_FILE.NEW_LINE(F);
    FOR EMP IN AVG_CSR
    LOOP
    UTL_FILE.PUT_LINE(F,
    RPAD(EMP.ENAME, 30) || ' ' ||
    LPAD(NVL(TO_CHAR(EMP.DEPTNO,'9999'),'-'), 5) || ' ' ||
    LPAD(TO_CHAR(EMP.SAL, '$99,999.00'), 12));
    END LOOP;
    UTL_FILE.NEW_LINE(F);
    UTL_FILE.PUT_LINE(F, '*** END OF REPORT ***');
    UTL_FILE.FCLOSE(F);
    END EMPLOYEE_REPORT;
    COMMAND TO EXECUTE THE PROCEDURE IS : - >
    EXEC EMPLOYEE_REPORT('UTL_FILE','TEST.XLS')
       in this package , I used scott user table for the r & d.
    While I execute this package , I got the error :
    ORA-29280: invalid directory path
    ORA-06512: at "SYS.UTL_FILE", line 18
    ORA-06512: at "SYS.UTL_FILE", line 424
    ORA-06512: at "SCOTT.EMPLOYEE_REPORT", line 8
    ORA-06512: at line 1
       KINDLY HELP ME TO SOLVE THIS PROBLEM
    THANKS/ REGARDS
    HARSH SHAH
    URMIN GROUP OF COMPANIES

    Hi,
    first of all try to use international measures. Any time I see lakh I have to google to find what it is.
    So you are trying to put in an Excel file 1.200.000 records (more than 1 million).
    Actually even if you would produce such file Excel will not be able to load it.
    Even in the latest version of Excel (2013) the maximum number of rows per sheet are 1,048,576 (source: Excel specifications and limits - Excel - Office.com).
    So if you will try to load in Excel such a big file you will get an error.
    And, as Blue has said, you are not producing an Excel file with your statement.
    Regards.
    Al

  • Read XML data and Insert into SQL Database

    Hi Everybody,
    i am new to Oracle SOA.
    Can anybody help me out to how to insert xml data into sql server using BPEL and JDeveloper (with clear steps).
    thanks in advance
    Vishnu Kumar

    Hi Peter,
    you are right,at high level i was able to figure at these things.
    But i don't know how to implement it using jdeveloper.
    It will be more helpful if you can give me detailed steps to do it.
    Thanks
    Vishnu Kumar

  • Convert the flat file to xml format.

    hi,
    I need to write a interface program in the R/3  to pull the flat file data from the unix application server and do some manipulation and place back into the unix application server in XML format, From the unix box XML file taken by the XI server.
    pls give me some idea to convert the flat file to XML format, through any function module or any other logic is there...
    with regards,
    Thambee.

    Hi Thambe
    in addition to the above posts
    Program to convert flat file to XML file.
    please download tool from this link:
    http://www.download.com/Stylus-Studio-2008-XML-Enterprise-Suite/3000-7241_4-10399885.html?part=dl-StylusStu&subj=dl&tag=button&cdlpid=10399885
    how to use:
    http://www.stylusstudio.com/learn_convert_to_xml.html
    http://www.sap-img.com/abap/sample-xml-source-code-for-sap.htm
    Flat file to XML
    CONVERTION OF FLAT FILE TO XML : NO OUT PUT FOUND
    Converting Idoc flat file representation to XML
    how to convert flat file into IDOC-XML
    Thanks
    sandeep sharma
    PS ; if helpful kindly reward points

  • Flat file to XML in SAP SFTP adapter

    Hello All
    I am trying to convert flat file to xml using SAP SFTP adapter.
    Flat File is like below:
    AABEN;20141106;20141106;45;0.00
    AABOL;20141106;20141106;45;0.00
    ABGRI;20141106;20141106;45;0.00
    ADDEA;20141106;20141106;45;0.00
    ALADA;20141106;20141106;45;58.43
    AMSCH;20141106;20141106;45;0.00
    ANOLV;20141106;20141106;45;0.00
    ANROY;20141106;20141106;45;0.00
    AVMCD;20141106;20141106;45;0.00
    Message Type structure I created like below
    In Server SFTP adapter in Module tab I am using "AF_Modules/MessageTransformBean" and conversion type ="StructPlain2XML"
    I am getting error = "Error: com.sap.aii.af.sdk.xi.adapter.trans.TransformException: Transformer Conversion3.0.5226 Error initializing Class: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found (4408) Parameter 'xml.keyFieldName' is missing (4403) Parameter 'xml.keyFieldType' is missing (4403) ; nested exception caused by: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found (4408) Parameter 'xml.keyFieldName' is missing (4403) Parameter 'xml.keyFieldType' is missing (4403) "
    I am not using any key field then please let me know how to overcome this issue.
    I searched on SDN but did not get any perfect answer.
    Thanks
    Dheeraj Kumar

    Hello Dheeraj,
    Thanks for your reply. I created a new discussion,
    Flatfile to XML
    Thanks well in advance for your help!
    -Satish.

  • Uploading Data from a Flat file into Oracle Database

    Hi,
    I am a novice to Java . SO, please bear with me. I have a reqiurement where I have a flat file or excel file from which I need to read the data and insert into Oracle Database. The falt file will exist on the client machine. I have been reading and I see this can be done through I/O Streams. Correct me if I am wrong. I am looking for a sample code to get started. Any Java expert has an answer for it, I will appreciate it.
    Thanks

    Try UploadBean. It allows to upload files (from a browser) in Oracle.
    http://www.javazoom.net/jzservlets/uploadbean/uploadbean.html
    You will find JSP and servlet samples.

  • Classes for converting a flat file to XML

    I've been asked to convert text in a flat file to an XML document. The XML document must conform to an XML schema. Currenlty, there is no requirement to store the resulting xml in the database.
    Therefore my approach will be:
    1. parse the flat file and store the contents in an array (the flat file and target xml is fairly simple in structure)
    2. Transfer the contents of the array to the xml structure
    3. validate the xml against the schema
    I'm new to Java. Therefore, what classes should I be using to assist in step 2. Obvoiusly, I dont want to have to write my own implementation from scratch (i.e. a method to build an element, method to escape reserved characters etc).
    Could you please suggest classes that cover both DOM and SAX API's.
    I'm working with a 9.2.0.4 database and XDK.
    Thanks

    The Stylus Studio may be used to convert text file to XML.
    http://www.stylusstudio.com/text_file_to_xml.html
    Another reference:
    http://www.devx.com/getHelpOn/10MinuteSolution/20356

Maybe you are looking for

  • A Better Way to Edit RAW with External Editor?

    The settings for the external editor will only let you edit the images in Tiff or PSD, I want to edit the RAW image itself. The only way I know how to do that is expert the master, edit it and then import it back in. This is a hockey workflow and fru

  • Opening + Debit - Credit where vdate :Date_from in report

    Hi All I have 2 Table one is COA 2nd is CB In COA i have two acc_id,Opening and in CB i have 4 Column Cb_acc_id, Debit Credit vdate When i Run this query in report Select acc_id,Opening_balance,cb.C,Cb.D from COA,+ *(Select cb_acc_id,sum(nvl(dabit,0)

  • I can't believe no one has ever had this problem

    This has been mentioned on a couple of other forums so someone surely must have come across this I'll try again I am on a PC using XP. I downloaded a trial version of Flash 8. It worked the first couple of times but now refuses to load at all. Occasi

  • Flash applications don't work properly everywhere.

    For example http://www.iheartradio.com/cc-common/news/sections/special/linkinpark/ - radio isn't working. Works in IE thought. And I can't grab files from youtube via orbit downloader(can do via IE).

  • Regarding event & command in smartforms

    i have an assignment like this,i need to develop an smartforms in which employees details will come page wise means for first employee the details will come in the first page for second employee the details will come in the second page like this i ne