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

Tags: Business Intelligence

Similar Questions

  • shipment value of the PHP variable to Flash to load an xml file

    I would like to load an XML file to the local location or on the server to ignore the name of the file. I use PHP to send the name of the Flash file.

    Here it is the PHP code:

    <? PHP

    filesInDir ('C:\Documents and Settings\457305\My Documents\shrikant\Flash Tutorials\webassist');

    function filesInDir ($tdir)

    {

    $dirs = rewinddir(3) ($tdir);

    foreach ($dirs as $file)

    {

    If (($file == '.') |) ($file == '..'))

    {

    }

    else if (is_dir ($tdir. » /'. $file))

    {

    filesInDir ($tdir. » /'. $file);

    }

    on the other

    {

    echo "fileName = $file";

    }

    }

    }

    ? >

    And here is the Actionscript code loading:

    import flash.net.URLLoader;

    import flash.net.URLRequest;

    import flash.events.Event;

    to import flash.net.URLVariables;

    Stop();

    Set the PHP file to load

    var phpFile:String = " " http://localhost/WebAssist/test.php ";

    var cons_xml:XML;

    var xmlLoader:URLLoader = new URLLoader();

    Specify the property dataFormat of the URLLoader to be "VARIABLE".

    This ensures the variables loaded into Flash with the same variable names

    xmlLoader.dataFormat = pouvez;

    xmlLoader.load (new URLRequest (phpFile));

    xmlLoader.addEventListener (Event.COMPLETE, processXML);

    function processXML(evt:Event):void

    {

    trace (evt. Target.Data.FileName);

    cons_xml = new XML (evt.target.data.fileName);

    gotoAndPlay (2);

    }

    When I trace evt.target.data it displays "fileName = mainOpenEndedXML % 2Exml" and when I trace evt.target.data.fileName the file name is correctly displayed as 'mainOpenEndedXML.xml'.

    But in the two next lines where the loading is done that it does not load the file IE does not play the SWF to an xml file.

    I've searched the Internet to find answers, but not able to find solutions.

    Loading works fine if I insert the xml file directly in the code and the SWF in the XML file plays correctly. Here it is the code for the same thing:

    import flash.net.URLLoader;

    import flash.net.URLRequest;

    import flash.events.Event;

    to import flash.net.URLVariables;

    Stop();

    var cons_xml:XML;

    var xmlLoader:URLLoader = new URLLoader();

    xmlLoader.load (new URLRequest ("mainOpenEndedXML.xml"));

    xmlLoader.addEventListener (Event.COMPLETE, processXML);

    function processXML(evt:Event):void

    {

    cons_xml = new XML (evt.target.data);

    gotoAndPlay (2);

    }

    Any help on this would be greatly appreciated


    You said you use PHP to send the name of the Flash file.  If the php file you provide only the name of the xml file that you need to load, then you will have to load the xml file in the same way that you show in your last set of code where you say that load you it directly.

  • The index.xml file required is missing. Cannot open documents. 10.10.5 sys

    The index.xml file required is missing. Cannot open documents. 10.10.5 sys

    You have two versions of installed Pages, where the Pages ' 09 document format use it internal document index.xml, and all Pages v5 releases use a different document format that does not incorporate the index.xml file. If you have Pages ' 09 running without window, and double-click a v5 document Pages, you will get a Pages ' 09 dialog box indicating that the index.xml file is missing.

    Exit Pages ' 09 and then double click on the document to open correctly in your version of v5 Pages.

  • load an external file with urlloader doesn't work in AIR

    Had some problems with the loading of an external xml file with urloader. Read somewhere to use

    file.applicationDirectory.resolvePath('examplefileURL.xml');

    -What is the normal way to load external xml files or indeed all files as SWFs etc... and what about mobile is that the only way?

    not exactly.

    1 applicationDirectory is a static property of the File class.

    2. you probably don't want to use applicationDirectory and

    3. you must use the file system class to load files from local file system:

    var file:File = File.applicationStorageDirectory.resolvePath ('examplefileURL.xml');

    var fs:FileSystem = new FileSystem();

    ISA Open (file, FileMode.READ);

    var XML = XML (fs.readUTFBytes (fs.bytesAvailable));

    ISA Close();

    trace (XML. ToXmlString());

  • Loading multiple Xml files.

    Ive got a menu based on xml and xml Photo Gallery based on the same chassis on my calendar.
    When I try to preview the film only the photogallery load xml file.

    I was wondering if anyone knows a method to load two xml files at a time or one after the other...

    Ive been after Jacques tutorials for menu xml and xml photo gallery... my code is very similar to them.
    Thanks in advance.
    Chris.

    Simply create separate XML objects.

    myXmlMenu = new XML();
    myXmlGallery = new XML();
    myXmlMenu.load (...)
    myXmlGallery.load (...)
    etc.

  • Static load of the XML file with the list of choices

    Hello

    So let me explain my problem:

    -J' have XML files: (in my < fx:Declaration >)
    < fx:XML id = "flexang" source = "xml/flex - ang.xml" / >
    < fx:XML id = "flexastro" source = "xml/flex - astro.xml" / >
    < fx:XML id = "flexber" source = "xml/flex - ber.xml" / >

    -J' have a list constructed as follows:

    (in my < fx:Declaration >)

    < fx: Model id = "anim" >
    States <>
    < label State = data="animations/flex-ang.swf"/ "Anguinéa" >
    < label State = "Retrograde motion" data="animations/flex-astro.swf"/ >
    < label State = "Rod of Bérard" data="animations/flex-ber.swf"/ >
    < / states >
    < / fx: Model >


    (and then)

    < mx:List id = 'source' width = '100% ', color = 'blue '.
    dataProvider = "{anim.state}" "
    change = "selectedListItem .selectedItem = list (event.currentTarget);" / > "

    (with public var selectedListItem:Object ;)


    My list is designed to load dynamicaly some SWF files

    < mx:SWFLoader id = "animation".
    source = "{selectedListItem.Data}" "
    autoLoad = 'true '.
    Width="100%"/ >

    -But now I want to display the correspondent. So I tried to build the string to the XML of the selectedListItem.data id:

    private void xmlFile(swf:String):String
    {
    var pref:String;
    var tab = swf.split (".", 2);
    Tab = Tab [0]. Split("/",2);
    Pref = tab [1];
    Pref pref =. Split("-"). Join("");
    return of pref;
    }

    This gives me, for example, "flexang" of "animations/flex - ang.swf. But my problem is that I want to put my XML file in my region RichText:

    < s:RichEditableText id = 'codeView' editable = textFlow = "{TextFlowUtil.importFromXML (xmlFile (selectedListItem.data)) 'false'}" / > "

    But xmlFile returns a string! and I don't know how to specify that it is an XML ID.

    I hope I am clear enough.

    Thank you if you try to help me

    Wait, that wasn't fair.  Try:

    TextFlow = "{TextFlowUtil.importFromXML (this [xmlFile (selectedListItem.data)])}

    "

  • Generate the XML file with elements and attributes in table Oracle

    Hello

    I have the following table structure.

    CREATE TABLE SPOOL
    (
    COIL_ID NUMBER (10),
    COIL_NUMBER VARCHAR2 (40),
    COIL_PO_OPERATING_UNIT VARCHAR2 (20).
    COIL_PO_NUMBER VARCHAR2 (40),
    MILL_NUMBER VARCHAR2 (2),
    MILL_COIL_STATUS VARCHAR2 (15).
    ITEM_NUMBER VARCHAR2 (40),
    COIL_WEIGHT NUMBER (38),
    WEIGHT_UOM VARCHAR2 (10),
    DOCUMENT_NUMBER VARCHAR2 (40),
    DATE OF DOCUMENT_DATE,
    DOCUMENT_STATUS VARCHAR2 (15).
    DOCUMENT_TYPE VARCHAR2 (20).
    DOCUMENT_SOURCE VARCHAR2 (20).
    TEST_ID NUMBER (38),
    NUMBER VALUE,
    TEST_UOM VARCHAR2 (20).
    TEST_STATUS VARCHAR2 (70).
    TESTER_LOGIN VARCHAR2 (20).
    EQUIPMENT_CODE VARCHAR2 (50).
    DOC_STS_MSG VARCHAR2 (600)
    )
    /
    For each record COILID, there could be several folders baased on TEST_ID/VALUE/TEST_UOM etc.

    And I would like to prepare the xml file in the following format by selecting data in the COIL?


    <? XML version = "1.0"? >
    -coil xsi: noNamespaceSchemaLocation = "www.tempel.com/COIL.xsd" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xdb = "http://xmlns.oracle.com/xdb" >
    < CoilId > 1419532 < / CoilId >
    < CoilNo > D2221050010A0 < / CoilNo >
    Changzhou < CoilPOOperatingUnit > < / CoilPOOperatingUnit >
    < CoilPONo > 4619 < / CoilPONo >
    < MillNo > 86 < / MillNo >
    Test of < MillCoilStatus > < / MillCoilStatus >
    C5 050FP800 < ItemNo > < / ItemNo >
    < weight > 7076 < / weight >
    KILOGRAM of < GLU > < / UDM >
    < DocumentNo > 0 < / DocumentNo >
    < DocumentDate > 2013 - 01 - 11 < / DocumentDate >
    < DocumentStatus > not < / DocumentStatus >
    < DocumentType > test < / DocumentType >
    CHIGMA1 < DocumentSource > < / DocumentSource >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4992" TestUnit = "mm" Status = 'NonProcessed' TestId = "135" / >
    < test DocStsMsg = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.0128" TestUnit = "mm" Status = 'NonProcessed' TestId = "124" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "12" TestUnit = "mm" Status = 'NonProcessed' TestId = "125" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.5095" TestUnit = "mm" Status = 'NonProcessed' TestId = "127" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.5042" TestUnit = "mm" Status = 'NonProcessed' TestId = "128" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.5058" TestUnit = "mm" Status = 'NonProcessed' TestId = "129" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4967" TestUnit = "mm" Status = 'NonProcessed' TestId = "130" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.5049" TestUnit = "mm" Status = 'NonProcessed' TestId = "131" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4972" TestUnit = "mm" Status = 'NonProcessed' TestId = "132" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4960" TestUnit = "mm" Status = 'NonProcessed' TestId = "133" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4996" TestUnit = "mm" Status = 'NonProcessed' TestId = "134" / >
    < / reel >

    Can you please guide me how to do it in a single query?

    Thanks in advance.

    Function EXTRACT will force a print in your version:

    SELECT XMLElement("Coil",
             XMLAttributes(
               'http://www.w3.org/2001/XMLSchema-instance' as "xmlns:xsi"
             , 'www.tempel.com/COIL.xsd' as "xsi:noNamespaceSchemaLocation"
             )
           , XMLForest(
               COIL_ID                as "CoilId"
             , COIL_NUMBER            as "CoilNo"
             , COIL_PO_OPERATING_UNIT as "CoilPOOperatingUnit"
             , COIL_PO_NUMBER         as "CoilPONo"
             , MILL_NUMBER            as "MillNo"
             , MILL_COIL_STATUS       as "MillCoilStatus"
             , ITEM_NUMBER            as "ItemNo"
             , COIL_WEIGHT            as "Weight"
             , WEIGHT_UOM             as "UOM"
             , DOCUMENT_NUMBER        as "DocumentNo"
             , DOCUMENT_DATE          as "DocumentDate"
             , DOCUMENT_STATUS        as "DocumentStatus"
             , DOCUMENT_TYPE          as "DocumentType"
             , DOCUMENT_SOURCE        as "DocumentSource"
             )
           , XMLAgg(
               XMLElement("Tests",
                 XMLAttributes(
                   DOC_STS_MSG    as "DocStsMsg"
                 , EQUIPMENT_CODE as "EquipmentCode"
                 , TESTER_LOGIN   as "TesterLogin"
                 , VALUE          as "Value"
                 , TEST_UOM       as "TestUnit"
                 , TEST_STATUS    as "Status"
                 , TEST_ID        as "TestId"
                 )
               )
             )
           ).extract('/*')
    FROM coil
    GROUP BY COIL_ID
           , COIL_NUMBER
           , COIL_PO_OPERATING_UNIT
           , COIL_PO_NUMBER
           , MILL_NUMBER
           , MILL_COIL_STATUS
           , ITEM_NUMBER
           , COIL_WEIGHT
           , WEIGHT_UOM
           , DOCUMENT_NUMBER
           , DOCUMENT_DATE
           , DOCUMENT_STATUS
           , DOCUMENT_TYPE
           , DOCUMENT_SOURCE ;
    
  • [Database Toolbox] possibility to Load From xml file in Labview and then in the database

    Before you write in my database, I want to save it and reload if the user wants to cancel the new charge that can last several minutes.

    If he cancels the load I get back my previous database data.

    I managed to save my database in XML through the "DB tools SaveRecordSet To File" VI. This VI records directly contains my database table in the xml file. And finally, I only if the other VI to load file will do the same thing, means load the file and save it in my database but it gives just a recordset in labview.

    Question: is it possible just to load the xml file into the database directly through Labview?

    Why, finally, these screws do not have the same behavior?

    I don't know, but I just thought I would chime, that if you fail to do with LabvIEW, you might want to look by making your writing in a 'Transaction' database, if your DBM takes in charge (most except MS Access)

  • Analysis of XML file with the word &amp; quot; Infinity &amp; quot; in it

    I'm having a problem in Flex that parses an XML file, one of the names in the text file contains the word "infinite". Unfortunately, it is a constant in Flex and the element of my table don't think it's a text string but a value. I tried the definition of the xml element type and by putting the characters exhaust around the text, but nothing does. If I change the text of tiny "infinite", it works fine.
    Any help much appreciated.

    This looks like a bug. You can drop, with an example of the size of the code which illustrates, here:

    http://bugs.Adobe.com/JIRA

    Thank you!
    Matt Horn
    Flex docs

  • Last updated top 40 Pages causes "the index.xml file required is missing."

    I just upgraded to 4.1 Pages, and now I can't open my existing files.  "The required index.xml file is missing."

    See if this explanation by PeterBreis0807 helps you

    The required index.xml file is missing from the Pages how to solve

  • Get the table to an XML file with several bays

    Hello

    So I was faced with this program I have for the past few months but I'm almost there. I have a program that creates several berries and place one after the other in an xml file, and each table has its unique name. Now, I would create a VI that takes this XML file and when the user enters the name of the table specific they are seeking it goes into the xml file concludes the table in its entirety under this name and displays in an indicator of output to be read on the VI. A sample of my xml file and the VI that creates this xml file is attached.

    Thank you

    dlovell

    Something like this should work for you.

  • Include the XML file with OTA Download

    Is it possible to include an XML file generated with OTA Download?  I am writing an app that will be distributed with a web application that comes with it.  It must be deployed on individual sites, each with its own public address, configuration settings, etc.  The config is specified through configuration of web application and then saved (and later edited/updated) in XML format in the same location as the compiled files jad/cod.  This will eliminate the need for the end user specify the public address of the web application so that provide default configuration settings.  It will be on BIS and HTTPS.  I do not expect BES as the target users will be individuals and small businesses.  I'll be providing the source if they want to make changes, but I don't want to require the end user to compile just to use "out of the box', not versions include different OS and compiled the updates I distribute the bugs/feature updates.  In addition, it will access some restricted API and they must sign.

    If there is another method to achieve this, I am completely open and still at the design stage of list/original feature on the BB side.

    Thank you

    Song

    OK, I wasn't aware of this limitation (I usually code for bes )

    other ideas would be:

    -Configure the application mail/SMS (or similar), implement a listener for it.

    -use a common server and decide what config to use during execution, (by e-mail domain, for example)

  • Reading data from an XML file with the same parent tag

    We have the XML file that is stored in a CLOB column. We can typecast the CLOB to XML and access to a particular value. We cannot do the same in the case of same parent tag. We read the amount claimed for LABOUR, the FREIGHT_DUTY and MEALS. Can anyone help us.

    SELECT EXTRACTVALUE (XMLTYPE.createXML (CLAIM_SNAPSHOT_STRING),'path / text () ')

    IN ln_hl_labor_hrs_on_job

    OF TAV_DC_031A_CLAIM_AUDIT_XML

    WHERE CLAIM_AUDIT_ID = 3799;

    < paymentComponents class = "dΘfinir" >

    < company.domain.claim.payment.PaymentComponent >

    < id > 30310 / < ID >

    < version > 0 < / version >

    < forCategory class = "company.domain.claim.payment.CostCategory" >

    < id > 6 / < ID >

    < version > 1 < / version >

    Meals from < name > < / name >

    < code > < code > MEALS

    < description > meal < / description >

    < / forCategory >

    < claimedAmount >

    < amount > 0.00 < / amount >

    "< reference currency ="... /... /.. /.. /.. /serviceInformation/ServiceDetail/laborPerformed/company.domain.claim.LaborDetail/laborRate/currency"/ >

    < / claimedAmount >

    < /company.domain.claim.payment.PaymentComponent >

    < company.domain.claim.payment.PaymentComponent >

    < id > 30311 / < ID >

    < version > 0 < / version >

    < forCategory class = "company.domain.claim.payment.CostCategory" >

    < id > 3 < /ID >

    < version > 1 < / version >

    < name > work < / name >

    < code > < code > WORK

    < description > work < / description >

    < / forCategory >

    < claimedAmount >

    < amount > 217.00 < / amount >

    "< reference currency ="... /... /.. /.. /.. /serviceInformation/ServiceDetail/laborPerformed/company.domain.claim.LaborDetail/laborRate/currency"/ >

    < / claimedAmount >

    < /company.domain.claim.payment.PaymentComponent >

    < company.domain.claim.payment.PaymentComponent >

    < id > < /ID > 30312

    < version > 0 < / version >

    < forCategory class = "company.domain.claim.payment.CostCategory" >

    < id > 5 / < ID >

    < version > 1 < / version >

    < name > point freight and duty < / name >

    < code > < code > FREIGHT_DUTY

    < description > point freight and duty < / description >

    < / forCategory >

    < claimedAmount >

    < amount > 0.00 < / amount >

    "< reference currency ="... /... /.. /.. /.. /serviceInformation/ServiceDetail/laborPerformed/company.domain.claim.LaborDetail/laborRate/currency"/ >

    < / claimedAmount >

    < /company.domain.claim.payment.PaymentComponent >

    < / paymentComponents >

    Kind regards

    Franck Giri

    SQL> with t
      2  as
      3  (
      4  select
      5  xmltype
      6  (
      7  '
      8  
      9  30310
     10  0
     11  
     12  6
     13  1
     14  Meals
     15  MEALS
     16  Meals
     17  
     18  
     19  0.00
     20  
     21  
     22  
     23  
     24  30311
     25  0
     26  
     27  3
     28  1
     29  Labor
     30  LABOR
     31  Labor
     32  
     33  
     34  217.00
     35  
     36  
     37  
     38  
     39  30312
     40  0
     41  
     42  5
     43  1
     44  Item Freight And Duty
     45  FREIGHT_DUTY
     46  Item Freight And Duty
     47  
     48  
     49  0.00
     50  
     51  
     52  
     53  '
     54  ) xml_data
     55    from dual
     56  )
     57  select t1.*
     58    from t
     59       , xmltable
     60         (
     61            '/paymentComponents/company.domain.claim.payment.PaymentComponent' passing t.xml_data
     62            columns
     63              code   varchar2(20) path 'forCategory/code',
     64              amount number       path 'claimedAmount/amount'
     65         ) t1;
    
    CODE                     AMOUNT
    -------------------- ----------
    MEALS                         0
    LABOR                       217
    FREIGHT_DUTY                  0
    
    SQL>
    
  • Read an XML file with elements of namespace

    I'm a beginner with XML and for the first time that I have to read a file with columns.

    I try this code, but the result is always the same: no selected lines.

    variable xml_response VARCHAR2 (4000)


    START


    : xml_response :=

    '

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

    " < ROOT xmlns =" http://www.post.ch/schemas/DFU/2006/20/Report11 ">

    < sender SenderID = SenderName "1618" = "Laurastar SA" ReportCreated = "20141120053155" >

    < provider ProviderID = "539ADAEE-FF18-49F8-84B8-B90232CBCC61" ProviderName = "Consignments" >

    < data >

    < item SendingID = "a68f0007-c4df-4ecb-8dfe-d6da6c2e0cda" ItemID = IdentCode "5430243" = "993314781300000254" / >

    < item SendingID = "beba5a0e-6363-42f1-aeb5-51c5171ed032" ItemID = IdentCode "5430241" = "993314781300000255" / >

    < item SendingID = "beba5a0e-6363-42f1-aeb5-51c5171ed032" ItemID = IdentCode "5430241" = "993314781300000255" / >

    < / data >

    < / provider >

    < / sender >

    < / ROOT > ';



    END;


    /


    SELECT x .*

       FROM XMLTable ( )

       '/ ROOT'

    from xmltype (:xml_response)

    columns

    ReportCreated VARCHAR2 (30) way "Sender/@ReportCreated"

    , SendingID varchar2()50() way "Sender/Provider/Data/Item/@SendingID"

    , ItemID varchar2()30) way "Sender/Provider/Data/Item/@ItemID"

    , IdentCode varchar2()30) way "Sender/Provider/Data/Item/@IdentCode"

       ) x

       ;


    I would not find what the problem is.



    I could not found what the problem is.

    Two things are wrong:

    (1) the lack of namespace declaration

    (2) that you are trying to project expandable nodes into a single line

    This should work:

    SELECT x1.ReportCreated
         , x2.*
    FROM XMLTable(
           XMLNamespaces(default 'http://www.post.ch/schemas/dfu/2006/20/Report11')
         , '/ROOT/Sender'
           passing xmltype(:xml_response)
           columns
             ReportCreated varchar2(30) path '@ReportCreated'
           , items         xmltype      path 'Provider/Data/Item'
         ) x1
       , XMLTable(
           XMLNamespaces(default 'http://www.post.ch/schemas/dfu/2006/20/Report11')
         , 'Item'
           passing x1.items
           columns
             SendingID     varchar2(50)  path '@SendingID'
           , ItemID        varchar2(30)  path '@ItemID'
           , IdentCode     varchar2(30)  path '@IdentCode'
         ) x2
    ;
    
  • by using an XML file to load an XML file

    Hello

    I have a menu that is based on xml. If you click on a button in this menu, I want to read another xml file and then fill the page with the images that has been read from the second XML file. I'm getting one from the second. The error I get is text = Error #2124: loaded file is an unknown type. Is it because I can't use an XML file to read another XML file, or is it because my paths are confusing? I checked my paths several times, but maybe I'm missing something. My script is below.

    Thanks in advance

    var xml

    var menuXmlLoader:URLLoader = new URLLoader();

    var menuXmlList:XMLList;

    menuXmlLoader.load (new URLRequest("xml/xmlLabels.xml"))

    menuXmlLoader.addEventListener (Event.COMPLETE, xmlComplete)

    var thumbXmlLoader:Loader = new Loader();

    the var menu: mcMenu

    function xmlComplete(event:Event):void

    {

    xml = XML (event.target.data);

    menuXmlList = xml.children ();

    for (var i: int = 0; i < menuXmlList.length (); i ++)

    {

    menu = new mcMenu

    menu.menuTxt.text = menuXmlList [i] .attribute ("trackphotos")

    addChild (menu)

    menu.x = 10

    menu.y = i * 30 + 10

    menu.buttonMode = true;

    menu.mouseChildren = false;

    menu.mouseEnabled = true;

    menu.id = i

    trace (menu.id)

    //menu.addEventListener (MouseEvent.CLICK, showThumbs)

    }

    thumbXmlLoader.load (new URLRequest (menuXmlList [1] .attribute ("trackphotos")));

    addChild (thumbXmlLoader)

    }

    and thumbXmlLoader has a complete listener and the listener function that is not called?  show the code.

Maybe you are looking for

  • Audio device not working error message no

    OK I need help so real, fast! I think I deleted our audio device on my lap top and I need quick return before that my father would kill me!Whenever I go to microsoft media with what happens "Windows Media Player cannot play the file because there is

  • Download the capture tool for Windows to my Windows 7 Starter program?

    On Windows7 Starter came with my laptop that the Alt - print screen does not work is a downloadable Snipping Tool.available?  Or is there someother way to save a screenshot?

  • Fatal error: installation MapField demo on blackberry "BOLD"

    Hello world I have compiled the mapfiled demo application in v5.0.0.5 studio for Blackberry development. Obtain the signature of code required. Then I have to install the application on my Blackberry "BOLD" (build v4.6.0.301). Blackberry Desktop Mana

  • My Windows media player cannot play the videos / movies.

    My Windows media player cannot play the videos / movies. When I try to play a video/movie it gives me just the fixed image of the starting part but the sound continues to play. How can I fix it? I also tried with VLC media player and all I get is a b

  • Bookmarks for Acrobat

    Hello to all... once again, I have one - you're out of your mind – question. Customer requested then I have to jump through the hoops... and yet, it is one of the things that I don't see as possible... so, here I am.I have a Captivate 6 presentation