Loading XML data on n70 (fl2.0)

hey all,
just been working on an xml reader for fl2.0
I have the appilcation dynamicaly loading a menu system using
the data from an online xml file.
It all works fine in the emulator, but when i try and run it
on the N70 it says 'unable to load data'
i have made the following script to load in the data and
create the menu.... this is the part that loads the xml object.
forumXML.onLoad = function() {
trace(_root.firstMenu);
loadPosts._visible = false;
if (_root.firstMenu) {
for (var i:Number = 0; i<10; i++) {
initItem.id = (forumXML.firstChild.childNodes
.attributes.id);
initItem.offence =
(forumXML.firstChild.childNodes.attributes.section);
initItem.area = (forumXML.firstChild.childNodes
.attributes.area);
initItem.Time =
(forumXML.firstChild.childNodes.attributes.time);
initItem.date = (forumXML.firstChild.childNodes
.attributes.date);
initItem.Comment =
(forumXML.firstChild.childNodes.childNodes[0].firstChild.nodeValue);
initItem.Photo = (forumXML.firstChild.childNodes
.childNodes[1].firstChild.nodeValue);
makeAnItem(i);
nextY += 30;
trace("this is i: "+i);
if (i == 9) {
makeNext(i);
i++;
} etc....
then .....
forumXML.load("
http://www.omedia.mobi/forum.xml");
to load the data in to the xmlobject.....
any ideas why this is happening?
the data loaded is very small... so i can't see it being a
memory issue
any input would be a great help,
many thanks
Matt

Hi Mitsimatt,
Did you check if your cellphone has a functional "data"
service? Some operators offer GPRS data connectios to their
costumers but just in a very limited way, wich blocks Flash Lite
applications from loading external data.

Similar Messages

  • Best method to load XML data into Oracle

    Hi,
    I have to load XML data into Oracle tables. I tried using different options and have run into a dead end in each of those. I do not have knowledge of java and hence have restricted myself to PL/SQL solutions. I tried the following options.
    1. Using DBMS_XMLSave package : Expects the ROWSET and ROW tags. Connot change format of the incoming XML file (Gives error oracle.xml.sql.OracleXMLSQLException: Start of root element expected).
    2. Using the XMLPARSER and XMLDOM PL/SQL APIs : Works fine for small files. Run into memory problems for large files (Gives error java.lang.OutOfMemoryError). Have tried increasing the JAVA_POOL_SIZE but does not work. I am not sure whether I am changing the correct parameter.
    I have read that the SAX API does not hog memory resources since it does not build the entire DOM tree structure. But the problem is that it does not have a PL/SQL implementation.
    Can anyone PLEASE guide me in the right direction, as to the best way to achieve this through PL/SQL ??? I have not designed the tables so am flexible on using purely relational or object-relational design. Although would prefer to keep a purely relational design. (Had tried used object-relational for 1. and purely relational for 2. above)
    The XML files are in the following format, (EXAMINEEs with single DEMOGRAPHIC and multiple TESTs)
    <?xml version="1.0"?>
    <Root_Element>
    <Examinee>
    <MACode>A</MACode>
    <TestingJID>TN</TestingJID>
    <ExamineeID>100001</ExamineeID>
    <CreateDate>20020221</CreateDate>
    <Demographic>
    <InfoDate>20020221</InfoDate>
    <FirstTime>1</FirstTime>
    <LastName>JANE</LastName>
    <FirstName>DOE</FirstName>
    <MiddleInitial>C</MiddleInitial>
    <LithoNumber>73</LithoNumber>
    <StreetAddress>SomeAddress</StreetAddress>
    <City>SomeCity</City>
    <StateCode>TN</StateCode>
    <ZipCode>37000</ZipCode>
    <PassStatus>1</PassStatus>
    </Demographic>
    <Test>
    <TestDate>20020221</TestDate>
    <TestNbr>1</TestNbr>
    <SrlNbr>13773784</SrlNbr>
    </Test>
    <Test>
    <TestDate>20020221</TestDate>
    <TestNbr>2</TestNbr>
    <SrlNbr>13773784</SrlNbr>
    </Test>
    </Examinee>
    </Root_Element>
    Thanks for the help.

    Please refer to the XSU(XML SQL Utility) or TransX Utility(for Multi-language Document) if you want to load data in XML format into database.
    Both of them require special XML formats, please first refer to the following docs:
    http://otn.oracle.com/docs/tech/xml/xdk_java/doc_library/Production9i/doc/java/xsu/xsu_userguide.html
    http://otn.oracle.com/docs/tech/xml/xdk_java/doc_library/Production9i/doc/java/transx/readme.html
    You can use XSLT to transform your document to the required format.
    If you document is large, you can use SAX method to insert data into database. But you need to write the code.
    The following sample may be useful:
    http://otn.oracle.com/tech/xml/xdk_sample/xdksample_040602i.html

  • Option to load XML data into BI 70

    Hi All,
    I have read some postings on forums and also have read the "HOW TO load XML data in BW" guide. I am confused when I read the SAP online help documentation for loading XML data .
    Question : Out of the 3 options listed below which option is best suited for loading XML data into BW . XML file is going to be provided by 3rd party company ?
    Thanks and appreciate any input .
    Smith .
    Here is what I found for BI 70 EHP1 help :
    http://help.sap.com/saphelp_nw04s/helpdata/en/b2/e50138fede083de10000009b38f8cf/frameset.htm
    Data is generally transferred into SAP BW by means of a data request, which is sent from SAP BW to the source system (pull from the scheduler). You can also send the data to SAP BW from outside the system. This is a data push into SAP BW.
    A data push is possible for various scenarios:
    ●     Transferring Data Using the SOAP Service SAP Web AS
    ●     Transferring Data Using Web Services
    ●     Transferring Data Using SAP XI
    In all three scenarios, data transfer takes place using transfer mechanisms that are sufficient for Simple Object Access Protocol (SOAP); the data transfer is also XML-based.
    The SOAP-based transfer of data is only possible for flat structures. You cannot transfer hierarchy data.

    Hi,
    I feel you can go with 2nd option. But still wait for some more inputs from Experts........
    Regards,
    Suman

  • Loading xml data to a oracle database problem in style sheet

    Hi,
    I Have one small Problem While loading xml data to a oracle database.
    In the XML i have the Columns and Data Like this.
    <Data>
    <TRAN>
    <Type_Trs>A</Type_Trs>
    <T1>2</T1>
    <T2>3</T2>
    </TRAN>
    <TRAN>
    <Type_Trs>B</Type_Trs>
    <T1>2</T1>
    <T2>3</T2>
    </TRAN>
    </Data>
    I have TRAN Table having Field Like this.
    TRAN(Type_Trs,T1,F)
    Note:- The XML Column T2 is Not matching with TRAN Table Column F
    I want to fetch T2 data into F column.
    When I am fetching the xml data into oracle table only
    one row is fetching.
    Can You help me
    To load the the all the record of XML data into the Oracle Table
    What will be my XLS Style Sheet File Please
    suggest me.
    Regards
    MBR
    Thnks in Advance

    Hi MBR
    You would be better posting your question to the general XML forums:
    http://forums.oracle.com/forums/category.jspa?categoryID=51
    This is purely for XML/BI Publisher where we get the data back out of the db :o)
    Tim

  • Loading XML data in Utilities

    I need to load some XML data into a staging table.
    I am using this navigation path...
    Home>Utilities>Data Load/Unload>Load>Load XML Data
    The staging table is setup with the columns in the XML file.
    I am receiving this error when I attempt to load the XML file:
    ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00222: error received from SAX callback function
    I'm not sure that I have the correct columns in the table to match the XML file.
    Is there any documentation describing what columns should be in the table I am loading the XML data into?
    Many Thanks,
    Reid

    There are detail steps here: Sending XML file data into BW
    Otherwise please specify where you faced problems.

  • Flex 4 - is it possible to load xml data into the preloader and pass it to the application?

    or is there a similar method to load XML data while the preloader is active, so the XML data will be ready when the main application loads?

    i'm having great difficulty finding any relevant info from the forum and the web about accessing preloader variables from the application.
    is there a way to access the preloader itself from the application?
    It seems logical that the systemManager garbage collects it. If that's the case, how can i access the systemManager from the preloader and possible pass variables to it, then later access them from the application? this seems to be the best direction to tackle this problem. but maybe i'm overlooking another way?

  • XML Publisher Issue, Unable to see Data-- Load XML Data Option.

    Hi ,
    Can any one help to solve this issue.
    Iam using XML Publisher tool to develop Oracle reports.
    while doing this iam unable to useXML Publisher.
    We have,
    XML Publisher 5.5 version,
    My problem is iam unable to see " *Microsoft word-->Data-->Load XML Data* " after installation of xml publisher succesfully.
    Every one in my team are working with the same versions.but in my machine iam unable to get this option.
    Thanks-
    Sowmya.

    Hi Sairam,
    Check the checkbox Convert database Null values to default and Convert other Null values to default under Edit -> Report Options and then refresh the report.
    If this does not work you can contact SAP Support.
    - Nrupal

  • Loading xml data before any other code

    I am able to load xml but i want to load xml data before any other code so that i can use xml data in other time line......
    In output i am getting like that.....
    hiiiiiiiiiiiiiiiiiiiii in vertical
    xmlData.servername in verr=undefined
    hiiiiiiiiiiiiiiiiiiiii in vertical
    xmlData.servername in verr=undefined
    sunil
    sunil
    sunil
    sunil
    hiiiiiiiiiiiiiiiiiiiii in vertical
    xmlData.servername in verr=DIN66003188
    sunil
    sunil
    sunil
    sunil
    xmlData.servername   is loading so late that it is taking undefined value.
    So please suggest somthing.

    the code is like that
    import com.utils.GlobalVarContainer;
    import flash.display.Loader;
    import flash.events.Event;
    import flash.net.URLLoader;
    import flash.net.URLRequest;
    var _xml:XML;
    var xmlData:XML = new XML();
    loadXMLFile();
    var server;
    var msgListGroup:XMLList;
        function loadXMLFile():void
       var loader= new URLLoader(new URLRequest("server.xml"));
       loader.addEventListener(Event.COMPLETE, loadedCompleteHandler);
       function loadedCompleteHandler(e:Event):void
       xmlData = new XML(e.target.data);
         GlobalVarContainer.vars.servername=xmlData.servername;
       GlobalVarContainer.vars.projectname=xmlData.projectname;
       msgListGroup=xmlData.servername;
    i want to use this GlobalVarContainer.vars.servername within other movieclip.....so i m taking global variable but it is also not working.
    this i m using in other movieclip...
    var localhost=GlobalVarContainer.vars.servername;
    var prjectName=GlobalVarContainer.vars.projectname;
    compare_btn.addEventListener(MouseEvent.CLICK,compare_btnClick);
    function compare_btnClick(e:Event){
      trace("hi");
      navigateToURL(new URLRequest("http://"+localhost+":8080/"+prjectName+"/web/vertical45.jsp?page=1"), "_self");
    and this i cant put in COMPLETE event handler function bcoz this compare_btn code is in three frame.
    plz advise.

  • Getting Error When I click on Data -- Load XML Data (XMLP Desktop 5.6.2)

    Hi All,
    I'm getting an error "Compile error in hidden module: Module_registry" when i click on Data -->Load XML Data on MSword. I have installed XMLP Desktop 5.6.2 successfuly. Can anybody help me..?
    Regards,
    Aanta

    Can you check the eventviewer on your desktop if there is an error logged against any DLL in application log (Start -- Run -- eventvwr) each time you hit this error. Also is this the first time you installed XMLP Desktop or did you have an older version?

  • Problem with load XML data

    Hi.
    I have a problem this load XML data. For example: file name:
    01-05-2008.xml => in this file all data have date=01.05.2008.
    Once i load period 01.05.2008 to 10.05.2008 my app load 10 files.
    Sometimes some row this greater date stay earlier then row this
    smaller date. I don't know why this happend. Bellow part of code.
    Please help.
    P.S. sorry for my very bad english.

    Hi Lekser,
    ntsii is totally right.
    Calling httpservice send is a async operation, which means
    you don´t know when the result event of such operation will
    return.
    You can also sort your grid after a xml data file was loaded.
    At least it would guarantee that the entries appear in the
    right order.
    best regards,
    kcell

  • How to use Load XML Data (Home Utilities Data Load/Unload Load)

    How is Load XML Data (Home>Utilities>Data Load/Unload>Load) supposed to work? Where is this documented?
    What table type/structure is required?
    How does this related to XDB functionality?

    It's not really documented that well in the XE redux documents (or even the base Apex Documents)- see http://download-west.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25309/sql_utl.htm#sthref2530
    However, it's reasonably easy to use - you can export a table to XML format, and then reload the table with the data by importing the XML document. It has nothing to do with XDB, it's just a different flat file representation for unloaded data than CSV

  • Xml publisher enterprise!!! create rtf file dynamically with load xml data

    i am new to xml publisher enterprise , i want a solution for this question ...
    i want create rtf file dynamically with loading xml data....means i wrote a program in jsp where the the output in xml file simultaneously create rtf file..but i enable load the xml data in rtf file but when i goto rtf file from where data in that load xml then it genrate the columns..but i want in dynamiclly to load the data will you please guide me ......

    Hi Atiq
    Im not quite clear on the requirement here:
    1. Do you just want to be able to extract the data and apply a template to the XML data from your jdp and render output?
    If so then you can use the XMLP APIs ... the are in the user guide. Particularly:
    RTFProcessor - converts RTF template to XSLFO stylesheet
    FOProcessor - takes, XML data, XSLFO stylesheet and output format and generates the required output.
    2. Do you want a template that will accept any data and just format it into rows and columns ? This can be written but your XML structure is going to have to be static, the data of course can be dynamic.
    Regards, Tim

  • Issue in loading XML data in BW delta queue

    Hello All,
    My requirement is to stage small amount of XML data in SAP BW. For doing so, i have followed below steps...
    1. Create File data source
    2. Define Myself data source using file data source with Function module
    3. Initialize load process without no data transfer
    4. Using SOAP RFC service, Load xml records in delta queue.
    Now in step number 4, i am unable to open the SOAP RFC service using which we can select the xml file.
    Any help in this regard will be highly appriciated.
    Thanks
    Ketan

    SOAP/RFC service is already activated. Only problem i am facing is as below.......
    1. Created HTML page by copying html snipest
    2. On created HTML page, select XML file as an input and URL of SOAP service which is pointing out to the application server
    3. When i press "Send recordset" button, HTML page throws "Java script" error and data is not being pushed to BW delta queue....
    Please share your ideas to resolve this issue.
    Thanks in advance,
    Ketan

  • Load XML Data to Oracle Table

    I am new to AQ and XML,
    We have a situation at our project, the last DBA left us without any previous notice and no one here know AQ and XML. So now it is my duty to learn and work on this project.
    We are getting Queue with XML information (i mean data) we have to dequeue and then store that data in oracle tables.
    I tried to each and every site to get a grip of what's the basic here, but I get lost. It's more easy for me to understand a concept by going through examples rather study chapters.
    This is what I did today from this site. (http://www.oracle.com/technology/sample_code/tech/java/codesnippet/xmldb/HowToLoadLargeXML.html#PLSQLCode)
    created the potable, then loaded data in potable as per example. Now I want to load this data in a table which I created in Oracle (10.2....) table.
    CREATE OR REPLACE PROCEDURE loadpurchaseorder
    IS
    -- Declare a CLOB variable
    poxml CLOB;
    BEGIN
    -- Store the Purchase Order XML in the CLOB variable
    poxml :=
    '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <PurchaseOrder>
    <PONum>1001</PONum>
    <Company>Oracle Corp</Company>
    <PONum>1002</PONum>
    <Company>NPC Corp</Company>
    <PONum>1003</PONum>
    <Company>FDCA Corp</Company>
    <PONum>1004</PONum>
    <Company>Mahesh Corp</Company>
    <PONum>1005</PONum>
    <Company>Habeeb Corp</Company>
    </PurchaseOrder>';
    -- Insert the Purchase Order XML into an XMLType column
    INSERT INTO potable
    (purchaseorder
    VALUES (XMLTYPE (poxml)
    --Handle the exceptions
    EXCEPTION
    WHEN OTHERS
    THEN
    raise_application_error
    (-20101
    , 'Exception occurred in loadPurchaseOrder procedure :'
    || Sqlerrm
    END loadpurchaseorder;
    execute loadpurchaseorder;PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.04
    select count(*) from potable;COUNT(*)
    1
    Elapsed: 00:00:00.00
    select * from potable;PURCHASEORDER
    <?xml version="1.0" encoding="ISO-8859-1" standalone='yes'?>
    <PurchaseOrder>
    <PONum>1001</PONum>
    <Company>Oracle Corp</Company>
    <PONum>1002</PONum>
    <Company>NPC Corp</Company>
    <PONum>1003</PONum>
    <Company>FDCA Corp</Company>
    <PONum>1004</PONum>
    <Company>Mahesh Corp</Company>
    <PONum>1005</PONum>
    <Company>Habeeb Corp</Company>
    </PurchaseOrder>
    Elapsed: 00:00:00.03
    create table xml_ora_data(corp_id number, corp_name varchar2(30));Table created.
    Now I want data from potable to be loaded in xml_ora_data.
    any help is appriciated...
    Thanks
    Habeeb

    Thanks for the quick response...
    XML_ORA_DATA is the table I created as below..
    create table xml_ora_data(corp_id number, corp_name varchar2(30));

  • C# load xml data with attributes to datagridview; update data and save back to the xml

    Hi guys,
    i currently have this XML as data
    <DEALS>
    <DEAL ID="22" ISBN="0-7888-1623-3" Screenplay="Mary Kaplan" Title ="Mr Gentleman" Director = "Jonathan Jones">
    <ALLOCATION DEMANDE="5000" CODE="72" PRICE="25.00">2500</ALLOCATION>
    <ALLOCATION DEMANDE="7000" CODE="75" PRICE="35.00">4000</ALLOCATION>
    </DEAL>
    <DEAL ID="23" ISBN="1-7988-1623-3" Screenplay="Joe Doe" Title ="Nothing Much" Director = "Listentome">
    <ALLOCATION DEMANDE="3300" CODE="72" PRICE="15.00">2500</ALLOCATION>
    </DEAL>
    </DEALS>
    I load the data with the code below:
    i use xDocument to load the DealData.xml and then put it in ToString.
    //outside of the form
    public static class XElementExtensions
    public static DataTable ToDataTable(this XElement element)
    DataSet ds = new DataSet();
    string rawXml = element.ToString();
    ds.ReadXml(new StringReader(rawXml));
    return ds.Tables[0];
    public static DataTable ToDataTable(this IEnumerable<XElement> elements)
    return ToDataTable(new XElement("Root", elements));
    //in the form
    private void button2_Click(object sender, EventArgs e)
    var xDocument = XDocument.Load("DealData.xml");
    string txtxml = xDocument.ToString();
    StringReader reader = new StringReader(txtxml);
    XDocument doc1 = XDocument.Load(reader);
    var res = doc1.Descendants("DEAL").ToList().Where(x => x.Attribute("ID").Value == "22").Descendants("ALLOCATION");
    dataGridView1.DataSource = res.ToDataTable();
    Now my question is:
    I would like to update the data from the DataGridview with the Attribute("ID").Value == "22" and save the data back to the XML.
    For example, after I load my data on the datagridview, we only pickup anything that is in the node
    <DEAL ID="22" ISBN="0-7888-1623-3" Screenplay="Mary Kaplan" Title ="Mr Gentleman" Director = "Jonathan Jones">
    <ALLOCATION DEMANDE="5000" CODE="72" PRICE="25.00">2500</ALLOCATION>
    <ALLOCATION DEMANDE="7000" CODE="75" PRICE="35.00">4000</ALLOCATION>
    </DEAL>
    I updated the datagridview below with DEMANDE = 9000 CODE = 66 PRICE = 24.77 AND ALLOCATION = 1200
    I want be able to extract the data back in the xml as a child of the DEAL ID = "22"
    So that the XML file looks like this 
    <DEALS>
    <DEAL ID="22" ISBN="0-7888-1623-3" Screenplay="Mary Kaplan" Title ="Mr Gentleman" Director = "Jonathan Jones">
    <ALLOCATION DEMANDE="5000" CODE="72" PRICE="25.00">2500</ALLOCATION>
    <ALLOCATION DEMANDE="7000" CODE="75" PRICE="35.00">4000</ALLOCATION>
    <ALLOCATION DEMANDE="9000" CODE="66" PRICE="24.77">1200</ALLOCATION> <-! this is the new line !->
    </DEAL>
    <DEAL ID="23" ISBN="1-7988-1623-3" Screenplay="Joe Doe" Title ="Nothing Much" Director = "Listentome">
    <ALLOCATION DEMANDE="3300" CODE="72" PRICE="15.00">2500</ALLOCATION>
    </DEAL>
    </DEALS>
    Is there a way to achieve that?
    I have been searching and reading in the books but i cannot find a solution for this.
    Thank you
    Please do not forget to click “Vote as Helpful” if the reply helps/directs you toward your solution and or "Mark as Answer" if it solves your question. This will help to contribute to the forum.

    I would think of something like the below, the id is passed as static you need to change this
    protected virtual void button1_Click(object sender, EventArgs e)
    //Get DataTable from DGV datasource
    DataTable dt = new DataTable();
    dt = (DataTable)dataGridView1.DataSource;
    string file1 = "<?xml version=\"1.0\" encoding=\"utf-8\" ?><DEALS><DEAL ID=\"22\" ISBN=\"0-7888-1623-3\" Screenplay=\"Mary Kaplan\" Title =\"Mr Gentleman\" Director = \"Jonathan Jones\"><ALLOCATION DEMANDE=\"5000\" CODE=\"72\" PRICE=\"25.00\">2500</ALLOCATION><ALLOCATION DEMANDE=\"7000\" CODE=\"75\" PRICE=\"35.00\">4000</ALLOCATION></DEAL><DEAL ID=\"23\" ISBN=\"1-7988-1623-3\" Screenplay=\"Joe Doe\" Title =\"Nothing Much\" Director = \"Listentome\"><ALLOCATION DEMANDE=\"3300\" CODE=\"72\" PRICE=\"15.00\">2500</ALLOCATION></DEAL></DEALS>";
    StringReader reader = new StringReader(file1);
    XDocument doc1 = XDocument.Load(reader);
    //Remove all elements related to the id being populated into the Grid
    doc1.Descendants("DEAL").ToList().Where(x => x.Attribute("ID").Value == "22").Descendants("ALLOCATION").Remove();
    //loop through datatable and create new xelement to be added to the xdocument
    foreach (DataRow dr in dt.Rows)
    XElement xe = new XElement("ALLOCATION",
    new XAttribute("DEMANDE", dr[0].ToString()),
    new XAttribute("CODE", dr[1].ToString()),
    new XAttribute("PRICE", dr[2].ToString()));
    xe.Value = dr[3].ToString();
    doc1.Descendants("DEAL").ToList().Where(x => x.Attribute("ID").Value == "22").FirstOrDefault().Add(xe);
    Fouad Roumieh

Maybe you are looking for

  • Video Quality Is

    Hello all, I just purchased a Creative Zen (32 GB), and downloaded my first videos to it. I used the conversion software that came with the Zen, and used the Best Video Quality setting. The first time I play a video it looks phenomenal. However, afte

  • Report on Consolidated Status

    Hi Guys, I am looking for a report which can be generated for all the NC in consolidated status for which Request are waiting in PRD buffer and not imported to PRD yet. scenario Whenever we consolidate a NC all the request goes to PRD buffer and wait

  • Production Report required SHIFTWISE

    Hello Sirs, I have following requirement in SAP through ECC 6.0 1. Production Report Shiftwise REPORT. 2. While confirming Client wants to mention the name of the Operator who has done the Rejection (HR module not opted for). 3. Whether we can input

  • Update Bank Account number in Line items

    Hi All, How to update Bank account number in the bank clearing account line item. I used sort key to update but unsuccessful. please let me know the way to update the bank account number in the line item Thanks. Raj Edited by: Raj Racha on Nov 29, 20

  • How to add properties in JMS

    Hello, i have created a proxy and business services that send JMS to a queue. But i don't find how to set a new jms perpertie. Thanks for your help.