Load the XML in Datagrid

I got the code to load my XML in a Datagrid Flash component, but I've played with him and lost the code of original work! Have a way to load:

<? XML version = "1.0" encoding = "utf-8"? >

< account >

< account >

< user name = "Jim" pass = "856yhlews3525r1561 * ow3525856y" >

Jim < user > < / user >

856yhlews3525r1561 < pass > * ow3525856y < / Pass >

< > < /XP > 47932 Xp

< degree > 45 < / standings >

< / name >

< / account >

< account >

< name user = "Test" pass = "1886ef889 889toft4985s") >

< User > test < / user >

< pass > 889toft4985s) 1886ef889 < / Pass >

< > < /XP > 34789 Xp

< degree > 33 < / standings >

< / name >

< / account >

< / accounts >

It is just a rough, the local, the XML file, but has the same tags as my main. I want to have columns of user Xp and rank. I found a whole bunch of tutorials that are responsible for an attribute of a node, but nothing about a flat knot. In addition, it would be great if you could also explain how to select a line and going to a certain range.

Thanks, Alex

Import fl.controls.DataGrid;

Import fl.controls.ScrollPolicy;

Import fl.data.DataProvider;

import flash.net.URLLoader;

import flash.events.Event;

var dp:DataProvider = new DataProvider();

var dg:DataGrid = new DataGrid();

CGI Columns = ["user", "XP", "Rank"];

addChild (dg);

var urlloader:URLLoader = new URLLoader();

urlloader.addEventListener (Event.COMPLETE, loadcompleteF);

URLLoader.Load (new URLRequest ("whatever.xml"));

function loadcompleteF(e:Event):void {}

var xml:XML = XML (e.target.data);

for (var i: int = 0; i< xml..name.length();="" i++)="">

dp.addItem ({user: xml...}) Name [i]. User.Text (), Xp:xml... Name [i]. XP. Text(), grade: xml... Name [i]. Rank.Text ()});

}

dg.dataProvider = dp;

}

Tags: Adobe Animate

Similar Questions

  • load the xml file into a database to help table of travel point

    Hello

    Someone help me please with a possible approach. I have an interface for APEX users where users can download a file xml in apex table wwv_flow_files using the element to browse with a button "submit". Now, after loading the xml file in the wwv_flow_files table. I need to read and load the xml data into a table sample_tbl. I'm using the version of Oracle APEX 4.0 and Oracle 10 g R2 database. Here is an example of XML file to load. Please help me possible suggestions.

    <? XML version = "1.0" encoding = "UTF-8"? >

    < dataroot generated =... >

    < MySample >

    < KeyId > 1234 < / KeyId >

    eddskc < KeyName > < / KeyName >

    < scheduleDate > 2013-06-16T 00: 00:00 < / ScheduleDate >

    < StartTime > 2013-06-16T 08: 00:00 < / StartTime >

    < EndTime > 2013-06-16T 08:30:00 < / EndTime >

    < / MySample >

    < MySample >

    < KeyId > 5678 < / KeyId >

    jppdf < KeyName > < / KeyName >

    < scheduleDate > 2013-05-19T 00: 00:00 < / ScheduleDate >

    < StartTime > 2013-05-19T 08: 00:00 < / StartTime >

    < EndTime > 2013-05-19T 08:30:00 < / EndTime >

    < / MySample >

    < / dataroot >

    Thanks in advance.

    Thank you

    Orton

    orton607 wrote:

    My sample_tbl has a start_time field and its data type DATE.

    Good.  Be sure to always store dates as the DATE.

    The application (in this case, APEX) needs to format the date date type in the appropriate human-readable format.

    The problem with the incoming data is the 't'.  You will need to convert a space using REPLACE() in the framework so that your SELECT statement

    From there on, conversion to the DATE data type is simply

    to_date( replace( start_time_str, 'T', ' '), 'YYYY-MM-DD HH24:MI:SS') as start_time
    

    And, just in case where, the conversion of DATE for the desired format:

    to_char( start_time, 'MM/DD/YYYY HH12:MI:SS AM')
    

    Although, I'm 'hours' as being left-padded with zeros... Am I looking for how / if you can get rid of the zero prefix (0).

  • Loading the XML in Oracle XML Table/OWB

    Hi gurus,

    Need help to load the XML file into oracle XML table /OWB.

    Here is an example of XML file

    < GEBIZ_PURCHASE_ORDER xmlns = "http://ordabc.xmlbeans.order.importexport.de" >
    < HEADER >
    external < ORDER_CODE > < / ORDER_CODE >
    < EXTERNAL_SYSTEM_CODE > E < / EXTERNAL_SYSTEM_CODE >
    < AMENDMENT_NUMBER > 1 < / AMENDMENT_NUMBER >
    < VARIATION_NUMBER > 1 < / VARIATION_NUMBER >
    document in < DESCRIPTION > < / DESCRIPTION >
    < FINANCIAL_SYSTEM >
    PR < SUB_BUSINESS_UNIT > < / SUB_BUSINESS_UNIT >
    < NFS >
    < COST_CENTER_GROUP > 21 < / COST_CENTER_GROUP >
    < BUYER_CODE > 121 < / BUYER_CODE >
    < FINANCIAL_SYSTEM_ORDER_CODE > 23 < / FINANCIAL_SYSTEM_ORDER_CODE >
    < USER_NRIC > 8 < / USER_NRIC >
    < / NFS >
    < SAP >
    < PURCHASING_GROUP > 3 < / PURCHASING_GROUP >
    < / SAP >
    < / FINANCIAL_SYSTEM >
    < STATUS > ELEMENT < / STATUS >
    < / Header >
    ELEMENTS <>
    < ITEM >
    < LINE_NUMBER > 1 < / LINE_NUMBER >
    the COSTS OF HANDLING < DESCRIPTION > < / DESCRIPTION >
    < UNIT_OF_MEASURE > M < / UNIT_OF_MEASURE >
    < QUANTITY > 12 < / QUANTITY >
    SERVICES < LINE_TYPE > < / LINE_TYPE >
    < UNIT_PRICE > 12 < / UNIT_PRICE >
    < PRICE_UNIT > 12 < / PRICE_UNIT >
    < > 12 TOTAL_AMOUNT < / TOTAL_AMOUNT >
    < STATUS > < / STATUS >
    < / POINT >
    < ITEM >
    < LINE_NUMBER > 2 < / LINE_NUMBER >
    COSTS OF HANDLING CARGO < DESCRIPTION > < / DESCRIPTION >
    < UNIT_OF_MEASURE > M < / UNIT_OF_MEASURE >
    < QUANTITY > 13 < / QUANTITY >
    SERVICES < LINE_TYPE > < / LINE_TYPE >
    < UNIT_PRICE > 14 < / UNIT_PRICE >
    < PRICE_UNIT > 14 < / PRICE_UNIT >
    < > 1200 TOTAL_AMOUNT < / TOTAL_AMOUNT >
    < STATUS > STATUSDELIVERED < / STATUS >
    < / POINT >
    < / OBJECT >
    < / GEBIZ_PURCHASE_ORDER >

    I created the table and the procedure below

    create the table xxpo_estimate_details
    (ORDER_CODE, varchar2 (100),)
    EXTERNAL_SYSTEM_CODE varchar2 (100),
    AMENDMENT_NUMBER varchar2 (100),
    VARIATION_NUMBER varchar2 (100),
    DESCRIPTION varchar2 (100),
    SUB_BUSINESS_UNIT varchar2 (100),
    COST_CENTER_GROUP varchar2 (100),
    BUYER_CODE varchar2 (100),
    FINANCIAL_SYSTEM_ORDER_CODE varchar2 (100),
    USER_NRIC varchar2 (100),
    PURCHASING_GROUP varchar2 (100),
    FS_STATUS varchar2 (100),
    PR_LINE_NUMBER varchar2 (100),
    PR_DESCRIPTION varchar2 (100),
    UNIT_OF_MEASURE varchar2 (100),
    PR_QUANTITY varchar2 (100),
    LINE_TYPE varchar2 (100),
    Unit_price varchar2 (100),
    PRICE_UNIT varchar2 (100),
    TOTAL_AMOUNT varchar2 (100),
    PR_STATUS varchar2 (100));


    declare
    acct_doc xmltype: = xmltype (bfilename('FLAT_FILES','PO_DETAILS_COPY.xml'), nls_charset_id ('AL32UTF8'));
    BEGIN
    insert into xxpo_estimate_details
    (ORDER_CODE,
    EXTERNAL_SYSTEM_CODE,
    AMENDMENT_NUMBER,
    VARIATION_NUMBER,
    DESCRIPTION,
    SUB_BUSINESS_UNIT,
    COST_CENTER_GROUP,
    BUYER_CODE,
    FINANCIAL_SYSTEM_ORDER_CODE,
    USER_NRIC,
    PURCHASING_GROUP,
    FS_STATUS,
    PR_LINE_NUMBER,
    PR_DESCRIPTION,
    UNIT_OF_MEASURE,
    PR_QUANTITY,
    LINE_TYPE,
    UNIT_PRICE,
    PRICE_UNIT,
    TOTAL_AMOUNT,
    PR_STATUS
    )
    SELECT X 1. ORDER_CODE,
    X 1. EXTERNAL_SYSTEM_CODE,
    X 1. AMENDMENT_NUMBER,
    X 1. VARIATION_NUMBER,
    X 1. DESCRIPTION,
    X 1. SUB_BUSINESS_UNIT,
    X 1. COST_CENTER_GROUP,
    X 1. BUYER_CODE,
    X 1. FINANCIAL_SYSTEM_ORDER_CODE,
    X 1. USER_NRIC,
    X 1. PURCHASING_GROUP,
    X 1. STATUS,
    X 2. LINE_NUMBER,
    X 2. DESCRIPTION,
    X 2. UNIT_OF_MEASURE,
    X 2. QUANTITY,
    X 2. LINE_TYPE,
    X 2. UNIT_PRICE,
    X 2. PRICE_UNIT,
    X 2. TOTAL_AMOUNT,
    X 2. STATUS
    FROM XMLTABLE)
    ' / GEBIZ_PURCHASE_ORDER/HEADER.
    passage acct_doc
    header_no of columns for the ordinalite,
    Path of varchar2 (100) ORDER_CODE "ORDER_CODE"
    Path of varchar2 (100) EXTERNAL_SYSTEM_CODE "EXTERNAL_SYSTEM_CODE"
    Path of AMENDMENT_NUMBER VARCHAR2 (100) "AMENDMENT_NUMBER."
    PATH OF VARCHAR2 (10) VARIATION_NUMBER "VARIATION_NUMBER"
    DESCRIPTION VARCHAR2 (100) PATH "DESCRIPTION."
    PATH OF VARCHAR2 (100) SUB_BUSINESS_UNIT "FINANCIAL_SYSTEM/SUB_BUSINESS_UNIT,"
    PATH OF VARCHAR2 (10) COST_CENTER_GROUP "FINANCIAL_SYSTEM/NFS/COST_CENTER_GROUP,"
    PATH OF VARCHAR2 (50) BUYER_CODE "FINANCIAL_SYSTEM/NFS/BUYER_CODE,"
    PATH OF VARCHAR2 (50) FINANCIAL_SYSTEM_ORDER_CODE "FINANCIAL_SYSTEM/NFS/FINANCIAL_SYSTEM_ORDER_CODE,"
    PATH OF VARCHAR2 (50) USER_NRIC "FINANCIAL_SYSTEM/NFS/USER_NRIC,"
    PATH OF VARCHAR2 (50) PURCHASING_GROUP "FINANCIAL_SYSTEM/SAP/PURCHASING_GROUP,"
    PATH VARCHAR2 (50) STATUS 'STATUS '.
    ) X 1,
    XMLTable)
    ' / GEBIZ_PURCHASE_ORDER/ITEMS/ITEM ".
    passage acct_doc
    columns for the ordinalite header_no
    path of columns LINE_NUMBER varchar2 (10) "LINE_NUMBER.
    Path varchar2 (100) DESCRIPTION "DESCRIPTION."
    PATH OF VARCHAR2 (100) UNIT_OF_MEASURE "UNIT_OF_MEASURE"
    PATH VARCHAR2 (10) OF "QUANTITY."
    PATH OF VARCHAR2 (100) LINE_TYPE "LINE_TYPE"
    PATH OF VARCHAR2 (10) UNIT_PRICE "UNIT_PRICE."
    PATH OF VARCHAR2 (10) PRICE_UNIT "PRICE_UNIT"
    PATH OF VARCHAR2 (10) TOTAL_AMOUNT 'TOTAL_AMOUNT ';
    PATH VARCHAR2 (120) STATUS 'STATUS '.
    ) X 2;
    -EXCEPTION
    -WHILE OTHERS THEN
    -DBMS_OUTPUT. PUT_LINE (' ERROR ' |) SQLERRM);
    END;

    When I run the above procedure, it runs successfully but the records charge not in the table.

    When I remove the attribute xmlns = "http://ordabc.xmlbeans.order.importexport.de" and start the process, and then load the records.

    can you please is it possible in the xml file without change? (deletion of the attribute)

    If choose table for loading XML /OWB XML files then what are challeges and challenges we face.

    Add two expressions XMLTable XMLNAMESPACES clause:

    ...
    
    FROM XMLTABLE(
      XMLNamespaces(default 'http://ordabc.xmlbeans.order.importexport.de')
    , '/GEBIZ_PURCHASE_ORDER/HEADER'
    
    ...
    
  • Can't view the data after loading the XML into RTF model

    Hi friends

    I am unable to view data in PDF after loading the XML into RTF model
    After I load the XMl file to my model
    The complement of the tab, I'm trying to get a glimpse of the output as pdf/xml etc, but he throws and error
    Window does not
    'C:\DOCUME~1\SYSNAME~\LOCALS~\APPLIC~1\Oracle\BIPUBL~1\TEMPLA~\tmp\3513518782149421out.pdf214921out.pdf '. Make sure you typed the name correctly and then try again. To search for a file, click the Start button and click Search

    I gave the name correctly only, but don't know y it displays error I have to reinstall the Office of Oracle BI Publisher once more please advice me what needs to be done to solve my problem of my PC

    Thank you
    Thiliban

    It seems that the problem is with the working directory of the BIP Office.

    If you have administrator access to the computer, please do the following:
    1 Windows-> Run-> regedit
    2. find the value of the next entry
    Publisher\Template HKEY_CURRENT_USER\Software\Oracle\XML for Word\TB_WORK_DIR generator
    3. change your path C:\DOCUME~1\SYSNAME~\LOCALS~\APPLIC~1\ORACLE\BIPUBL~1\TEMPLA~\tmp

    See you soon,.
    ND
    Use the buttons "useful" or "correct" to award points to the answers / mark the thread as answered, if your question is answered.

  • load the XML file field Companion without cross-domain policy file

    Hello.

    Assuming that there are two areas companions on the same server: /public_html/domain1.com and /public_html/domain2.com

    I'm trying to load the XML from domain2.com in domain1.com without using a cross-domain policy file (since it does not work with xml files in my case).

    So the idea is to use a php file to load XML and read it back to Flash.

    I found an interesting scripts that seems to do the job, but unfortunately I can't make it work. In my opinion, there is somewhere with AS3 part problem. Please take a look.

    Here's the AS3/PHP scripts:

    AS3 (.swf in www.domain1.com):

    location of the xml file you want to load, full http address

    var xmlLoc:String = " " http://www.Domain2.com/MyFile.XML ";

    location of the php xml grabber, regarding the .swf

    var phpLoc:String = "loadXML.php";

    var xml;

    var loader: URLLoader = new URLLoader();

    var request: URLRequest = new URLRequest (phpLoc + "? location =" + escape (xmlLoc));

    loader.addEventListener (Event.COMPLETE, onXMLLoaded);

    loader.addEventListener (IOErrorEvent.IO_ERROR, onIOErrorHandler);

    Loader.Load (request);

    function onIOErrorHandler(e:IOErrorEvent):void {}

    trace ("there was an error with the xml file" + e);

    }

    function onXMLLoaded(e:Event):void {}

    trace ("RSS feed has been loaded");

    XML = new XML (loader.data);

    / / string value, because it is passed from php as object

    XML = XML (xml.toString ());

    xml_txt.text = xml;

    }

    PHP (loadXML.php to www.domain1.com):

    <? PHP

    Header ("Content-type: text/xml");

    $location = "";

    {if (isset($_GET["location"]))}

    $location = $_GET ['location'];

    $location = urldecode ($location);

    }

    $xml_string = getData ($location);

    return the url encoded Flash vars

    echo $xml_string;

    Loops of a URL and returns

    function getData ($query) {}

    / / create resource curl

    $ch = function curl_init();

    / / cURL url

    curl_setopt ($ch, CURLOPT_URL, $query);

    Set some required params for the use of CURL

    curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, false);

    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);

    Execute the loop works and decode the returned JSON data

    $result = curl_exec;

    return $result;

    / / Close the curl resource to free up system resources

    curl_close ($ch);

    }

    ? >

    I think you might be right about / permissions on the server for php settings. Unfortunately I'm not allowed to adjust.

    So I wrote my own script - this time I used the path instead of the http address of the XML file.  It works fine in my case.

    Here it is:

    XML file on domain2.com:

    SWF on domain1.com:

    var imagesXML:XML;

    var variables: URLVariables = new URLVariables();

    var varURL:URLRequest = new URLRequest ("MyPHPfile.php");

    varURL.method = URLRequestMethod.POST;

    variable = varURL.data;

    var MyLoader:URLLoader = new URLLoader;

    MyLoader.dataFormat = pouvez;

    MyLoader.addEventListener (Event.COMPLETE, XMLDone);

    MyLoader.load (varURL);

    function XMLDone(event:Event):void {}

    var imported_XML:Object = event.target.data.imported_XML;

    imagesXML = new XML (imported_XML);

    MyTextfield_1.text = imagesXML;

    MyTextfield_2.text = imagesXML.image [0] .attribute ("thumbPath");  reference sample to assign "thumbPath' of the first item

    }

    php on domain1.comfile:

    <>

    $xml_file = simplexml_load_file('.. /.. / /galleries/gallery_1/MyXMLfile.xmldomain2.com');  Directory of XML file on the same server

    $imported_XML = $xml_file-> asXML();

    Print "imported_XML =". $imported_XML;

    ?>

    Concerning

    PS: for those who have read the foregoing: the first and the second script works but you need to test which one is best for your situation. The first script will work also between two domains located on different servers. No. cross necessary domain policy file.

  • Load the XML file into oracle DB using OWB

    Hi friends,

    I'm new XML data.
    I had a requirememnt to load the xml file into an oracle table.
    Can someone procedure to load the data.

    Thanks in advance

    see this

    http://blogs.Oracle.com/warehousebuilder/2007/09/leveraging_xdb.html

  • loading the XML data in password protected URLs

    Using Flash Professional 8...

    I have an application that loads the XML data in remote servers.

    It works fine, except that the company provide me with the data decided to protect their files. It seems they use IIS or .htaccess protection of password for the style.

    I have a valid user name and password, but I do not know how to integrate those when calling the URL to authenticate.

    I think I need to use loadVars objects, but I've not been able to find examples where people use this method for this style of security. I see most of the examples deal with submit a name of user and password on a URL and then receive a response.
    The security of this type does not follow this pattern. The URL is blocked unless a name of user and password is entered in a box even before see pages.

    LoadVars to use for this?

    If Yes, are there an example or something that I can see?

    If this is not the case, how Flash authenticates this style of security?

    This seems like a fairly standard issue, and I am puzzled that I can't yet find other examples. Am I stupid?

    Thank you
    Joe

    Maybe it helps.
    http://www.martijndevisser.com/blog/article/using-HTTP-authorization-headers

  • Load the xml into the mc symbols

    I am new to the integration of xml in my flash. I have used the components that make the link between for me, but have never tried to do the code myself. My project is a simple slideshow, which has transitions on the timeline that are very important to the project. I created an image holder movie clip symbol that is the same size as my images. I created the slideshow using multiple instances (each with its own instance name slide01, slide02, etc.) of this medium. All I want to do is to load from a xml file .jpg files to fill the files with the licensee prior to execution. I got the code works for the first image, but none of the others will fill. I am trying to load the xml data into a table, and then draw the table to fill the mc symbols. I modified the code I found in a tutorial. Help, please!

    You must slide01 movieclips,... slide10 to exist when this code runs.

    to see your images load those jpgs must be in the same directory as your html incorporation (or swf so you test in the flash test environment) and your movieclips slides must be visible (and does not cover the other).

  • Load the XML file into Oracle external Table


    I load the data from the XML file into an intermediate table Oracle using external Tables.

    Let's say below, it is my XML file

    < header >
    < A_CNT > 10 < / A_CNT >
    < E_CNT > 10 < / E_CNT >
    < AF_CNT > 10 < / AF_CNT >
    < / header >
    < student >
    <>students-details
    < Student_info >
    < Single_Info >
    < ID > 18 / < ID >
    New York < City > < / City >
    < country > United States < / country >
    < Name_lst >
    < Student_name >
    Samuel < name > < / name >
    Paul < Last_name > < / Last_name >
    < DOB > 19871208 < / DOB >
    Aware of < RecordStatus > < / RecordStatus >
    < / Student_name >
    < Student_name >
    Samuel < name > < / name >
    Paul < Last_name > < / Last_name >
    < DOB > 19871208 < / DOB >

    < TerminationDt > 20050812 < / TerminationDt >
    History of < RecordStatus > < / RecordStatus >
    < / Student_name >
    < / Name_lst >
    < Personal_Info >
    <>men < / Type >
    < 27 > < / Age >
    < / Personal_Info >
    < / Single_Info >
    < / Student_info >

    < student - register >
    class < A >
    < info >
    < detail >
    < ID student > 18 < / student >
    EE < major > < / Major >
    < course-Grades >
    < course > VLSI < / course >
    < degree > 3.0 < / Grade >
    < / course-Grades >
    < course-Grades >
    < course > nanotechnology < / course >
    < degree > 4.0 < / Grade >
    < / course-Grades >
    < / details >
    < detail >
    < ID student > 18 < / student >
    THIS < major > < / Major >
    < / details >
    < / info >
    class < A >
    < Student_Enrol >
    <>students-details
    < student >

    I load this XML data file into a single table using an external Table. Could someone help me please with coding.

    Thank you

    Reva

    Could you please help me how to insert my XML content into that.

    Same as before, try a plain old INSERT:

    insert into xml_pecos

    values)

    XmlType (bfilename ('XML_DIR', "test.xml"), nls_charset_id ('AL32UTF8'))

    );

    But you'll probably hit the same limitation as with the binary XMLType table.

    In this case, you can use FTP to load the file as a resource in the XML DB repository.

    If the XML schema has been registered with the hierarchy enabled then the file will be automatically inserted into the table.

    Could you post the exact statement that you used to save the scheme?

    In the meantime, you can also read this article, I did a few years ago, it covers the XML DB features that may be useful here, including details on how to load the file via FTP:

    https://odieweblog.WordPress.com/2011/11/23/Oracle-XML-DB-a-practical-example/

    And documentation of the course: http://docs.oracle.com/cd/E11882_01/appdev.112/e23094/xdb06stt.htm#ADXDB4672

  • Loading the XML file with the missing elements dynamically by ODI

    Hi guys,.

    I have the XML with two nodes Employee and address below. On a daily basis, sometimes the address element might not come from the source xml file, but my interface has columns mapped to the elements of the address, and that is why it may fail because of the source element is not found in the file or data could not get charged because the State 'and' in the sql query that is generated between the employee and address elements.  Is there a way where I can load the data dynamically where I can search in the file only for items (used) present and dynamically loading data only for these items?

    XML file:

    <? XML version = "1.0" encoding = "UTF-8"? >

    < EMP >

    < Empsch >

    < employee >

    < EmployeeID 12345 > < / EmployeeID >

    < original > t < / initials >

    John < name > < / LastName >

    DOE < FirstName > < / name >

    < / employee >

    < address >

    < > 12345 as WorkPhone < / as WorkPhone >

    < WorkAddress > test 234 < / WorkAddress >

    < / address >

    < / Empsch >

    < / EMP >

    Thank you

    Fabien Tambisetty

    I managed to solve it by using left outer joins, and in referring to the structure of the table of the XSD

  • Load the XML data to the UNIX server directly to Tables of database relational

    Is there a way I can load some data from an XML file in the Oracle Tables, without going through the input file XML in a directory of the Oracle server. My XML file resides on the UNIX application server. And I need to load the data directly into database tables. Without load them into the database directory.


    Also, I'm looking for a solution that would not load my database much and affect other processes running. Can be done using SQL Loader?


    Oracle database version: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    Thanks for the companions of answers!

    There I helped to learn a lot of options.

    But the easiest using UNIX server that worked for me was to use an XSLT transformation to convert the XML file to a delimited file. (Load the unix server, save the Oracle resources).

    UNIX 'xsltproc' feature was not a bad option.

    Then use SQL Loader to load into tables.

    Bravo!

    Rahul

  • Cannot load the XML to DRM

    We have installed a new DRM software in our test environment and we are not able to load the first xml file itself.

    This first time, we try importing the xml file that we have obtained from olap outline Extractor. and its not load. Have us use any kind of XML format to load.
    Any information on this subject is appreciated

    Thank you

    You need a section of the hierarchy.

    [Hierarchy]
    hier_name tab top_nodename tab hier_desc
    [Link]
    Parent child tab Child_desc

    Need only verify that the hierarch and the sections of the relationship

    Must ensure good sure delimiters are set to [and] for the section headers

    Must make sure that the word hierarchy corresponds to what you have and even for the word relationship. It is case-sensitive and must match exactly

    You need not the property of the worksheet. In the second tab control, the box that says let DRM determine the leaf and the branch at the end of the process

    FIS also want the hierarchy to keep the order of import you will need to define the brand and property order type when the hierarchy is created that you set the sort order of hierarchy by default property.

  • Load the XML complecated file into my DATABASE

    Hello everyone,
    I have an XML file structured like:
    < ROOT_ELEMENT >
    < SUB_ROOT name = "RETOUR_REQ" >
    < tag name = "TAG1" id = "1" >
    < TAG_VALUE > V1 < / TAG_VALUE >
    < / TAG >
    < tag name = "TAG2" id = "2" >
    < TAG_VALUE > V2 < / TAG_VALUE >
    < / TAG >
    < tag name = "TAG3" id = "3" >
    V3 < TAG_VALUE > < / TAG_VALUE >
    < / TAG >
    < / SUB_ROOT >
    < / ROOT_ELEMENT >

    I want to load this XML file in my Oracle 10 g, the structure of the target table is:


    CREATE TABLE IMP_XML_RETOUR)
    FLUX_NAME VARCHAR2 (20), == > tag mapping
    ELMENT_1 VARCHAR2 (20), == >
    ELMENT_2 VARCHAR2 (20), == >
    ELMENT_3 VARCHAR2 (20) == >
    );
    the FLUX_NAME field must be mapped to the path 'ROOT_ELEMENT/SUB_ROOT/@name '.
    the ELMENT_1 field must be mapped to the path 'ROOT_ELEMENT/SUB_ROOT/TAG@name='TAG1'/TAG_VALUE '.
    the ELMENT_2 field must be mapped to the path 'ROOT_ELEMENT/SUB_ROOT/TAG@name='TAG2'/TAG_VALUE '.
    the ELMENT_3 field must be mapped to the path 'ROOT_ELEMENT/SUB_ROOT/TAG@name='TAG3'/TAG_VALUE '.

    There are any PLSQL function that can be used to load my XML file into my table

    Thanks a lot for your answers

    OK, so my example should work for you.

  • Need help with loading the XML file

    Hello

    I spent reviewing the web/forums for an example on how to do this for a few days now.  I managed to get this working in Flash Pro easily enough, but I think I'm missing something when I want to do the same thing in Flex.

    Basically, I want to load an XML file and then set the values of the text of labels 5, equal to the data in the XML file.

    So I have a button created in MXML and have put the following click event:

    Click = "dsSetup (Event)" "

    I also stated the following:

    public var myRequest:URLRequest = new URLRequest ("assets/myFile.xml");   folder located under the CBC in project

    public var myLoader:URLLoader = new URLLoader();

    public var myXML:XML;

    My function that loads is as follows:

    public function dsSetup(event:MouseEvent):void

    {

         trace ("dsSetup");

    myXML = new XML (myLoader.data);

    H3. Text = myXML.source.itemA;

    H4.text = myXML.source.itemB;

    H5.text = myXML.source.itemC;

    H7.text = myXML.source.itemD;

    H8.text = myXML.source.itemE;

    currentState = "MainMenu";

    }

    myLoader.addEventListener (Event.COMPLETE, dsSetup);   I think that this line is no longer as I put it in the MXML

    myLoader.load (myRequest);

    It's the way I did in Flash and it worked fine, but I must be missing something when it comes to Flex.

    Can you explain or point me to a good tutorial that shows how to load XML in Flex code?

    Those I've found seems to have about 50 lines of code just to load a file and add through a complex for a beginner.

    Thank you very much

    I suggest you save the data loaded in a variable that can be linked, then bind the properties of the text - who:

    [Bindable]

    var myXML:XML;

    public void dsSetup(event:MouseEvent):void

    {

    myXML = new XML (myLoader.data);

    currentState = "MainMenu";

    }

    ...

  • Loading the XML file inside a Bpel process

    Hello
    I have a bpel process in which I read an xml file that is in the MDS, in this xml file I find information if certain values, so my question is if, every time I execute the command to search for the information contained in the XMLFile step open the file?
    I use the following sentence:
    oraext:Lookup-XML('oramds:/apps/Fer_Common/XML/Error.XML','/errorCodes/ErrorCode','name','value',bpws:getVariableData('Variable_2'))

    Is it possible to load only once in the first call of bpel process?, I mean, I don't want to load the file whenever I need to read something from the xml.
    Concerning
    Yuri

    Hello
    DVMs are also accessible from the BPEL. You can create an assign activity, and in the expression builder, you have a set of functions called features DVM. You can use these functions to search in the DS.
    You can also use the same functions in the transformations.

Maybe you are looking for

  • Firefox is difficult to close

    Firefox is difficult to close: it will not respond to a click on the top right X

  • Printer re - install - Scan does not work

    I have re-installed a series HP Photosmart C3100 all in One printer/scanner on a new PC with Windows 7-64 bit. Downloaded the latest version of the software including a patch (CPE_SCAN_DESTINATION_UPDATE_hpcom_001_003) without apparent difficulty. Pr

  • Mail out of Live Mail, Windows 7

    My Windows Live Mail was not able to connect with my Comcast Email accout on outbound only for the last 3 days.  I get the error message "0x800CCC0E IXP_E_FAILED_TO_CONNECT cannot connect to the server.  I have not changed my settings. Incoming is a

  • Windows detects the installed memory (RAM) 32.0 GB. Then there (16.0 GB usable)

    Windows detects the memory (RAM) installed 32.0 GB. Then there (16.0 GB usable). OS is windows 7 64 bit. Why are there only 16.0 GB usable? and how to fix this? Thank you

  • Help needed to validate node parameter

    Hi Denzz,I need help on a validation parameter I need to assign a hierarchical level, here is the scenario.I have a property definition Custom.Property1 that has a level of global node property, defined property type and type of data as associated no