Export to XML / import from xml

I would like to save my data (from various tables) in an XML document, and later re-import it to the database.
I am using Oracle 8.0. What are my best option? I saw there's a PL/SQL demo package DBXML on this site. But is there something that does the opposite direction (i.e., the import part)?

OTN has a sample app that might interest you:
XML Flight Finder queries the database and converts the result set to an XML document. It also takes input from a user, converts it to XML, then writes it to the database.
Regards,
-rh

Similar Messages

  • Problems with EXPORT TO MEMORY / IMPORT FROM MEMORY

    Hello.
    we've just made a SAP OS/DB migration of our 46C system from UNIX/Oracle to Windows/SQL.
    Our FI consultant has realized a processs failed.
    The ABAP program that files (it is a Z program) is using EXPORT TO MEMORY and IMPORT TO MEMORY.
    It seems the import is failing because the export to memory fails also.
    Of course we have changed memory parameters ..do you know what memory parameters are involved?
    Thanks very much for your help.

    It seems the import is failing because the export to memory fails also.
    Can you explain?
    Did you check the extended debugger facilities like memory areas?
    What is the structure/amount of data for ex- and import, same name, same data object?
    Just reveal what you are really doing, post a few code lines.
    Or not.
    Regards,
    Clemens

  • Export to memory/Import from memory

    When you're exporting to memory and there are multiple users on an online transaction.  Does memory mean the users own memory.  If multiple users are on AS02 and you have to custom sub screens and you want to export a field to memory on the 1st custom screen and import it on the other screen, is it possible to import another users memory if they're in that transaction doing the same thing?

    Hi,
      There are two types of Memories
    ABAP memory is a temporary memory which can store data for a session. In this case each user will have his own memory.
    For more information on ABAP Memory click the below link
    http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb3bc4358411d1829f0000e829fbfe/content.htm
    SAP Memory is used to store and access data from different sessions. Users accessing the memory will have the same data.
    Regards,
    Vara

  • I have successfully exported subtitles (XML files) from FC version 7 to FC version 6, by choosing Apple XML Interchange Format Version 4. Now the exported subtitles suddenly read in one long line, at the top, not registering any "Enter" keystrokes.

    I have successfully exported subtitles (XML files) from FC version 7 to FC version 6, by choosing Apple XML Interchange Format Version 4. Now the exported subtitles suddenly read in one long line, at the top, not registering any "Enter" keystrokes. The same happens even if I re-import the XML file into Final Cut Version 7 (from where I exported the subtitles). Any tips on how to fix this?

    You might see if you can bring the xml file into Title Exchange Pro
    http://www.spherico.com/filmtools/TitleExchange/
    It's a great program and the author was very responsive when I had a problem.
    If it reads correctly, you can probably save it back out. 
    If you want to send it to me, I'll see if it opens.
    [email protected]

  • UCSPE XML parsing error when importing from live UCS

    Hi all,
    I'm trying to import our live UCS hardware inventory in to the UCS platform emulator but keep getting an error stating:
    Server Error: code ERR-xml-parse-error: XML PARSING ERROR: no class named computeExtBoard
    The UCSPE imports all of our chassis' and blade servers, but it's missing all the chassis fans and psus, and the dimms, hdds, cpus, and storage controllers from all the blades. I haven't been able to figure out how to download or export the hardware inventory from the live UCS Manager as an XML for editing/loading in to UCSPE. It looks like you can only export as XML from USCPE, not from UCS Manager. Anybody have experience dealing with this?
    Thanks in advance!
    Jordan

    Hi all,
    I'm trying to import our live UCS hardware inventory in to the UCS platform emulator but keep getting an error stating:
    Server Error: code ERR-xml-parse-error: XML PARSING ERROR: no class named computeExtBoard
    The UCSPE imports all of our chassis' and blade servers, but it's missing all the chassis fans and psus, and the dimms, hdds, cpus, and storage controllers from all the blades. I haven't been able to figure out how to download or export the hardware inventory from the live UCS Manager as an XML for editing/loading in to UCSPE. It looks like you can only export as XML from USCPE, not from UCS Manager. Anybody have experience dealing with this?
    Thanks in advance!
    Jordan

  • How to export table xml from ID CS4

    Hi,
    Could any one clarify my below doubts.
    I have an xml file for Table. The root tag <informaltable> of the table have the attributes id="xx" and float="0". This xml file is imported into the Indesign document without any problem.  But when I export the xml from Indesign, these attributes were not exported. Only the XML tag is exported.
    Could anyone tell how to export this table root tag with its attributes.
    Thanks,
    Gopal

    Apology for bu** in, but my general practice (or for that matter mentioned scripting manual) is that
    function ProcessProduct(){
        this.name = "ProcessElements";
        this.xpath = "//B/C"; 
    should be
    function ProcessProduct(){
        this.name = "ProcessProduct";
        this.xpath = "//B/C"; 
    name of the rule and matches theRuleName,but both of them seems to be working fine here.
    Defining correctly in ruleset does the trick
    var myRuleSet = new Array (new ProcessProduct);
    Does it not matter for having the same name or I am missing something.
    --PC

  • How to place multiple column tables in InDesign Layout by importing from XML

    Hi,
    I've an XML file that I need to import into InDesign Document. All the cell elements from Table tag  turn out be a "single column Table"..! How do I place a 2x2 or 3x2 tables in InDesign document while importing from an XML?
    Please help..!
    Thanks,
    Basav

    I might note that I am using InDesign CS 5, and importing from a document stored in docx format.

  • Problems with XML import from FCP 7 to Premiere Pro CS6

    Afternoon everyone.
    I'm currently trying to import an FCP 7 project file that I want to now edit and tweak in Premiere Pro (have recently realised i've been using Premiere far more so would like to start making a full switch over).
    I've gathered my original FCP project and exported via XML (Apple Interchange Format, Version 5) and imported it into a blank Premiere Pro project. However it gets to the import window, progresses fully to 100% and then throws this error message at me, and I can't seem to figure out why.
    I've tried exporting an XML for the whole project, with all bins/sequences/clips etc. I've also tried individual sequences/bins, and none of them want to import.
    Does anyone know why this is happening?
    Thanks,
    Adam

    Okay, after trying both steps in the document above, the missing codecs/preview presets still aren't available when I go to File>New>Sequence. I guess that's the only way to check if they have installed correctly/activated correctly right? It says it's correctly activated though so not sure why it's doing this.
    Are these presets also missing in the trial verison of the software?

  • ODI interface exported to XML

    Can ODI export an interface definition out to XML? I don't mean the interface data out to an XML target, I mean the metadata describing the interface itself, out from the work repository to an XML document. Is this provided as a feature in the tool?

    Yes. Right-Mouse-Button on the interface and there in the list is Export.
    Note that the export will contain references to the obejcts directly related to the interface by code, withing the project. The export must be imported into the same project elsewhere.
    There is some discussion on the export/import processes in the dicumentation.

  • Why can't merged clips be exported to XML?

    I merged my files from a double system shoot (with a Red camera and separate audio) - only to find that you can't then color correct outside of Premiere. I will grant I should have read the bottom of the merged file page which clearly states that you can't export an XML file with merged files but WHY?????????????? How do merged files benefit you if in the end you can't export to DaVinci for color correction? And from what I have found there are no work arounds. I tried to replace with original source video but the timecode of the merged file no longer matches that of the original source audio so I can't without resyncing and re-editing the whole thing - and our sound mixer has already done a significant amount of work on an OMF of the current project. And of course once I import that OMF and sync it to the video - I can't change the video because then I could have significant issues with the audio. I currently work in CS5.5 and would happily pay for an upgrade to Cloud if it solved this problem but from everything I have read it does not... it seems like a huge issue. I would rather not have the merged files function than have it lead me astray in this fashion.
    If anyone has found a solution let me know. Otherwise I was going to have the original source files color corrected by our colorist and link those to the project (luckily there aren't really internal clip issues and it's a short so it's only 28 clips total)?
    Any solutions greatly appreciated
    ===============================
    Title changed by moderator to make it descriptive of the issue/question--but mostly eliminate the all-caps. Shouting doesn't help

    Ah yes -- well very holistic approach I suppose... but considering my question "how to export a project with merged clips to an XML file?" - this doesn't actually answer that question. It is a work around. But one that requires me to find and hire another colorist (and let's be honest a large portion of the post-production community works with Resolve) and I don't think I am being unreasonable for expecting Adobe to have considered the possibility of this work flow (editing a project in Premiere and then moving to a commonly used platform such as Davinci Resolve to color correct). Or yes I could learn SpeedGrade but if I had the time to color correct the project myself we wouldn't be hiring someone else to get the project completed in a timely manner... so yeah it's a work around that doesn't really work. I am hoping having the original source video color corrected will make it all work - and I will NEVER used the Merged Clip feature in Premiere ever again. And wish there was some way for me to warn others against falling victim to its charms as well.

  • Marked up index exported to XML

    Hi,
    I'm very new to ID. I am currently importing Excel tables into Indesign. Basically, my book/chapters are made up of tables. Next, I need to create an index therefore, I started marking up my content (creating index entry page references). Once our book is done we need to export this content to XML. I realize i can map styles to tags for the export to XML. However, my question is how can I export the markedup index content to xml? The whole idea of going from Excel to ID was so that we wouldn't have to do the index twice.
    Any advice would be much appreciated.

    With Scripting, you can do just about everything, except the one thing I wanted to show (off): creating a run of text in memory, then loading your 'place text cursor' with it ...
    Anyway, this little javascript shows you how to "get" the index entries themselves out of InDesign. This is just the list of entries; each entry in itself (going by the name of "Topic") contains a list of PageReferences -- zero or more -- that point to the actual text insertion point where each of the entries proper reside in your full text. Weeding them out one by one should also be possible, and even automatically putting XML tags around them, but you have to remember they need to be "visible" in your plain text to be able to export. With that, I mean it might well be possible to write a script that writes out every entry as "plain text" (and possibly, including the correct tags), but they *will* appear inside the text where you inserted the actual index entry. Hence, my suggestion of very small and invisibly colored text.
    I guess you'll need to think about how to handle this.
    This is my "proof of concept" scriptlet; it only gathers the index entry list (with possible sub-entries) and displays them as an alert:
    var list = [ "My Index" ];
    for (i=0; i< app.activeDocument.indexes[0].topics.length; i++)
         list.push (app.activeDocument.indexes[0].topics[i].name);
         for (j=0; j<app.activeDocument.indexes[0].topics[i].topics.length; j++)
              list.push (" >> "+app.activeDocument.indexes[0].topics[i].topics[j].name);
    alert (list.join("\r"));

  • Structure inDesign document and export as XML for use in the web

    Hello everyone,
    I just recently started using inDesign and I am fascinated by its possibilities! I use it for a project where a finished inDesign layout that is used for a printed publication is now supposed to be transformed for implementing it on a web site. My job is to export the inDesign document as an XML file. After massive reading the last weeks I'm quite familiar with the structuring and tagging in inDesign. Though there's some issues I do not understand. Your precious advice would be of highest meaning to me
    The programmer who will later use my XML output for the web-transformation needs the document structured in different levels like "Root > Chapter > Subchapter > Text passage / table". I already structured the document with tags like title, text passage, table, infobox,... but the structure is just linear, putting one item following to another.
    How can I structure the document with reoccuring tags that enable me to identify the exact position of an item in the document's structure? So that I can say for example "text passage X" is located in chapter 4, subchapter 1. This has to be done because the document is supposed to be updated later on. So maybe a chapter gets modified and has to be replaced, but this replacement is supposed to be displayed.
    I hope my problem becomes clear! That's my biggest issue for now. So for any help I'd be very thankful!

    Our print publications are created in InDesign CS5 for Mac then the text is exported to RTF files then sent to an outside company to be converted to our XML specifications for use by our website developers.  I would like to create a workflow in which our XML tags are included in the InDesign layouts and then export the XML from the layouts.
    Some more detail about what kind of formatting is necessary might be helpful.
    I know that IDML files contain the entire layout in XML format.  Is it a good idea to extract what we need from IDML, using the already-assigned tags?
    Well, if you want to export the whole document, it's the only reasonable approach.
    We use a workflow system such that each story is a seperate InCopy document, stored in ICML format (Basically a subset of IDML). Our web automation uses XSLT to convert each story into HTML for use on our web site; it also matches it up with external metadata so it knows what is a headline and what is not, etc.. It is not exactly hassle free, and every once in a while someone uses a new InDesign feature that breaks things (e.g., our XSLT has no support for paragraph numbering, so numbered paragraphs show up without their numbers).
    You could do the same thing with with IDML, you'd just have to pick out each story, but that's small potatoes compared to all the XSL work you're going to have to do.
    On the other hand, there may be better approaches if you're not going to export the whole document. For instance,  you could use scripting to export each story as an RTF file, and then you could convert the RTF files into HTML using other tools.

  • PBDOM : Exporting to XML file gives a single line

    I've been starting developing with PowerBuilder 12.5 a few weeks ago. I had to write some XML files, so I got familiar with the PBDOM library.
    I can build a lot of different things, it's very nice, but one thing still bothers me :
    In the output file, the whole XML is written on a single line.
    I use the SaveDocument function.
    For example, here is some code :
    PBDOM_Document doc
    PBDOM_Element noderoot, node1, node11, node12
    doc = CREATE PBDOM_Document
    doc.NewDocument("NodeRoot")
    noderoot = doc.GetRootElement()
    node1 = CREATE PBDOM_Element
    node1.SetName("Node1")
    noderoot.AddContent(node1)
    node1.SetAttribute("Attr", "AttrValue")
    node11 = CREATE PBDOM_Element
    node11.SetName("Node11")
    node11.AddContent("Here is a value")
    node1.AddContent(node11)
    node12 = CREATE PBDOM_ELEMENT
    node12.SetName("Node12")
    node12.AddContent("Here is another value")
    node1.AddContent(node12)
    doc.SaveDocument("myDoc.xml")
    Here is the result when I open it with notepad++
    <NodeRoot><Node1 Attr="AttrValue"><Node11>Here is a value</Node11><Node12>Here is another value</Node12></Node1></NodeRoot>
    Whereas I wanted :
    <NodeRoot> <Node1 Attr="AttrValue"> <Node11>Here is a value</Node11> <Node12>Here is another value</Node12> </Node1> </NodeRoot>
    With the notepad++ XML tools plugin, I can use the "pretty print" function to get this nice representation. But I would like my file to be formatted this way from the beginning. I noticed that the "line ending" was set to UNIX format (indicator on bottom right of the window), but I'm working on Windows. When I use the menu to convert it to Windows format (CR+LF), it changes this indicator, but the code stays on one single line.
    Is there a way to tell PBDOM to export the XML file with a nice output ?
    Thank you !
    Notes :
    - Opening the XML file with Internet Explorer or Google Chrome gives me a nice vizualisation, with indentation, line breaks...
    - Adding a <?xml version="1.0" encoding="ISO-8859-1" ?> does not help (I've been doing it while exporting some more complex files, but I still get the output on one line...)

    Here is a very simple powerbuilder example. It uses MSXML instead of PBDOM. See my comments for hints how to use it with PBDOM.
    oleobject lole_dom, lole_root, lole_element1, lole_element11, lole_element12
    oleobject lole_Writer, lole_saxreader
    string ls_result
    // build DOM (you don't need this if you use PBDOM)
    lole_dom = create oleobject
    lole_dom.ConnectToNewObject ("Msxml2.DOMDocument")
    lole_root = lole_dom.CreateElement ("NodeRoot")
    lole_dom.documentElement = lole_root
    lole_element1 = lole_dom.CreateElement("Node1")
    lole_root.AppendChild(lole_element1)
    lole_element1.SetAttribute("Attr", "AttrValue")
    lole_element11 = lole_dom.CreateElement("Node11")
    lole_element11.AppendChild (lole_dom.CreateTextNode("Here is a value"))
    lole_element1.AppendChild(lole_element11)
    lole_element12 = lole_dom.CreateElement("Node12")
    lole_element12.AppendChild (lole_dom.CreateTextNode("Here is another value"))
    lole_element1.AppendChild(lole_element12)
    // this saves the DOM without formatting
    //lole_dom.save ("d:\testxml.xml")
    // this part is for formating
    lole_Writer = create oleobject
    lole_saxreader = create oleobject
    lole_Writer.ConnectToNewObject ("MSXML2.MXXMLWriter")
    lole_saxreader.ConnectToNewObject ("MSXML2.SAXXMLReader")
    lole_Writer.omitXMLDeclaration = True
    lole_Writer.indent = True
    lole_saxreader.contentHandler = lole_Writer
    // instead of DOM you can also put a XML string to parser: lole_saxreader.parse ("<node>...</node>")
    // so you can also use the PBDOM output directly
    lole_saxreader.parse (lole_dom)
    // here is your formatted output
    ls_Result = lole_Writer.output
    MessageBox ("", ls_result)
    lole_writer.Disconnectobject( )
    lole_saxreader.Disconnectobject( )
    lole_dom.Disconnectobject( )
    DESTROY lole_writer
    DESTROY lole_saxreader
    DESTROY lole_dom

  • Need help for Export to XML Functionality

    Hi All ,
    I have developed a report in Apex2.2 to export the data into XML format .
    I have used "export to XML" functionality and "HTF.escape_sc" function to escape special characters.The query is as follows..
    select
    HTF.escape_sc(replace (e.EVENT_NAME,'''','&'||'apos;')) AS EVENT_NAME ,
    HTF.escape_sc(replace (e.VENUE_NAME,'''','&'||'apos;')) AS VENUE_NAME ,
    HTF.escape_sc(replace (e.VENUE_ADDR,'''','&'||'apos;')) AS VENUE_ADDR ,
    HTF.escape_sc(replace (e.DESCRIPTION,'''','&'||'apos;')) AS DESCRIPTION ,
    HTF.escape_sc(replace (e.TRACKING_URL,'''','&'||'apos;')) AS TRACKING_URL ,
    HTF.escape_sc(replace (d.primary_product,'''','&'||'apos;')) AS primary_product
    from events e ,d_01 d
    where
    d.event_id = to_char(e.event_id)
    and e.publish = 'external'
    and e.searchable = 'Y'
    The output result in XML in APEX2.2 is absolutely fine , but when i moved the application to apex.oracle.com the XML report instead of '&' it is displaying "%26amp" .
    Is there any problem with APEX3.3 .
    Appreciate your quick response.
    Thanks
    Jyoti

    Jyoti,
    Replacing special characters from where? Report? Replacing by what?
    The code for the package is open. You may use the part in the package body:
    FOR i IN 1 .. CEIL (v_xml_l / 4000)
          LOOP
             v_xml_cut := SUBSTR (v_xml, v_count, 4000);
             HTP.prn (v_xml_cut);
             v_count := v_count + 4000;
          END LOOP;
    ...and do something like
    HTP.prn (REPLACE(v_xml_cut, '&amp;', '&amp;lt;'));
    ...Denes Kubicek

  • Framemaker 9.0p196 crashes while exporting to xml

    Hello,
    This occurs both with XP Pro SP3 and Win7 iSP 1 . On a XP Pro SP3 without domain connection  the crash does not occur. According to the event log caused  ntdll.dll the crash.
    Addendum: The XML is created correctly. this happens to all book projects, new and old. Does anyone have an idea?

    You could try checking your version of ntdll.dll (a Windows protected system file) for corruption using the "sfc /scannow" command. This replaces corrupted protected system files with the correct MS ones. Also, you could then check if there are any issues with the DirectX graphics (the drivers could be affecting the FM behaviourr) on your system using the DXDIAG utility.
    However, as it seems to happen on two systems, the corruption doesn't seem that likely of a culprit. Are you using FM with the structure or unstructured interface, i.e. is your workflow creating the XML using the Save As XML from unstrucured files or are you exporting the XML from a structured application?

  • Export to XML is grayed out.

    Hello.  I am trying to export an XML from FCPX for an editor to use in Avid.  My problem is that I highlight all the clips in the timeline and then I go to the top menu and try choose File  / Export XML and Export XML is grayed out, so I may not choose it.
    Is there any reason why this feature may be grayed out.  I am using the trial version of FCPX but nowhere does it say there are any limitations.
    Thank you very much for your time.
    _Deyson Oriz

    Thank Tom, I was hoping for 1 step procedure.  I hope an app comes out soon to make it easier.
    Have an awesome day!

Maybe you are looking for

  • IPod Application Crashes after 2.1 Update

    Did the 2.1 update this morning and everything seemed to go fine. Then I checked out mail, contacts, clock, third-party apps, etc. and they all worked just fine. Then I tapped the orange iPod icon and the splash screen appears, then goes black and ba

  • Reg: Collect statement in internal table

    Hi,    Can any one tell me wether we can use the collect statement in an internal table which has no header line if it can be used can anyone please send me a sample snippet Thanks In ADVANCE Guhapriyan Subrahmanyam

  • NetStream in Flex SDK

    HI I have a clinet and a server side WebCam applictions that is developted in Flex builder 3 and on top of Flash Media Server . in server side I have published a NetStream and in client side I have played a NetStream with same name the application wo

  • Monitor going blank

    Need help - Sometimes when I am on the computer for a good amount of time and watching a video or news clips, the screen goes black. the sound and works but I have to hit "any key" to get the screen to come back on. what causes that and how do I fix

  • Maybe Going Pro, But First A Question Or Two

    Hello All!! I have posted this question regarding DVD Menus and Chapters on the iDVD board (http://discussions.apple.com/thread.jspa?threadID=626363&tstart=0), and was advised to pose the same question here (since I have thoughts of purchasing a copy