Import xml zip file into database

Should it be possible to zip the xml file and insert the that zip file into database?

Hello,
You can refer to <p>this article to see how store/edit files with the Webutil library<p><br><br>
Francois

Similar Messages

  • How to import a excel file into database?

    hi all,
    How can I import a excel file into database?
    What I need to do first?
    Thanks,
    Amy

    1. Create a conrtol file in your disc(with notepad) ex
    test_loader.ctl
    LOAD DATA
    INFILE='C:\Testcsv.csv'
    into table test_table
    FIELDS TERMINATED BY ','
    TRAILING NULL COLS
    (ID,COL1,COL2,COL3)
    The table descrption is
    scott@ORCL> desc test_table;
    Name Null? Type
    ID NUMBER
    COL1 VARCHAR2(10)
    COL2 VARCHAR2(10)
    COL3 VARCHAR2(10)
    scott@ORCL>
    2 .Create a file testcsv.csv from your excel file you want to load with " save as" csv comma seperated value
    in your hard disc c:\
    3. in dos command mode write
    C:\>sqlldr scott/tiger control=c:\testcsv.ctl log=c:\testcsv.log
    Thats it!

  • Import a text file into database

    If anybody could help me with this, i would GREATLY appreciate it! I need to write a procedure to import a text file into an oracle database table. -Thanks!

    See my response in Re: import a text file into database.
    Cheers, APC

  • Import XML/DTD files into iStudio

    I am having Spect Generator files with extension .ecs files
    I need to import these files into iStudio to create commonview. iStudio accepts either XML or DTD formats
    How can I convert these files to XML or DTD files without losing the Structure layout or EDI format ?
    Let me know ASAP.

    Hi,
    I don't know what ".ecs" files are, but it sounds that you may need to create / use D3L dtd's.
    Please look at
    Oracle Application Server InterConnect User’s Guide 10 g (9.0.4)
    Part No. B10404-01
    and especially Appendix B for more information.
    You can download it from
    http://download-east.oracle.com/docs/cd/B10465_01/integrate.904/b10404.pdf

  • Loading XML(XSD) file into database by validating the format in file

    Hi,
    I have a file whose format is predefined as listed below
    <?xml version="1.0" encoding="utf-8" ?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:element name="VVV">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="VVVHeader">
                        <xs:complexType>
                        <xs:sequence>
                        <xs:element name="UniqueIdentifier" type="xs:SEQ0001"/>
                        <xs:element name="VVVFileType" type="xs:123"/>
                        <xs:element name="FileCreatedDatetime" type="xs:23-MAY-2006"/>
                        <xs:element name="ScanDatetime" type="xs:23-MAY-2006"/>
                        <xs:element name="BatchID" type="xs:456"/>
                        <xs:element name="BatchSequence" type="xs:1001"/>
                        <xs:element name="DataEntryDatetime" type="xs:23-MAY-2006"/>
                        </xs:sequence>
                        </xs:complexType>
                        </xs:element>
                        <xs:element name="VVVDetail">
                        <xs:complexType>
                        <xs:sequence>
                        <xs:element name="RRRLocalOffice" type="xs:Mumbai"/>
                        <xs:element name="Duplicate" type="xs:No"/>
                        <xs:element name="ReRegMarker" type="xs:boolean"/>
                        <xs:element name="RegistrationMark" type="xs:Vishnu"/>
                        <xs:element name="RegMarkCheckDigit" type="xs:12S"/>
                        <xs:element name="TaxClassCode" type="xs:67"/>
                        <xs:element name="ExternalMakeCode" type="xs:Maruti"/>
                        <xs:element name="ExternalModelCode" type="xs:800LX"/>
                        <xs:element name="RRRMakeCode" type="xs:Mar"/>
                        <xs:element name="RRRModelCode" type="xs:800LV"/>
                        <xs:element name="RRRVehicleBodyCode" type="xs:98"/>
                        <xs:element name="RRRColourCode" type="xs:red"/>
                        <xs:element name="RegistrationDate" type="xs:23-MAY-2006"/>
                        <xs:element name="ChassisNumber" type="xs:num123"/>
                        <xs:element name="HC" type="xs:1.22"/>
                        <xs:element name="UnWeight" type="xs:90"/>
                        <xs:element name="NoSeats" type="xs:four"/>
                        <xs:element name="NOx" type="xs:2.22"/>
                        <xs:element name="RevenueWeight" type="xs:34"/>
                        <xs:element name="CO2" type="xs:55"/>
                        <xs:element name="Particulates" type="xs:long"/>
                        <xs:element name="CO" type="xs:3.33"/>
                        <xs:element name="HCNOx" type="xs:4.44"/>
                        <xs:element name="TrailerWeight" type="xs:66"/>
                        <xs:element name="StationaryLevel" type="xs:77"/>
                        <xs:element name="EngineSpeed" type="xs:88"/>
                        <xs:element name="DriveBynature" type="xs:99"/>
                        <xs:element name="SMMTFleetCode" type="xs:yel"/>
                        <xs:element name="Purchasercode" type="xs:4004"/>
                        <xs:element name="IndustryofUse" type="xs:office"/>
                        <xs:element name="OriginalDealerCode" type="xs:tr56"/>
                        <xs:element name="SellingDealerCode" type="xs:se23"/>
                        <xs:element name="bill110" type="xs:srira"/>
                        <xs:element name="bill111" type="xs:mula"/>
                        <xs:element name="SalesType" type="xs:krish"/>
                        </xs:sequence>
                        </xs:complexType>
                        </xs:element>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>
    I would like to update this into a a table by validating the format of the XSD file.
    I will be having several similar files.
    Steps I will be doing on this are
    1 > Pick up file from a directory one at a time
    2 > Validate the format of XSD file
    3 > If valid load into a table
    How can I achieve above steps using PL/SQL
    Pls mail me ur suggestions on very urgent basis
    Thanks in advance
    Vishnu

    Really this should be in the XML forum, but anyway....
    Just a small question... It looks as though you are using an XML schema (XSD) to store your table information along with it's data, am I correct? Seems very bizarre thing to do.
    If you are using Oracle 10g you can drop your file into the Oracle WebDAV area (XDB) and from there you can access the XML as an XMLTYPE using something like...
    SELECT rv.res.extract('/Resource/Contents/*')
    FROM   resource_view rv
    WHERE  lower(rv.any_path) = lower(lc_filename)Once you have it in the XMLTYPE variable from that query, and because your schema doesn't really define the datatypes etc. it's gonna be up to you to parse the XML using something like the DBMS_XMLDOM package and process that into create table statements or something.
    Certainly looks like you've got yourself a nice task to do there. Glad I'm not doing it.
    ;)

  • I am trying to import BPM Project.zip file into Oracle enterpriserepository

    I am trying to import BPM Project.zip file into Oracle enterpriserepository from admin tab.
    I am getting the following exception. please help if any one know the solution.
    Performing import...
    Import Failed: Error [100]: An unknown server-side error occurred. Please record stack trace (if available) and contact technical support.
    com.flashline.exception.LoggableException: trouble parsing file in import bundle: SampleWScall/activityGuide.agdl
         at com.flashline.cmee.openapi.service.subsystem.impexp.XMLTranslator.decode(XMLTranslator.java:157)
         at com.flashline.cmee.openapi.service.subsystem.impexp.ImportJob.doJob(ImportJob.java:74)
         at com.flashline.cmee.openapi.service.subsystem.impexp.AbstractJob.perform(AbstractJob.java:75)
         at com.flashline.cmee.openapi.service.subsystem.impexp.JobThread.run(JobThread.java:41)
    Audit results stored in:
    C:\Users\AVINAS~1.YEL\AppData\Local\Temp\import-4705112223687937017.log
    Audit for [Import job.] created on [2012-09-24 11:53:59 IST].
    2012-09-24 11:53:59 IST - Adding Import job with ID=[50403] to job queue.
    Thanks in Advance.

    Hi
    Why are you trying to import BPM zip file are you trying to configure the out of the box workflows?
    They are something that need to be deployed from the process admin on BPM.
    There would be the .exp file you would need as its BPM 10g that you would need to use.

  • How to import an .csv file into the database?

    and can we code the program in JSP to import the.csv file into the database.

    It is better to use Java class to read the CSV file and store the contents in the database.
    You can use JSP to upload the CSV file to the server if you want, but don't use it to perform database operations.
    JSPs are good for displaying information on the front-end, and for displaying HTML forms, there are other technologies more suitable for the middle layer, back end and the database layer.
    So break you application into
    1) Front end - JSPs to display input html forms and to display data retrieved from the database.
    2) Middle layer - Servlets and JavaBeans to interact with JSPs. The code that reads the CSV file to parse it's contents should be a Java Class in the middle layer. It makes use of Java File I/O
    3) Database layer - Connects to the database using JDBC (Java Database Connectivity), and then writes to the database with SQL insert statements.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Keeping the above concepts in mind, first build a simple JSP and get it to work,
    then research on Google , for Java File I/O , discover how to read a file,
    Then search on how to readh a CSV file using Java.
    After researching you should be able to read the CSV file line by line and store each line inside a Collection.
    Then research on Google, on how to write to the database using JDBC
    Write a simple program that inserts something to a dummy table in the database.
    Then, read the data stored in the Collection, and write insert statements for each records in the collection.

  • I have imported a Zip file, mp3 music to desktop. How do I move it into iTunes?? I have tried drag/drop, import to library, both without success. Can anyone help, please.

    I have imported a Zip files, mp3 music to my Desktop. How do I move it into iTunes. I have tried d/drop and also Import to Library without success. Can anyone help, please?

    Many thanks to Limnos and King Penguin.
    I have discovered! I needed software to Unzip and was directed to Stuffit from the App Store. Suddenly it is simple.
    Download Zip File to Desktop.
    rt>  Zip        >Open with.....     >Stuffit     Progress Bar: 'Expanding' follows. Then a blue folder (manilla) returns to Desktop.
    Open iTunes     >File     >Import to Library      From drop down select  the now expanded contents of Zip file, then     >OPEN    
    iTunes takes over and imports -  Job's Done!! 
    Thanks again

  • Loading XML files into Database table

    Loading XML files into Database table
    Hi I have some XML files say 100 files in a virtual directory created using &quot;Create or replace directory command&quot; and those files need to be loaded into a table having a column of XMLTYPE. 1)How to load that using Oracle provided procedures/packages

    Check out the Oracle XDB Developer's Guide, Chapter 3. There is an example of using BFileName function to load the xml files from a directory object created using create or replace directory. It works really well.
    Ben

  • How to import a zipped file?

    Hi-
    I am trying to import a zipped file (UCSF hospitalist handbook) into itunes, so I can then put it on my iphone. I've used this handbook on my palm pilot for years, but would like to now use it on my iphone. I cannot seem to import it into itunes though. I downloaded from here: http://www.meistermed.com/isilodepot/isilodocs/isilodocs_ucsf_hospitalisthandbook.htm:
    but then don't know how to get into itunes. Any help is greatly appreciated!

    Zip files are like wrapped presents. You have to unzip them to see what goodies are inside!
    Usually double-clicking the Zip file will give you a dialog to start the extraction.
    If by any chance that doesn't work, right-clck the ZIP file and choose Open With > Compressed Folders.
    Presumably the contents will turn out to be iTunes-compatible files and you can add them to your library.

  • Upload .txt file into Database Table

    Hi,
    I was wondering if someone could please point me in the right direction. I've been looking around the forum but can't find anything to help me achieve the following.
    I would like to be able to upload a .txt file using a webpage. Then store the information inside this file into database tables.
    eg. contents of mytextfile.txt:
    richard
    10 anywhere street, anytown, somewhere
    111 222 333 444
    joe
    9 somestreet, elsewhere
    999 888 777 666
    peter
    214 nearby lane, overhere
    555 555 555 555
    I would like to insert this data into a table.
    eg. table name = CONTACTS
    userid = primary key (using sequence)
    username = (line 1 - richard, joe, peter)
    address = (line 2)
    phone_no = (line 3)
    As you can see the records will appear 1 at a time and will have a blank line between records. Is there anyway for me to upload a file like this and have it placed into tables?
    I have seen http://otn.oracle.com/products/database/htmldb/howtos/howto_file_upload.html but this seems to be for uploading a whole file and downloading the same file, rather than extracting data from the file.
    I hope I have managed to explain my problem.
    Many thanks,
    Richard.

    Richard,
    HTML DB allows you to upload CSV files via the Data Workshop. That data would then be parsed and inserted into a specific table. Alternatively, if you have your data in an Excel spreadsheet, and it is less than 32k, you can copy & paste the data directly into HTML DB's Data Workshop, which will then parse and import it into the Oracle database.
    The one obstacle you may have to overcome is converting your data from the format you outlined to CSV format. Specifically, you would have to make this:
    richard
    10 anywhere street, anytown, somewhere
    111 222 333 444
    Look something like this:
    "richard","10 anywhere street, anytown, somewhere","111 222 333 444"
    Hope this helps,
    - Scott -

  • Bizarre problem trying to import .MTS (AVCHD) files into PSE7 Organizer

    Hi
    b Summary of problem:
    *I recently upgraded to PSE 7 / PRE 7
    *I am trying to import .MTS (AVCHD) files into the PSE7 Organizer
    *I get a "...did not contain any supported file types..." error on attempted import
    b HOWEVER...
    *I can edit same footage in PRE7
    *This footage is automatically added to the Organizer
    *I can play this footage in the PSE7 organizer but generating thumbnails takes ages
    *Camera: Sony HDR SR12 producing .MTS files (full 1920x1080i HD)
    *PC: Intel Core i7 940 CPU, 6GB RAM, RADEON HD 4870 512MB
    *OS: Vista 64 bit
    b Detail:
    I have recently upgraded my PRE/PSE bundle to ver 7 primarily because the new version of PRE boasts support for AVCHD.
    Having installed the new software I quickly tried editing footage in PRE7 with video taken on my Sony HDR SR12 camera (footage taken in full 1920x1080i HD) and it works! Hoorah! I can now finally edit AVCHD footage in it's native format using PRE. Thank you Adobe!
    But my joy was very shortlived because when I tried to import some other footage from the same batch into my PSE7 Video Catalog it wouldn't work. I got a pop up box containing the following error:
    i "Nothing was imported. The file(s) or folder(s) selected to import did not contain any supported file types, or the files are already in the catalog."
    Under this message is a list of the files that I tried to import. Next to each one there is a reason (it's the same reason for each clip):
    i "Reason: The file is damaged or is a format that cannot be included in the Organizer."
    To import files I use the following method: File / Get Photos and Videos / From Files and Folders
    HOWEVER, the files that I imported directly into PRE7 in order to edit them have (surprise, surprise!) automatically been added PSE7 Organizer's Catalog. It takes a quite a while to generate a thumbnail for each clip but it does eventually do it and when it does I can play that footage in PSE7.
    Just in case you're confused by this stage... If I try and manually add files to the PSE7 Organizer it doesn't work BUT if I edit that footage in PRE7 and then load the PSE7 Organizer I see the footage has been automatically added. This makes no sense whatsoever!
    Am I doing something really stupid here? Why oh why will the PSE7 Organizer not import .MTS (AVCHD) files?!
    NB: While searching for a solution to this problem I have, thanks to this Forum, found out about the K-Lite Codec Pack. I downloaded and installed the Basic pack v4.4.5 and now I can, at least, play my .MTS video files in Windows Media Player... I wish I had found out about that a couple of months ago because it would have saved me from buying Cyberlink PowerDVD 8!
    Please someone help before I lose the plot.
    Thanks
    Patrick
    b PC: Intel Core i7 940 CPU, 6GB RAM, RADEON HD 4870 512MB, Vista 64 bit
    b Camera: Sony HDR SR12 producing .MTS files (footage in full 1920x1080i HD)

    Hi
    I'd just like to add an update to this post.
    b Summary:
    *K-Lite Codec Pack clashes with Sony's Picture Motion Browser (PMB) software
    *Analysis of video in Sony's PMB is well worth doing!
    *You can Drag and Drop clips from Sony's PMB into PRE7
    b Detail:
    As you've probably gathered I have now settled on using Sony's Picture Motion Browser (PMB) to Catalog all my video. Sorry Adobe to talk about someone elses product but the Adobe Organizer just can't cope with AVCHD footage no matter how you manage to import it! It's far too sluggish and my PC has an Intel Core i7 940 CPU with 6GB RAM and a 10,000 RPM HDD!
    Anyway, in my first post you'll have read me raving about the K-Lite Codec Pack but sadly I've had to uninstall it because it kept on causing PMB to crash. PMB runs much smoother and quicker WITHOUT that codec pack. Something about it clashed with PMB. The once agile PMB became sluggish and unresponsive.
    Having now removed the codec pack PMB is back to being agile and generaly lovely.
    To view AVCHD footage outside of PMB I have reverted to using Cyberlink's PowerDVD 8 - there's always a pregnant pause between double-clicking on the clip and it playing but that's the only drawback.
    If you are going to use Sony's PMB for cataloging your video collection (and I recommend you do so BUT only if you have AVCHD footage - otherwise stick to Adobe's Organiser) then I can fully recommend "Analyzing" all of your footage. This takes time and a bit of patience because it kept stopping for no apparent reason but would readily start up again (without having to do anything else) BUT once it's done it'll reward you with the following:
    *Filter on any combination of Scenery, People, Smiles - e.g. with a click of a button you can isolate footage that contains smiles, etc
    *Face Search - if you select some or all of the footage in the right-hand pane it will then put a small thumbnail for all of the different faces in that selected footage in the bottom "Face Search" pane. If you then click on one of those thumbnails it will jump to the clip(s) that contain that face and grey out all the other clips
    *Expand Videos - This tool is brilliant! In normal viewing mode you get a thumbnail of the video whether you're in Folder view, Calender view or Detail List view. If, however, you select "Expand Videos" from the tool bar it will show you a series of frames contained within that clip. You can choose from "Highlights" or various regular intervals (5 secs, 10 sec, 30 sec, 1 min, etc). The Highlights option does a pretty good job of picking out the significant changes within the clip
    Lastly, I have discovered that you can drag a clip from Sony's PMB into PRE7. It won't let you put it directly onto the Timeline but it will let you drop it into the Project file list (found under the Edit tab).
    I do hope that this info has helped others like me who are trying to get to grips with editing and cataloging AVCHD footage.
    Patrick

  • I can't import my iTunes files into pages, how can i fix the privileges problem?

    when i try to import any mp3 file into a pages document, i get an access privileges error saying it is either corrupt, damaged or "can't be used" because I don't have access privileges. This has happened since I moved my iTunes library to an external drive.  Anyone have any solutions?  The privileges on both the library folder, and all its files are set to read and write for sharing and permissions.

    If you do not have done so, set the "Ignore Ownership" flag on the external drive. YOu can set this flag from the "File > Get Info" panel for the drive.
    How is your external drive formatted?
    Can other applications open these mp3 files? QuickTime? Do they play in the Finder preview?
    Do the filenames contain special charcters?
    Léonie

  • Error While Importing from EIF file into AW

    Hi All,
    I am facing the following error while importing from EIF file into AW using AWM as well as from sql prompt.
    java.sql.SQLException: ORA-36786: (IOSEC04) File POCAW/abc.eif does not exist or cannot be accessed.
    ORA-06512: at "SYS.DBMS_AW", line 42
    ORA-06512: at line 1
    at oracle.olap.awm.eif.eifimport.ImportDialogActionThread.doExportOrImport(ImportDialogActionThread.java:172)
    at oracle.olap.awm.eif.EifDialogActionThread.doAction(EifDialogActionThread.java:58)
    at oracle.olap.awm.ui.dialog.ThreadedDialogActionThread.run(ThreadedDialogActionThread.java:49)
    i have already created the directory pocaw.
    i have done the following steps :
    CREATE OR REPLACE DIRECTORY POCAW as 'D:\Olap_POC\export';
    GRANT all ON DIRECTORY POCAW to PUBLIC;
    execute dbms_aw.execute ('aw create ''POC_AW''');
    execute dbms_aw.execute('cda pocaw');
    execute dbms_aw.execute('dtb attach POC_AW rw');
    execute dbms_aw.execute('import all from eif file ''/abc.eif'' dfns update ');
    any idea or thought would be appreciable.
    thanks n advance
    anwar

    execute dbms_aw.execute('import all from eif file''/abc.eif'' dfns update ');
    Maybe one of the following file names could help
    (have never tried it):
    ''abc.eif''
    ''POC_AW\abc.eif''Yes,
    you don't need the slash. CDA is like setting a default directory.

  • How to Import Vector Identified Files into Photoshop Without Losing Quality

    Hello,
    I am creating a series of music worksheets on photoshop. I have created some music scores in a music writing software called Sibelius 7. It has the capability to export the sheet music graphics in the following forms: .pdf, .eps, .bmp, .tiff, .png, .svg .
    However, I have tried to 'place' each of them into my photoshop file to see which one will work. But on saving the photoshop document as a .pdf with any of the graphics formats, the vector quality of the image has been lost, as it pixelates on zooming in. I have also tried to import an .svg file into adobe illustrator to save it as an .ai file and then import that into photoshop, but the image is again pixelated.
    I don't really know what is happening, as I am essentially trying to import a file that is a vector (or at least does not pixelate on zooming) into photoshop, hoping for the same qualities to be retained, but it is being lost for some reason.
    What should I do?
    Thank you.

    Thank you for your reply. I opened the vectored pdf into illustrator. I tested illustrator by saving that document as a new pdf and the vector quality was still retained. I the following images, I copied and pasted the vector from illustrator into photoshop. However, on saving this new photoshop document as a pdf, it does not retain the vector format, as you can see with the pixelation that occurs when zooming in on an object.
    Thank you.

Maybe you are looking for