Complex XML import

Hello,
I am faced with the task of importing a rather complex (about 50-60 tables, tree depth about 5-6, data in both attrs and nodes) XML tree into a relational schema (non-nested tables).
I have understood that the XSU/XMLSAVE is not that fond of attributes and stores sub-types as objects(?) so it's not an "out-of-the-box-solution". Is it worth trying to write XSL for it or should I just read the DOM-tree and iterate over it manually and store it? Are there any other alternatives?
Thanks in advance,
-Nik

Nicklas, do you need to insert into an existing relational schema?
If not, you could use XML Db's option to create an object-relational schema based on the XML-schema definition of your XML.
Load your xml-document into the XML-type table and the data gets loaded in the underlying object-relational schema. You can define vies on this object-relational schema for simple access.
Btw., if yes, then you could do the same en use simple SQL to move you data to the final tables.

Similar Messages

  • Complex XML - Import Server

    Hi,
    I have an XML structure as follows:
    <Root>
    <PartnerNum>123</PartnerNum>
    <FName>D</FName>
    <Lname>B</LName>
    <Address>
    <Add1>Address line 111</Add1>
    <Add2>Address Line 222</Add2>
    <PostCode>Po 1</PostCode>
    </Address>
    <Address>
    <Add1>Address line 333</Add1>
    <Add2>Address line 444</Add2>
    <PostCode>Po 2</PostCode>
    </Address>
    </Root>
    When I use import manager I can succesfully importby forming Joins (_ID field) between different XML structures... However when I use Import Server exception comes that I cannot use complex structures.
    How do I import these kind of structures using Import server?
    Regards,
    Dev.

    Simona,
    I am using similar approach - using joins to club multiple segments into one and then using this main one as the source table.
    Michael,
    Here is the schema as requested:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- Created with Liquid XML Studio 6.1.16.0 - FREE Community Edition (http://www.liquid-technologies.com) -->
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:element name="BusinessPartner">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element minOccurs="0" maxOccurs="unbounded" name="Partner">
                             <xs:complexType>
                                  <xs:sequence>
                                       <xs:element minOccurs="0" name="FirstName" type="xs:string" />
                                       <xs:element minOccurs="0" name="LastName" type="xs:string" />
                                       <xs:element minOccurs="0" name="PartnerNumber" type="xs:string" />
                                       <xs:element minOccurs="0" maxOccurs="unbounded" name="Address">
                                            <xs:complexType>
                                                 <xs:sequence>
                                                      <xs:element minOccurs="0" name="AddressLine1" type="xs:string" />
                                                      <xs:element minOccurs="0" name="AddressLine2" type="xs:string" />
                                                      <xs:element minOccurs="0" name="AddressLine3" type="xs:string" />
                                                      <xs:element minOccurs="0" name="AddressLine4" type="xs:string" />
                                                      <xs:element minOccurs="0" name="PostCode" type="xs:string" />
                                                      <xs:element minOccurs="0" name="DPS" type="xs:string" />
                                                 </xs:sequence>
                                            </xs:complexType>
                                       </xs:element>
                                       <xs:element minOccurs="0" maxOccurs="unbounded" name="ContactDetails">
                                            <xs:complexType>
                                                 <xs:sequence>
                                                      <xs:element minOccurs="0" name="ContactType" type="xs:string" />
                                                      <xs:element minOccurs="0" name="ContactInfo" type="xs:string" />
                                                      <xs:element minOccurs="0" name="ContactValidFrom" type="xs:string" />
                                                      <xs:element minOccurs="0" name="ContactValidTo" type="xs:string" />
                                                 </xs:sequence>
                                            </xs:complexType>
                                       </xs:element>
                                       <xs:element minOccurs="0" maxOccurs="unbounded" name="EmailAddresses">
                                            <xs:complexType>
                                                 <xs:sequence>
                                                      <xs:element minOccurs="0" name="EmailType" type="xs:string" />
                                                      <xs:element minOccurs="0" name="EmailAddress" type="xs:string" />
                                                      <xs:element minOccurs="0" name="EmailValidFrom" type="xs:string" />
                                                      <xs:element minOccurs="0" name="EmailValidTo" type="xs:string" />
                                                 </xs:sequence>
                                            </xs:complexType>
                                       </xs:element>
                                  </xs:sequence>
                             </xs:complexType>
                        </xs:element>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>

  • Import/Export Large Complex XMl files(700MB) to MySQL tables

    Am creating an application that will be mporting large and complex XML file in the range of 500-1000MB size. An xml ile wil have 5-6 levels of xml tags where the first tag will be the client account configuration e.g name, location, address, the second will be orders made, the third will be order items, fourth will be item defination...etc. The following is a sample structure of the file.
    <mycompany_sales> <customer name="me">   <location country="Kenya">     <town>nairobi</toen>     <order id="20000" date="2008-09-08">         <item id="4000">             <stock>2000</stock>           <buying>300.0</buying>       </item>       ........       <total>5000</total>   </order>   .............. </location> </customer> ........... </mycompany_sales>
    Because of the size, if i process this file using DOM it will result to out of memory error. I have tried parsing with SAX but it takes about 18 hours to process which is not ideal. If i import this data to Microsoft Access it takes about 10 minutes to import including it's relationship. i.e. creates the six tables and the foregin key relations.
    I tried using XML-DBMS package but since it relies on DOM, it cant process. Does anyone know of a package that would help me import this data to any JDBC databse and also recreate the same structure of xml from the jdbc db. It would also be ideal if it can create sample map file during import and export.
    Thanks in advance,
    Simon K.

    kagara wrote:
    I tried using XML-DBMS package but since it relies on DOM, it cant process. Does anyone know of a package that would help me import this data to any JDBC databse and also recreate the same structure of xml from the jdbc db. It would also be ideal if it can create sample map file during import and export.So you are parsing the XML, extracting the schema, using jdbc to create it, then parsing the data and using jdbc to populate it.
    I suggest that you just create SQL directly. Or perhaps a import file if MySQL has it.
    Less impact on the database, easier to test, easier to verify, and much faster to actually apply the data.

  • DEBMDM06 based Idocs: Simple XML Vs Complex XML

    The idocs we extracted from ECC "mdmc" Tcode based on DEBMDM type. Are they simple XML or Complex XML?? because we operate on AIX and according to IM referecne guide AIX does not support Complex XML via Import server

    Ok, it is not Complex type, based on Reference guide, and also couple of other posts!.

  • Flash Builder mobile - complex XML reading

    Hello Developers,
    Please help me! I'm trying to develop a mobile app, that displays a complex xml file (i'm not a developer, so please be patient... ). Here's the xml file, then I write what I'd like to do:
    <?xml version="1.0"?>
    <server_status>
    <hosts>
       <host>
          <host_name>server1</host_name>
          <modified_attributes>0</modified_attributes>
          <check_command>check-host-alive</check_command>
          <check_period>24x7</check_period>
          <notification_period>24x7</notification_period>
       </host>
          <host>
          <host_name>server2</host_name>
          <modified_attributes>0</modified_attributes>
          <check_command>check-host-alive</check_command>
          <check_period>24x7</check_period>
          <notification_period>24x7</notification_period>
       </host>
    </hosts>
    <services>
       <service>
          <host_name>server1</host_name>
          <service_description>C:\ Drive Space - Exchange Edge 1</service_description>
          <modified_attributes>0</modified_attributes>
          <check_command>check_nt!USEDDISKSPACE!-l c -w 80 -c 90</check_command>
              </service>
              <service>
          <host_name>server1</host_name>
          <service_description>CPU Load - Exchange Edge 1</service_description>
          <modified_attributes>0</modified_attributes>
          <check_command>check_nt!CPULOAD!-l 5,80,90</check_command>
              </service>
       <service>
          <host_name>server2</host_name>
          <service_description>C:\ Drive Space - Exchange Edge 2</service_description>
          <modified_attributes>0</modified_attributes>
          <check_command>check_nt!USEDDISKSPACE!-l c -w 80 -c 90</check_command>
              </service>
       <service>
          <host_name>server2</host_name>
          <service_description>CPU Load - Exchange Edge 2</service_description>
          <modified_attributes>0</modified_attributes>
          <check_command>check_nt!CPULOAD!-l 5,80,90</check_command>
              </service>
    </services>
    </server_status>
    As you can see, there's 2 main nodes: hosts & services. On the opening screen of the app I can list the hosts displaying in a list the host nodes with host_name. That's fine. I select one of them and on the new view I show the selected host attributes like <modified_attributes>, <check_period>, etc. What I want is to display on this screen the selected host's services. Under the <services> node there are 4 <service> child node: 2 services for host1 and 2 services for host2. I only want to list those services that are belong to the host I selected on the main view.
    Please write me the source code of the solution either here or in email ([email protected])
    Thanks for your help!

    Really thanks for your reply, but I don't really know, where and how to put in the code. Here's the mxml:
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark"
                        xmlns:szolgaltatas="services.szolgaltatas.*"
                        title="DetailsView"
                        viewActivate="getDetails()"
                        >
              <fx:Script>
                        <![CDATA[
                                  import mx.events.FlexEvent;
                                  [Bindable] private var ha:String;
                                  [Bindable] private var hb:String;
                                  [Bindable] private var hc:String;
                                  [Bindable] private var hd:String;
                                  import valueObjects.Host;
                                  import valueObjects.Service;
                                  private function getDetails():void
                                            var thisItem:Host = data as Host;
                                            ha = thisItem.last_time_up;
                                            hb = thisItem.last_check;
                                            hc = thisItem.plugin_output;
                                            hd = thisItem.host_name;
                                  protected function textArea_creationCompleteHandler(event:FlexEvent):void
                                            getDataResult.token = szolgaltatas.getData();
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <s:CallResponder id="getDataResult"/>
                        <szolgaltatas:Szolgaltatas id="szolgaltatas"/> <!-- Szolgaltatas service -> getData(): Service[] -->
              </fx:Declarations>
              <s:Label top="10" left="10" right="10" text="Time Up: {ha}"/>
              <s:Label top="30" left="10" right="10" text="Last Check: {hb}"/>
              <s:Label top="50" left="10" right="10" text="Check Result: {hc}"/>
              <s:Label top="90" left="10" right="10" text="Hostname: {hd}"/>
              <s:TextArea id="textArea" left="10" right="10" bottom="10" height="50%"
                                            creationComplete="textArea_creationCompleteHandler(event)"
              />
    </s:View>
    Thank you Jakub!

  • Insane XML Import, Huge Project, Duplicate file names work around...

    I planned on kicking off my journey attempting to edit a massive multi year documentary on FCPX with a nice introduction of the blog I'm going to keep about the experience, but I've run into a bit of a roadblock, or maybe major speed bump at least before even getting to that point. I wanted to share what is working as a work around for me and you guys can tell me how I'm doing it wrong.
    Ok, I will try to explain this as succinctly as possible. I'll write in somewhat stream of consciousness just to try and get through it quicker... Basically, after discovering the work around below, I am now utterly confused on how FCPX handles the relationship between its own database of where media is stored, and the actual media itself. I have plenty experience on FCPX now, probably done 30-40 pro commercial jobs on it over the last year since XML became doable as I'm also a Resolve Colorist and all the FCPX projects where hardcore coloring product spots. For commercial work, I never needed to worry about splitting up footage up over multiple Events. Everything, all in one, FCPX handled it no problem. (well the occasional beach ball, but that seems to be a thing with FCPX in general)
    This will be my 10th feature documentary as an Editor. Every one before it was either on Avid's many flavors over the last 12 years or FCP Studio. When this new film came along, I made the decision a few months ago to use FCPX for a few reasons, but mostly because I'm insane and I like to try to mix it up for myself in a career that can get stale quick if you aren't willing to be that way. The film was shot over 2+ years, every shoot was multi cam 5D (yes i know, looks great, but please kill me), I haven't done the math on length, but there is over 10,000 clips of video (this is actually medium in size compared to what I've dealt with before). Its 5D, so theres external audio for everything. FCPX's syncing is great, but I've learned that theres an unsaid window of heads and tales clips must fall within to sync properly with the nearby clips, if they are too far apart FCPX gives up. One shoot day could have 3 cams, 50 clips each, and 2 audio files to sync to, FCPX simply cannot handle this, so off to Plural eyes they went, no problems.
    Ok, all this is relevant eventually I swear! Again, in the past, all in one event, no problem. I tried for fun to bring all media into one Event on this film. It worked, but there is a 10+ second spinning beach ball for every single move you make, so thats no good. Ok, I'll separate the Events out to, lets say, each shoot month. Well that's dumb, in verite documentary, any shot could be the first, any shot could be the last, you need a command over all searchable footage at all times. Shift selecting all events to search *****, and it actually takes longer for FCP to reload each event each time than it does to just have the one massive one. So no go there. Next hair brained idea... What if make a new Event that is just Compound Clips of all the other Event's contents and do more with Markers and Favorites in logging that I was planning to parse it all out. That way I'm working with and FCPX is dealing with 50-60 clips instead of 10,000+ Quick test, Cmd-A, Opt-G, boom, boom, boom, move all to dedicated to Event, hide huge Event, BEHOLD, that works! FCPX chokes a little bit on the insane length of some of the clips, but searching, and general performance is back on par!
    So your saying to yourself "Ok *********, sounds like you figured it out, what's the problem." Well to you I say, "Not so fast!" Remember, that was just a quick test using the media I had imported into the massive 10,000+ clip Event. To do this project proper, I am having to import Multicam sync'd XMLs from Plural Eyes. And this is where it all starts to fall apart. A little foreshadowing for your eager eyes. 10,000+ files all shot with multiple 5D's over the course of years. What does that mean? many, many duplicate file names!
    FCPX as well all know irritatingly imports XML's as new Events, not into existing ones. This obviously takes a lot of burden off media management because with a new Event comes a new database referencing its own version of the raw media. All well and good, and I'm betting its starting to click for some if you advanced users where I'm finally going with this. So I have 50 or so XMLs to bring in, all done no problem. Now I want to replicate that singular Event like I did with the Compound Clip test and have it all in one place to be my master as extensive logging begins for easy searching once editing begins. Highlight the Events, click Merge Events. NOPE. I get a new "Kill Yourself Now" error (a term I coined for Out of Memory and General Error messages in FCP Legacy meaning there ain't much you can do about it): "Two or more files have the same name. Change the names and try again, because I don't know what the **** to do with them." Ok I made up that last part but that's basically what it's saying. Just take the variable out of the equation, this happens with every which way you could try to get the clips together. Merge Events, dragging events on top of each other, dragging just the Multicam clip alone, nothing gets passed that message. What's worse is that while Batch Renaming seems like a solution, the renames do not populate inside the created clips and there is no way to Batch Rename those. Renaming everything at the finder level isn't so great because then I'd have to resync and theres an offline/online thing going here where the film has to be reconformed eventually.
    Basically, I've found that FCPX handles media management in completely different ways depending on whether you are importing into one Event yourself or doing essentially what is a new import with FCPX moving or merging Events. If you bring in all the media to one Event, on a macro level FCPX goes through file by file making aliases referencing the master file. If it hits a duplicate, it makes a parenthesis counter, and keeps going. And with the genius of FCPX metadata, that file name doesn't even matter, you can change it at the Finder level and FCPX will keep the link intact. BUT for some reason if you try to do this outside the realm of a single Event and combine files after the fact a different process takes over in creating this database system and can't handle the duplicates. I can't totally figure the reason other than it probably is scared to change the originally referenced alias to something else (which it shouldn't be scared of since Merge Events deletes the original anyway).
    This is where it gets INSANE and where I lose all understanding of what is going on, and believe me it was a delicate understanding to begin with. It comes in to play with the work around I figured out. I make the master Event with the 10,000+ clips. Then I import all the XMLs as dedicated Events. Now, I then drag the Multicam clips into the master Event, it WORKS! just takes it, no "Kill Yourself Now" error. Stranger still, now with the switched referenced Event, it even takes into account which aliased duplicate file name it's referencing in the Original Media folder. Somehow, it's taking into account the original file path and saying "Ok, I see 5 instances of MVI_5834.mov. Based on the original file path or maybe creation date or god knows what, it must be MVI_5834 (fcp3).mov." It connects perfectly. I can even remove the old XML imported Event with no problem. Crazier yet, I can now move those again to the dedicated Event I wanted originally that only contains those Multicam or Compound Clips.
    So instead of going straight from A to C, going from A to B to C works even though that actually seems way more complicated. Why can't FCPX handle Merge Events and dragging clips the same way it handles media imported into a single Event. And weirder still, why can't FCPX handle the (fcp1,2,3...) appending in the same scenario. But if the appended links are already there, No Problem. And for the love of god, it'd be nice to important XML's into existing Events and make the correct referencing happen right from the get go, which is really the source of all the above headache. I'd have no problem helping FCPX with a little manual pointing in the right direction just like any other NLE needs.
    Ok, having said all of that crap above, my question is, have I missed something completely simple I should have done instead? Now that I have everything in place how I originally envisioned, I think I will still play around a little bit more to make sure FCPX is really going to be able to handle this project. I'm at a stage right now where going another direction is still an option, although the dare devil in me wants to make this work. Media management aside, once you start editing on a FCPX timeline, its hard to go back to anything else. Apple is going to have to figure out some way not to access to everything at all times to work fluidly or big projects like this are never going to be practical in FCPX.
    Sorry for the long confusing post....

    I'm having the exact same problem, but I know nothing of ruby scripts. I've exhausted my resources with tech support, and after literally hours of work with them it seems I now am faced with either re-rating each individual song, or pointing iTunes to each song that it can't locate. Is yours a solution that could help me? How can I find out more about Ruby Scripts? Thanks for your help, hellolylo (or anyone else who might also be able to help...)
    Kenn

  • Error messages during XML import of Project Pro 2010 files

    Hi folks,
    I'm trying to diagnose a couple of sick Project Pro 2010 files loaded from Project Server by saving them locally as XML files and then reimporting (not connected to the server during import).  The anomalous behavior exhibited by both files
    is that one takes 15 minutes to load from the server, while another takes over 20 minutes. These are not typical load times for this server.  In both cases, Project consumes about 25% of the CPU during the load process. There's little network I/O
    while this goes on, and when externally linked schedules are loaded to the cache, they load very quickly.  Other than the long load times, the schedules appear to be behave normally, except for some very odd print preview behaviors in one of the schedules
    that I asked about in a different thread (among other things, the default print preview start date is 17 years after the default finish date, and the finish date is about 11 years before the schedule actually starts).
    The questions I'm asking here are about errors I see when I try to import the files exported as XML, and whether they might provide any clues as to what's causing the load time issues.
    When attempting to import one of the files saved as XML, a pop-up appears that says, "The actual finish date is before some of the previously entered timephased actual work values. If  you continue with this operation, Project will truncate
    some of the previously entered timephased actual work values. To continue, click OK..."
    When attempting to import the other file saved as XML, I get a series of pop-ups identifying a series of tasks that say, "The timephased edit will cause 'Develop Requirements Review Meeting Mi...' to start before 'Conduct Requirements Review"
    finishes.  As a result the task link cannot be honored.  You can: () Continue. Keep the timephased edit and ignore the link.  () Cancel. Ignore the timephased edit.  (OK/Cancel/Help)".
    Interestingly, both files contain external Project Server predecessor / successor links.  In the case of the first file, the XML import just appears to strip those out.  In the case of the second file, I get a long series of pop-ups (with
    some buggy text inserts) in pairs.  The first message in the pair is typically "An import error occurred.  The element <PredecessorLink> in the <Task> element with <UID>=611 has invalid data.  Verify that the file
    name and path are correct, and then try again. (OK)", where the indicated UID varies. The second pop-up in the pair appears to have a buggy text constructor and looks like this, with "[stet]" indicating the apparent buggy text inserts,
    "An import error occurred.  The element [stet] Verify that the file name and path are correct, and then try again. [stet] in the 309 element with <UID>=7 has invalid data. [stet] ^4 (OK)"
    In the second pop-up of the pair, the "xyz element" varies, but the "<UID>=7" reference and "^4"  are consistent. In the XML, UID 7 appears to refer to a calendar, a task which includes a number
    of entries similar to:
    <TimephasedData>
    <Type>24</Type>
    <UID>7</UID>
    <Start>2014-10-03T08:00:00</Start>
    <Finish>2014-10-04T08:00:00</Finish>
    <Unit>2</Unit>
    <Value>PT8H0M0S</Value>
    </TimephasedData>
    ... and to an assignment:
    <Assignment>
    <UID>7</UID>
    <TaskUID>10</TaskUID>
    <ResourceUID>-65535</ResourceUID>
    <PercentWorkComplete>100</PercentWorkComplete>
    which includes blocks like:
    <TimephasedData>
    <Type>2</Type>
    <UID>7</UID>
    <Start>2014-10-17T08:00:00</Start>
    <Finish>2014-10-17T17:00:00</Finish>
    <Unit>2</Unit>
    <Value>PT8H0M0S</Value>
    </TimephasedData>
    Eventually, the second file also does load with no external file links indicated.
    Again, I'm just looking for anything that might be a clue to the long Project Server load times.
    Thanks in advance,
    LP

    Slow performance can come from a number of different things. Without knowing more detailed information about your setup or workflow, it's difficult to accurately troubleshoot.
    -What kind of Mac are you using?
    -What is your source format?
    -Where is your source footage located?

  • XML import only creates one record at a time

    Hi All,
    I have an XML import map that automatically imports data into main product table. It's working fine when the XML file has only one main record. When it has more than one record, the import manager and import server can only import the last record in the file and skip the rest.
    I already checked the record matching tab. It correctly shows that all records will be created and 0 will be skipped. Even the log file indicates all records are created after I execute the map. Yet, when I try to look for them in the data manager, I can only find the last one. If I execute the map with the exact same file again, it will create one more record again and skip the rest.
    Someone else posted the same question a while back: Import map issue one record at a time. But it was never answered. Does anyone else have this issue? Is this a MDM bug?
    Thanks,
    Kenny

    Hi Kenny,
    Please refer to the note below:
    Note 1575981
    Regards,
    Neethu Joy

  • Reading complex XML file in flex

    I have searched the web but found very primitive xml
    examples. I want to read a complex xml file which through
    httpservice .
    The xml file is ultimately going to become dataProvider of a
    tree. But I have no idea how to traverse this xml file. mentioned
    under are the xml file and HTTPService tag.
    I want to traverse it in the resultHandler function.
    Thank you very much

    Yes, as Greg says, use e4x.
    To do this you must set the HTTPService resultFormat="e4x";
    In you handler, do:
    var xmlResult= XML(event.result);
    trace(xmlResult.toXMLString());
    and away you go.
    Tracy

  • Binding ADF UI to a complex XML Type – Development Productivity, State Mgmt

    Binding ADF UI to a complex Web Service – Development Productivity, Managing State, Etc.
    For those scenarios when ADF UI has to be bound to a complex XML type, it seems that the direction taken by the ADF development team was to generate data-controls that map to complex XML types.
    The major problem with this approach is the fact that application server does not manage state. For example, If application has to submit a purchase order to a web service then application server has to manage the shopping card state until its ready to be submitted.
    In some previous forum threads it had been suggested that using generated data-controls is a “quick and dirty” solution for accessing web services and that a proper solution is to use generated Java Proxy Interface.
    That implies many manually constructed entity objects, associations and overridden doDML methods, which is far less productive compared to entity objects generated from a database schema.
    Suggestion and a Question for the ADF development team
    From the logical model standpoint, there is no difference in between the XML schema and DB schema. Therefore, it is possible to generate entity objects and associations for XML Types of XML schema the same way it’s done for tables of Database schema. The only difference is serialization of CRUD operations on entity objects.
    One way to handle this is:
    -     Generate Application Module for a complex XML type. This application module should have methods for marshaling to/from corresponding XML type.
    -     Generate entity object for each subtype within the complex XML type. In case of nested subtypes, generate association to a parent type.
    -     Generate data control with actions that are bound to web service operations and code that serializes request message from corresponding AM and de-serializes response message to corresponding AM.
    This way, ADF would offer the same productivity for the SOA development as one its currently offering for the ORM development.
    Until the time when something like this is available, what would be the best approach for binding ADF UI to web services?
    Feedback is greatly appreciated.
    Boro Petrovic
    Edited by: wds12518 on Jan 25, 2010 11:49 AM

    We have similar issues as our big portion of the UI is based on WS. We found that there is no easy way to map entity object structure to complex XML type (one EO can based on one flat type or domain can't be bound to UI directly). Oracle PMs, is there any better solution or future plans to address this issue?

  • XML import - stopped due to "critical error"

    Hi all. For the moment, I'm still working with FCS1/FCP 5.1.4, OS 10.4.11.
    In the past, when I've needed to open a project I've started on other machines running 6.0.x, I've done an XML export, and imported said xml file into a new project on my machine. If I recall correctly, XML type 2 worked just fine.
    Well, it doesn't work now, and I'm wondering why?
    The machine I'm exporting from is running OS10.4.11, and FCP 6.0.3. I've exported the project out of there in all flavors of xml (1,2,3 and 4), with and without clip metadata. And I get nothing on import, bupkus, nada, zilch and zero...except for the oh-so-helpful message "XML import stopped due to critical error"
    So who broke this?

    I've had this happen to me when the original project contained sequences that used filters not supported by 5.1.4.
    My solution was to strip out suspect filters until it worked.
    Best,
    Tom

  • [CS2][AS] Make XML import map is calling a refresh on styles?

    If this can be of use to someone else... it's probably not CS2,AS specific.. but this is what i use.
    It's the second time i have a bug like this, where changing the order of my calls is fixing the problem. With this one, i was getting random missing font error (times(1)) while batching documents(wich make the batch script batch crash as there is a modal dialog open). Not always on the same document, it was really fustrating as i was not able to get my finger on the problem!
    I actually knew the source of the problem as i had added a fix (maybe not the best solution, but it was working well) that actually was removing the style from all the text frame (i noticed that using map style to tag was not always working well(when text frame had overriden?), so that's why i added code to reset the style before doing a map. But i was not understanding why it was happening so randomly...
    I tought at first it was happening during save (as it reopen the document) but after a few experimentation it looked like it was occuring during the import map redefinition (See code below: make XML import map with properties {markup tag:tStyle, mapped style:tStyle}).
    Looks like the make XML import is calling some sort of document refresh wich then pop the font missing dialog (even with never interact as script preferences!)! (missing font is actually a bug i had also in other circumstances.. exemple when you have a extra return at the end of a tagged text (outside the tag)). A bit unexpected, i really tought that creating a xml import map was just creating data structure in document model to be used later on by the auto style call...
    The problematic script:
    tell application "Adobe InDesign CS2"
    set myDocument to document 1
    tell myDocument
    --Reset styles.
    set applied character style of every text of every text frame of every spread to character style 1
    set applied paragraph style of every text of every text frame of every spread to paragraph style 1
    --Create a tag to style mapping.
    set tList to name of every XML tag
    set tNumItems to count of tList
    repeat with i from 1 to tNumItems
    set tStyle to item i of tList
    make XML import map with properties {markup tag:tStyle, mapped style:tStyle}
    end repeat
    --Map the XML tags to the defined styles.
    auto style
    end tell
    end tell
    And the working solution (just moved the reset of style after the import map creation loop):
    tell application "Adobe InDesign CS2"
    set myDocument to document 1
    tell myDocument
    --Create a tag to style mapping.
    set tList to name of every XML tag
    set tNumItems to count of tList
    repeat with i from 1 to tNumItems
    set tStyle to item i of tList
    make XML import map with properties {markup tag:tStyle, mapped style:tStyle}
    end repeat
    --Reset styles.
    set applied character style of every text of every text frame of every spread to character style 1
    set applied paragraph style of every text of every text frame of every spread to paragraph style 1
    --Map the XML tags to the defined styles.
    auto style
    end tell
    end tell

    it doesnt print any server control message. in my "page_404.jsp" I am printing current date and time (to check if the server visited that page) everytime when i refresh "index.jsp" the server goes to "page_404.jsp" and prints the current date and time.
    so basically the only message which the console shows is the current date/time which i am printing in the "page_404.jsp"
    Thanks.

  • Layout Problem in XML Import

    Dear All,
    I am new in InDesign. I have some problem. I am using InDesign CS3. I want when XML file will be import layout should be come according to our specification with image. Is it possible any script or XSLT. If yes please give me some guiduence.
    I have done XML to Tagged Text using XSLT. But i want to go through XML Import options.
    Anyone please help me...
    Thanks and Regards,
    Byomokesh

    If possible, purchase a copy of A Designer's Guide to Adobe InDesign and XML: Harness the Power of XML to Automate your Print and Web Workflows.
    This book will answer most questions you might have about using XML with InDesign.
    For a short answer, you need to first create styles, then map them to the tags, then import the XML. I will send you an example via email (the author emailed me directly).
    Best regards,
    Tad

  • InDesign CS3 Scripting XML Import Multiple Images into same Text Frame

    I am having trouble importing multiple images into the same Text Frame using XML import. I imported 5 images into the text frame. However, all 5 images are laying on top of one another. Does anyone know if there is a way to have all images laying out like how Microsoft Word handles inline images, i.e., laying out next image to the right of previsous image in the same line and if there is not enough space left in the line, then wrap to next line. Thanks in advance. I understand I could use JavaScript to do post import processing, e.g, calculate the image size and place each images accordingly. But I am trying to see whether there is a way to do this without scripts.

    You can apply an object style to all anchored images by script. A text frame containing main flow should be selected.
    var doc = app.activeDocument;
    var textFrame =  app.selection[0];
    var rectangles = textFrame.texts[0].rectangles;
    if (rectangles.length > 0) {
         for (var i=0; i < rectangles.length; i++) {
              rectangles[i].appliedObjectStyle = doc.objectStyles.item("Cover");
    However, there is a better approach:
    Step 1
    Create place holders for a single "Book" element and format it as needed -- apply an object style to the cover.
    Step 2
    Import the xml file -- the placeholders are replaced with data from the 1st xml element
    Step 3
    Drag & drop the element containing all "Books" elements into the main flow -- all elements are placed and formatted the same way as in step 1.
    Finally, add a new page, click the overset text icon and autoflow text to add pages so that to fit all the text.
    Hope this helps.
    Kasyan

  • Using XML Import/Export in Transport Connection

    Hi, I was investigating the feasibility of copying a query definition from one BW system to another using the XML Import/Export functionality in Transport Connection.  This is not to replace our current transport process across the landscape (Dev -> QA -> Prod), but merely just looking at possibilities for end users who develop queries in QA & then recreate them in Prod.
    My question is: has anyone worked with the XML Export/Import for types Queries & Query Elements?  I was trying this out between a Dev and Sandbox system and only had limited success.  I was able to take a small query and perform the Export to a local .xml file without much difficulty.  But when I try to do the Import, my query never shows up.  The Import function shows a green light, but I get a couple of error messages on the Import such as the following:
    ==========================================================
    SAP object 3WROG4HZ3NKP1PIYHCR1H24CQ () cannot be imported
    Diagnosis
    You attempted to import SAP object 3WROG4HZ3NKP1PIYHCR1H24CQ of type into the system via the XMI interface. However, you are not allowed to import SAP objects.
    System response
    The object was ignored during the import.
    Note: It can be that the import is incomplete when the required SAP objects are still not active in the system.
    Procedure
    Install the specified objects from Business Content. Only import the metadata afterwards.
    =========================================================
    The portion returned for Saving and Activating returns green lights.  The two sample objects mentioned appear to just be custom InfoObjects used in my query & don't look to be any different than others that work OK. 
    Just curious if anyone else has worked with this and could help advise. 
    Thanks...  Jody

    This is an old subject, but I think XML import only works for datamodeling objects like InfoObjects, InfoCubes, and ODS objects. If you try to export a query, and open the XML file in a text editor, there is not enough information (in my opinion) to build the query. As an example you don't see how key figures are to be displayed, filter or free characteristics.
    However, when an InfoObject is collected, you get all the attributes, texts in all languages.
    If anyone has more insight, please enlighten us.
    -John

Maybe you are looking for

  • How to empty the JTextField automatically? Please HELP me.

    Hello, This is my full listing program: import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.text.*; import javax.swing.event.*; import javax.swing.border.*; public class PortGUI extends JFrame      private     JButton

  • How do I burn an iMovie using a bus super drive for mac book pro

    I have a new mac book pro using the maverick operating system.  I also have a ubs super drive.  I am trying to burn an i movie to the dvd to be shown on a dvd player. It is saving as a mp4 and will not play in the dvd player.  How do I save the movie

  • Adobe Lightroom 1.0 Licensing Question

    Does anyone have any idea how Adobe is going to license Lightroom? Meaning, will you be able to buy one license and use it on both Windows and Mac OS X? I am thinking probably not, but am interested as this is how competitors like Bibble Pro (BibbleL

  • Table/figure numbering

    Hello all, I'm in the process of updating a document that we publish annually at my workplace using CS4.  I have figured out how to use paragraph styles so that tables and figures update themselves automatically, and also how to create a crossreferen

  • Gaming 3 H97 Audio problem

    i recently upgraded to this motherboard. after installing the motherboard and installing all the drivers, ive had problems with my Audio service. I will double click the bottom right icon and a red x will appear. ill trouble shoot whats wrong and the