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.

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 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

  • 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

  • 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

  • Can i load transactional Data from ge DS without having load M Data before

    Hello,
    I want to load transactional data from a generic data source.
    I just want to know whether it would be successful, after the master data of 0material i load in the PSA couldn't be loaded in the infoObject (000000XXXXXXX -> material number error) by the DTP (see Thread BI - BI general - User arnaud).
    If i can load the transactional data without having loaded the master data in the info Object, is it possible that it loads also the master data simultaneous.
    Thank you very much for helping
    AR.

    Loading transactions before master data can result in data elements not being populated in the InfoProvider in some cases, hence the "Best Practice" recommendation to load master data first.
    For example, if you have update/transformation rules that go read master data to get additional data to enhance the transactional data, or you map master data attributes  during the transaction load, the master data attributes could be missing values if you don't load master data first.

  • 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

  • Load XML Data into relational Table

    Hi All,
    I have a requirement to load data in an XML file into columns in an oracle table. This has to be done on the command line from a unix box which connects to a remote oracle DB.
    Can some one give me a step by step procedure to do this (preferably using sqlloader) or point me in the right direction.
    thank you

    Hi,
    Read "Oracle XML DB Developer's guide", Chapters 2,3,4,5.
    That will give you very good idea.
    The reason, I am suggesting reading is, there is not "one" way to do it. There can be many good ways, depending on the size, complexity of the XML and also your intended use of that XML data.
    Regards

  • 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

  • My camera is not working on my HTC One (M8). Iv'e tried unistall/re-install, restarting, clearing cache, force stop, and software is up to date. Any other ideas?

    My camera is not working on my HTC One (M8). Iv'e tried unistall/re-install, restarting, clearing cache, force stop, and the software is up to date. Any other ideas?

    Turn off Google Voice detection for Google now. That breaks a lot of cameras surprisingly.

  • HT4199 Have to start computer before any other WiFi gadget

    Hi,
    I would like any advice to the following issue:
    I have to start my computer (MBP), before any other WiFi electronics for they to find network. For instance, if I want to print a document I only have to options:
    A) I turn On my printer (Canon MG5250), at the beginning of the day and let it On or...
    B) I have to restart my MBP with the printer already On for it to print.
    The same happens with my Smart TV (Samsung). It won't find the PLEX server if I start my TV after my computer.
    I have all three (MBP, TV and Printer), connected to the same Home network, everything wireless (MBP included).
    Any assistance appreciated. Thanks.

    I would suggest downloading and running the HP Printing Diagnostic Utility.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

Maybe you are looking for

  • Chinese in System Info (Russian OS X).

    I have a problem with russian language in System Info of OS X Lion (10.7.4). In item where i see information about RAID i see Chinese symbols! Can i fix it or i must to learn Chinese?)

  • Adding logo with Alpha channel to Quicktime and exporting as .mp4

    I'm adding a PNG file with alpha channel to my existing movie file using "Add to Selection and Scale". I then have my movie with the overlayed graphic. When I then Export as an mp4, the alpha channel is ignored! Any help, anyone?

  • How do i view calender attachments using ios5

    I thought that a new feature of ios5 was the ability to view event attachments inside the calendar.  I can not do this and am wondering if there is a problem and if someone knows the solution.

  • Order Status says "Page Currently Not Available"

    It has been working for me ever since Thursday. It hasn't said anything but We Received Your Order and We Are Processing it or whatever, but at least it came up. Is it down for everyone else?

  • Unable to open files properly.

    I have been giving Premiere CS5.5 a go recently. It's something I want to make use of for a living so I got myself one of the classroom in a books for the software. I'm aware it's for CS5 rather than .5 but I'm trying. Anyway I'm just starting with t