Retrieving XML data and make it available in a DataGrid

I need to retrieve the xml data in the file below (mycontactdata.xml) which will be in my current folder in my project directory. I just need to get the XML for the node 2 (list of CONTACTS) which must then be displayed in a DataGrid control. DataGrid will be in a separate mxml file while retrieving the xml data will be in the main mxml Application file.

Any ideas? Thank you

<? XML version = "1.0" encoding = "UTF-8" standalone = 'no '? >
-< DATATABLES >
-< DATATABLE ID = 'SYSTEM' >
-< ROW ID = "0" >
< COLUMN ID = "#SCENE_ID" VALUE = "1" / >
< / ROW >
< / DATATABLE >
-< DATATABLE ID = 'CONTACTS list' >
-< ROW ID = "0" >
< COLUMN ID = "CON_ID" VALUE = "7 q 1 ++ 149" / >
< COLUMN ID = "First name" VALUE = "PATRICIA" / >
< ID of COLUMN = 'Family name' VALUE = "DEROCHIE" / >
< ID of COLUMN = "Account name" VALUE = "" BRUCE COUNTY GENERAL HOSP. "/ >"
< ID of COLUMN = 'Contact of Type' VALUE = 'Head of pharmacy' / >
< ID of COLUMN = "The main specialty" VALUE = "Not Applicable" / >
< ID of COLUMN = "Primary phone" VALUE = "15198811220" / >
< / ROW >
-LINE ID = "1" >
< COLUMN ID = "CON_ID" VALUE = "1 + 51 + 2249" / > "
< COLUMN ID = "First name" VALUE = "DUNCAN C M" / >
< ID of COLUMN = 'Family name' VALUE = "GRAHAM" / >
< ID of COLUMN = "Account name" VALUE = "" / > "
< COLUMN ID = 'Contact of Type' VALUE = 'Doctor' / >
< ID of COLUMN = 'The main speciality' VALUE = 'General surgery' / >
< ID of COLUMN = "Primary phone" VALUE = "5198812880" / >
< / ROW >
-LINE ID = "2" >
< COLUMN ID = "CON_ID" VALUE = "1 + 4Z + 3962" / >
< COLUMN ID = "First name" VALUE = "HENDRINA SUSAN" / >
< ID of COLUMN = 'Family name' VALUE = 'MCARTHUR' / >
< ID of COLUMN = "Account name" VALUE = "" / > "
< COLUMN ID = 'Contact of Type' VALUE = 'Doctor' / >
< ID of COLUMN = "The main specialty" VALUE = "Generalists" / >
< ID of COLUMN = "Primary phone" VALUE = "5198814640" / >
< / ROW >
-LINE ID = "3" >
< COLUMN ID = "CON_ID" VALUE = "1 + 51 + 3323" / > "
< COLUMN ID = "First name" VALUE = "PAUL EDWARD" / >
< ID of COLUMN = 'Family name' VALUE = 'MCARTHUR' / >
< ID of COLUMN = "Account name" VALUE = "" / > "
< COLUMN ID = 'Contact of Type' VALUE = 'Doctor' / >
< ID of COLUMN = "The main specialty" VALUE = "Generalists" / >
< ID of COLUMN = "Primary phone" VALUE = "5198814640" / >
< / ROW >
< / DATATABLE >
-< DATATABLE ID = "ACTIVE_LAYOUTS" NAME = "ACTIVE_LAYOUTS" TYPE = "ARRAY" >
-LINE ID = "1" NAME = "Row" >
< COLUMN ID = 'TYPE' NAME = VALUE 'TYPE' = "HEAD OFFICE" / >
< / ROW >
< / DATATABLE >
< / DATATABLES >

This works, even if I'm extremely surprised, there is no way to do it with the e4x syntax:

Tags: Flex

Similar Questions

  • Create XML file and make available via WebDAV

    Hello

    I'm new to XML DB ;-)
    Has anyone got a short example how to create an XML file (possibly with XSD in XML DB schema file) via XML DB and make it available via WebDAV?

    Thanks in advance.

    Best regards
    Martin
    SQL> select xmltype(cursor(select * from dual)) from dual;
    
    XMLTYPE(CURSOR(SELECT*FROMDUAL))
    -----------------------------------------------------------------------------
    
    
     
      X
     
    
    
    1 row selected.
    
    SQL> DECLARE
      2
      3    XMLDoc XMLType;
      4
      5  BEGIN
      6
      7    select xmltype(cursor(select * from dual))
      8    into   XMLDoc
      9    from dual;
     10
     11    IF (DBMS_XDB.CREATERESOURCE('/public/dual.xml',XMLDoc)) THEN
     12       DBMS_OUTPUT.PUT_LINE('Resource is created');
     13    ELSE
     14       DBMS_OUTPUT.PUT_LINE('Cannot create resource');
     15    END IF;
     16
     17    COMMIT;
     18
     19  END;
     20  /
    
    PL/SQL procedure successfully completed.
    
    SQL> select xdbURIType ('/public/dual.xml').getClob() from dual;
    
    XDBURITYPE('/PUBLIC/DUAL.XML').GETCLOB()
    -------------------------------------------------------------------------
    
    
      
        X
      
    
    
    1 row selected.
    
    -- You will see an /public/dual.xml file via the WebDav functionality
    
  • Extraction of XML data and display new line

    I have a table named, SAPDATABROWSER, which has several columns and lines. A column named SAPTEXT (data type: CLOB) consist of xml data. Each XML data are different in terms of number of nodes, but has the same following structure:

    < SAP_BAPI_PROP >
    < SelectedProperty >
    < structure >
    < field > < / field >
    < length > < / length >
    < FieldValue > < / FieldValue >
    < type > < / Type >
    < priority > < / priority >
    < / structure >
    < / SelectedProperty >
    < / SAP_BAPI_PROP >

    So now, what I would do is, to extract the values: field, FieldValue and the length of each line (total 72) and see the result as follows.

    Length of track FieldValue
    XXXX YYYY ZZZZ
    PPPP QQQQ RRRR
    AAAA BBBB CCCC
    MMMM OOOO NNNN

    Again, each line (total 72) has several XML Data nodes, IE there are several nodes FieldType, length and field and no two XML data/line are similar!

    I use the following code:

    SELECT
    EXTRACT (xmltype (saptext), ' / SAP_BAPI_PROP/SelectedProperty/Structure/Field / text () ');
    EXTRACT (xmltype (saptext), ' / SAP_BAPI_PROP/SelectedProperty/Structure/Length / text () ');
    EXTRACT (xmltype (saptext), ' / SAP_BAPI_PROP/SelectedProperty/Structure/FieldValue / text () ')
    OF sapdatabrowser;

    The code above produces the following result:

    SAP_BAPI_PROP/.../Field/Text () SAP_BAPI_PROP/.../Length/text () SAP_BAPI_PROP/.../FieldValue/text)
    1 XXXXPPPPAAAA YYYYQQQQBBBB ZZZZRRRRCCCC
    2 MMMM OOOO NNNN


    Any suggestions? Thank you very much. :)

    Based on your sample data:

    SQL> select x.*
      2  from sapdatabrowser t
      3     , xmltable(
      4         '/SAP_BAPI_PROP/SelectedProperty/Structure'
      5         passing xmltype(t.saptext)
      6         columns field_name  varchar2(30) path 'Field'
      7               , field_len   varchar2(30) path 'Length'
      8               , field_val   varchar2(30) path 'FieldValue'
      9       ) x
     10  ;
    
    FIELD_NAME                     FIELD_LEN                      FIELD_VAL
    ------------------------------ ------------------------------ ------------------------------
    X                              Y                              Z
    P                              Q                              R
    A                              B                              C
    M                              N                              O
     
    

    (adjust the projected if necessary data types)

  • retrieving xml data field

    Question: How to create the ability to load an XML to another area?

    For example, I create an embedded video player which plays on the field that the xml file resides and also embarked on other sites.

    I'm at the point where the video player works entirely on the area that the xml file is located and when I embed on another field, the .flv plays, but the xml data won't.

    FYI, I have full access to the domain where the xml file resides.

    Following are excerpts from the security settings I tried to go to work:

    Code of the player:

    System.security.loadPolicyFile (domain + "data / crossdomain.xml");

    Code of "data / crossdomain.xml:

    <? XML version = "1.0"? >

    < cross-domain-policy >

    < allow-access-from domain = "" * "/ >"

    < / cross-domain-policy >

    Any help would be beneficial, even a link to another site. Thanks in advance!

    There are two quick fixes:

    (1) simply host the SWF on your domain and enable version "embarked on other sites" reference just the absolute path to your SWF file. your swf file is not "live" on any other field, but it is loaded in the pages of the domain of your server.

    (2) do not put the crossdomain.xml file in a special folder. Just put the file to the root of the web server. This allows backwards compatibility with older versions of the Flash Player too, if you need build a legacy Flash SWF from a previous version of the player.

    HTH.

    -Robert

    --

    Robert Reinhardt

    Creator, videoRx.com

    Author, series Bible Flash and video for Adobe Flash CS4 Professional Studio Techniques

    Adobe Community Expert

    http://blogs.flashsupport.com/Robert

  • Loading XML data and images to init

    I have this little flash application that I'm working, which loads images and XML data. It comes from the Timer class that loads the video clips from the scene and delete them (I thought that this could be the best way to orchestrate it it). Now, I'm having a problem with redundancy expenses. (It loads every time data, which causes delays, and so it was established (loaded) at the beginning and reused through the application)

    Instead of loading the data each time, I would like to

    (1) load the images and XML to load (with the initial start of the SWF)

    (2) assign this data to variables and then add them and remove them as I please throughout the application.

    I posted the code here http://CodeViewer.org/view/code:9BA

    just to save space

    With respect to the processing of XML, you have several options. I prefer to write classes that will treat this kind of functionality, but since you do things on the timeline, one way would be:

    1. on the chronology of racquets_mc and listing_mc create a method that will affect the XML value:

    
    function set loadedXML(xml:XML):void{
         xmlData = xml;
    } 
    

    2. on the main timeline, you will need to load your XML file only once how you load it into each individual symbol. Once it's loaded, you can pass it on to all of the objects that need to consume. For example, your XML instance on the main timeline setting is:

    var configXML:XML;
    

    After load you it, you can pass to your symbols and, thus, reuse in the expanses of the functions which instantiate the:

    racquets_mc = new listing();racquets_mc.loadedXML = configXML;
    
    listing_mc = new listing();listing_mc.loadedXML = configXML;
    

    Naturally the routine of initiation within your symbols, in part, depend on presence of XML if you refactor your code accordingly.

    I hope this helps.

  • My date and time keeps going back to an earlier date and makes dificult to start. my computer.

    My current date and time keeps coming back at a date and time that is earlier and I have to stop and restart several times.

    According to my experience, this could probably be 1 of 2 things...

    The first thing that could cause this problem is an infection.  Have you had a chance to run an antivirus program to scan your system for infections?  You currently have no antivirus installed software / protect your system?

    The second thing it could be is a dying CMOS battery.  If you are using a desktop computer, change the battery should be a quick troubleshooting step to see if this solves the problem... If you use a laptop computer, he might need time to disassemble the laptop and replace the battery.

  • Retrieve XML data

    Hello

    I'm new to this forum.  I have an XMl document as below:

    < Gallery >

    < image >

    pic1 < title > < /title >

    txt1 < text >, < text >

    < / image >

    < image >

    Note2 < title > < /title >

    txt2 < text >, < text >

    < / image >

    < / Gallery >

    I want to extract the value of the 'text' node and print it. Can anyone help?

    -Akshay

    I have a very basic example to load the XML information into an application in this case:

    http://www.mattlefevre.com/viewExample.php?tut=Flex&proj=basic%20Gallery

    with a little tweaking and modification, that it could be modified to also store information in text as well, it should help you get started at least

  • I needed to know if this PDF pack can be used in a PHP application to read a PDF file, apply the watermark on it and make it available for download online.

    The PHP application reads a PDF file from a folder, apply watermark on it and online is displayed in a web browser.

    Is this possible using the Adobe PDF pack?

    Waiting for answer,

    Kind regards

    Hello Sanjay Singh,

    Adding a watermark in a PDF document requires Acrobat; It is not something you can do with Adobe PDF Pack.

    Best,

    Sara

  • Retrieve XML data in clob type

    I have a created table as below

    create the table tab123 (clob x);

    Inserted a line like below

    insert into values t ('"< ProcessBatchRequest xmlns:inp1 ="http://services.abc.com/"ServiceVersionNumber =" "xmlns ="http://services.abc.com/GlobalBatchServiceV1.0">)
    < inp1:BatchDetail >
    < inp1:ApplicationID > test.123 < / inp1:ApplicationID >
    < inp1:ApplicationBatchID > test.123 < / inp1:ApplicationBatchID >
    < inp1:MessageTimeStamp > 2012-11-28 T 11: 05:32.000 - 05:00 < / inp1:MessageTimeStamp >
    < / inp1:BatchDetail >
    < inp1:CustomerIdentityDetail >
    < inp1:SubscriberNumber > 123 < / inp1:SubscriberNumber >
    < inp1:UserUniqueID > 1542 < / inp1:UserUniqueID >
    < inp1:SubscriberCountryISOAlpha2Code > AD < / inp1:SubscriberCountryISOAlpha2Code >
    < inp1:ApplicationCustomerID > 1210 < / inp1:ApplicationCustomerID >
    < inp1:ApplicationCustomerName > CBA < / inp1:ApplicationCustomerName >
    < inp1:ApplicationUserID > CBA < / inp1:ApplicationUserID >
    < / inp1:CustomerIdentityDetail >
    < inp1:BatchSpecification >
    < inp1:BatchProcessID > Clean < / inp1:BatchProcessID >
    < inp1:BatchPriorityValue > 10 < / inp1:BatchPriorityValue >
    < inp1:LanguagePreferenceCode > 39 < / inp1:LanguagePreferenceCode >
    < inp1:CharacterSetPreferenceCode > 23423 < / inp1:CharacterSetPreferenceCode >
    < inp1:MatchSpecification >
    < inp1:ConfidenceLowerLevelThresholdValue > 8 < / inp1:ConfidenceLowerLevelThresholdValue >
    < inp1:ConfidenceFallbackLowerLevelThresholdValue > 4 < / inp1:ConfidenceFallbackLowerLevelThresholdValue >
    < inp1:ReturnAllFallbackMatchCandidatesIndicator > false < / inp1:ReturnAllFallbackMatchCandidatesIndicator >
    < inp1:ExclusionCriteria >
    < inp1:ExclusionDataDescription > small < / inp1:ExclusionDataDescription >
    < / inp1:ExclusionCriteria >
    < inp1:ReturnCleansedInformationIndicator > false < / inp1:ReturnCleansedInformationIndicator >
    < inp1:MatchOnSeniorPrincipalNameIndicator > 0 < / inp1:MatchOnSeniorPrincipalNameIndicator >
    < / inp1:MatchSpecification >
    < inp1:CleanseSpecification >
    < inp1:ParseOnlyIndicator > 0 < / inp1:ParseOnlyIndicator >
    < inp1:ProcessAsDiscreteDataIndicator > 1 < / inp1:ProcessAsDiscreteDataIndicator >
    < inp1:ReturnDatainMixedCaseIndicator > 0 < / inp1:ReturnDatainMixedCaseIndicator >
    < inp1:DoNotReturnChangeOfAddressIndicator > 1 < / inp1:DoNotReturnChangeOfAddressIndicator >
    < inp1:DoNotEnableDeliveryPointValidationIndicator > 1 < / inp1:DoNotEnableDeliveryPointValidationIndicator >
    < inp1:DoNotReturnEnhancedLineofTravelIndicator > 1 < / inp1:DoNotReturnEnhancedLineofTravelIndicator >
    < inp1:DoNotConvertRuralRouteToStreetAddressIndicator > 1 < / inp1:DoNotConvertRuralRouteToStreetAddressIndicator >
    < inp1:DoNotReturnSuiteAddressDetailIndicator > 1 < / inp1:DoNotReturnSuiteAddressDetailIndicator >
    < / inp1:CleanseSpecification >
    < / inp1:BatchSpecification >
    < inp1:InputDetail >
    < inp1:InputFileDetail >
    < inp1:FileURI > / mnt/auto/< / inp1:FileURI >
    < inp1:FileLayoutName > Clean < / inp1:FileLayoutName >
    < inp1:LanguageCode > 36 < / inp1:LanguageCode >
    < inp1:CompressTypeValue > None < / inp1:CompressTypeValue >
    < inp1:RecordsCount > 5 < / inp1:RecordsCount >
    < / inp1:InputFileDetail >
    < / inp1:InputDetail >
    < inp1:OutputSpecification >
    < inp1:FileLocationURI > / mnt/auto/< / inp1:FileLocationURI >
    < / inp1:OutputSpecification >
    < inp1:NotificationDetail >
    < inp1:NotificationMethodValue > Test < / inp1:NotificationMethodValue >
    < inp1:NotificationFrequencyValue > 0 < / inp1:NotificationFrequencyValue >
    < / inp1:NotificationDetail >
    < inp1:BatchReferenceDetail / >
    < / ProcessBatchRequest >
    "');

    1 inserted rows.

    Now I want to retrieve the current value under a given xpath. Can someone help with the query?
  • The file of the bar - descriptor.xml (and make the application of command line)

    I made a game with air and it is online for sale on Android and iOS. It is somewhat popular and I thought to put up on Blackberry for quite awhile now and with the Port of soon-to-start-A-Thon, this seems to be a great time to finally make it.

    BlackBerry is not very common that here where I live in Sweden, however it still looks like an interesting with a potential platform if I want to get the trip. Unfortunately I don't own a camera myself so I'll use the Simulator. With some graphic problems with the simulator when running in mode BB10DevAlpha (icons does not appear right) and the Simulator is very slow when running in mode BB10DevAlphaSafe (chart appears on the right, but it seems that updating them requires more CPU my computer are available).

    The game is built using nothing other than Adobe Flash Professional CS6 and a bunch of command line tools to build the package and sign. I've only got an old computer with Windows XP now since the death of my main PC, all at the time and since the Port-A-Thon is just a few days I do with what I got.

    Firstly I understand that only AIR 3.1 is supported by Blackberry 10, so I use the old AIR SDK 3.1 to create a SWF (flash) file.

    What I really need to do should be used in the exported SWF file of the game, then use the command line tools provided by RIM to build the package, right?

    Except that I did not count on bar - descriptor.xml to be so difficult to understand.

    I was brought to the documentation here: https://developer.blackberry.com/air/documentation/bb10/bar-descriptor_config_file.html

    It says Adobe AIR at the top, the platform selected is Blackberry 10 and the title says "bar-descriptor configuration file", so it must be in the right place!

    I start by trying the 'bar-descriptor configuration example file"on this page:

    ===========================================================



      
          None
          fake
      

     
      
       Name of the author
     
      
       gXXXxXXx ##XxXxXxxxXxXX #xxx
     
      
       Core.Games
     
      
       Icon.PNG
     
      
       HelloWorld - splash.png
     
      
       read_geolocation
       use_camera
     
      
       1

    ===========================================================

    Of course during the test I replaced a few things in the example above with the correct filenames for images etc, I just copied the example of right - off this time to you guys show what I mean.

    Firstly, I extract "blackberry-tablets-sdk - 3.0.0" in a folder on the disc, then I make sure as a full path to the "bin" in the SDK folder inside the path on the OS environment variable.

    Then I read on "Applications of Test using the command line": https://developer.blackberry.com/air/documentation/bb10/testing_your_application_cmd_ms_2010851_11.h...

    Now I run:

    BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf myappnameicon86.png bg splashscreen1024.png - device 192.168.8.128

    Note that "bg" is a folder with 500 images that must be accessible from the app. I hope that I can just add the folder like this and not type a path to each image file...

    What I get (in lib\adt.jar via the bat file):

    error 101: Namespace is missing
    Error: Validation of the AIR is not

    Okay, so the example did not straight on the box.

    Now, I've read all paragraphs in the first URL I linked above ("the bar-descriptor configuration file"). I start my own XML file and make sure to include everything that is marked as "necessary". That's what I'm left with:

    ===========================================================



        MyCompany
        
            
            com.mydomain.myappname
            My App name
            3.0.0
            
                splashscreen1024.PNG
            

            1.5.0
        

        run_native
        
            application
            
                bb.action.VIEW
                application/octet-stream
            

        

    ===========================================================

    I have no idea of what concerns the block whole call target, but it took, so he must be there.

    Now I launch (notice that myappnameicon86.png is gone since no icon is mentioned in the above XML code, it is not mandatory):

    BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf bg splashscreen1024.png - device 192.168.8.128

    Yet once, I get:

    error 101: Namespace is missing
    Error: Validation of the AIR is not

    Frustrated I get autour on the forums for answers, because the official documentation is nowhere getting me.

    I'm left with this:

    ===========================================================


    http://ns.Adobe.com/air/application/3.1">
        com.mydomain.myappname
        1.5.0
        
        My App name
        
        My App name
        
        
            myappname.swf
            standard
            fake
            true
            true
            landscape
            GPU
            fake
        

        
            myappnameicon36.PNG
            myappnameicon48.PNG
            myappnameicon72.PNG
        

        fake
        fake
        
            qnx.fuse.ui.skins.QNXDevice
            qnx.fuse.ui.skins.QNXNetwork
            qnx.fuse.ui.skins.QNXSensors

            qnx.fuse.ui.skins.QNXSkins
        

    ===========================================================

    Looks like the XML code that I use when I build for Android.

    First of all it doesn't have the tag root of qnx, but also nothing of the icons are of the required size (86 x 86). The tag required splashscreens and invoke target is also absent, to name a few. No idea of what the entire block of 'extensions' really do.

    Surely, this does not work:

    BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf QNXDevice.ane QNXNetwork.ane QNXSensors.ane QNXSkins.ane myappnameicon36.png myappnameicon48.png myappnameicon72.png bg-device 192.168.8.128

    Success in building the package BAR to my infinite surprise!

    He even managed to install on the Simulator. An icon for the game. However when it auto-couru the app went into landscape, thought for a second and then crashed (or you leave?) without a message.

    Perhaps because the required qnx tag was missing in the XML?
    Perhaps because images in the bg file could not be loaded?
    Perhaps because he had no permission to keep screen from dimming?

    I have no idea. I tried to add XML to qnx at the address previous to the bar - descriptor.xml, I thought that maybe he needed both the qnx block for when you run the application and the application block for when packaging. But now, he has complained of something like XML is not not clean ("' fatal error: markup in the document following the root element must be well-formed." ").

    So he came to it, I have to ask for help if I ever make the deadline of the Port-A-Thon.

    (1) how am I supposed to write the bar - descriptor.xml?
    (2) what command line starting by "blackberry - airpackager.bat" is OK to use?
    (3) all I have to do is build the SWF using Adobe Flash Professional CS6 and then pack it using the Blackberry SDK, right?

    First of all, there are two xml files that you need.

    One is called the manifesto, is to AIR and is called yourappname- app.xml. It is identical to the ones you use for Android and IOS, though some elements will be ignored. It's one you need to switch on the command line, and is probably causing the 'Namespace' missing error message. A file manifest a minimum is:

    
    http://ns.adobe.com/air/application/3.1">
    
        com.example.appname
        My Fabulous Game
        1.0.0
    
        FileNameOfYourSwfWithoutExtension
        YourCompanyName
        
            [This value will be overwritten by Flash Builder in the output app.xml]
            true
            false
            none
            cpu
            false
        
    
    

    Replace the text in red with your own stuff.

    The second xml file is called to the bar of descriptor. It is for App World and the installation process and is called bar - descriptor.xml. It contains information about signing code, icon, permissions etc. A simple bar - descriptor.xml is:

    
    
       
          none
          true
          landscape
          false
          cpu
       
    
       
       your-name-on-certificate
       your-id-on-certificate
    
       core.games
    
       
       1
    
       
       
          icon86x86.png
       
       splash-landscape.png
    
       
       2.1.0.1314
    
       
       access_shared
       access_internet
       play_audio
       set_audio_volume
    
    

    Make sure that you at least change the red dots.

  • XML data in the question text field

    LC ARE 8.2.1.3

    I have a web service that returns XML data and designer calls the Web service and the XML data meet a text field.  It works very well.

    My problem is getting the data out of the text field to fill in the various fields in my form.  I have done a lot of research and have tried many different things but still can't get out the data.  I did that my form is dynamic xml.

    This is the last thing I tried:

    -Begin Code-

    Place in testData: initialize and the connectionSet is placed in Page1:Initialize.

    var myXML = XMLData.parse (xmlData.rawValue, false);

    var subNames = XMLData.applyXPath (myXML, "//Subordinates/Subordinate/full_name");

    If (subNames == null) {}
    No data
    } Else if (subNames.length == null) {}
    No picture, just a single value
    topmostSubform.Page2.testData.addItem (subName.value);
    } else {}
    for (var i = 0; i < subNames.length; i ++) {}
    topmostSubform.Page2.testData.addItem (subName.item (i) .value);
    }
    }

    -Code of end-

    I worked on it for 3 days and still can not make it work.  The closest I came is out in my testData field that says "Object23485968".

    Thanks in advance for your help

    John

    I forgot the file ACL

    Paul

  • Problems with the display of XML data

    I'm a bit new to Flash and have problems out XML data in Flash. Basically, when I saw publication, all data load XML file and displays very well. But when I actually publish the file and view in a browser, no data is displayed.

    Data from XML is happening in the areas of dynamic text (title, description, image).

    I use an absolute URL to retrieve the XML data, and I tried a lot of text integrated solutions, and nothing has worked. Here, any help would be greatly appreciated.

    I have attached the script action, but also a piece of the XML file I get the data.

    After going through each difficulty as possible, I could find, I managed to miss the information contained in the link below. This fixed my issue.

    http://www.Adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213

  • The ODI API method to test the connection to the server XML-Data

    Hello

    I tried my hands on ODI SDK API and could create the physics/logic connections through it successfully.

    At the studio of ODI, for XML technology, when test us the data server-> JDBC-> connection test connection, corresponding to the xml specified in the JDBC url schema (xsd) the lorsque nous tester la connexion de données serveur-> JDBC-> tester la connexion, correspondant à la schema (xsd) xml spécifié dans l' url JDBC les tables tables are created.

    But I'm not able to get this functionality with the API in the SDK. It seems that JDBC connection is not tested when the code below is run

    connection settings

    myDataServer.setConnectionSettings (new OdiDataServer.JdbcSettings)

    "jdbc:snps:xml? d = C: / my_sample_xsd.xsd & s = ITEST..." »)) ;

    So basically I want to imitate the "Test Connection" feature using the API of the SDK. Currently, it creates Server XML data and physical schema but no tables in the database.

    Pointers?

    Thank you.

    I found the solution...

    test the connection to the jdbc url

    RemoteRuntimeAgentInvoker remoteRuntimeAgentInvoker = new RemoteRuntimeAgentInvoker (": http://application-tier server: port/odiagentname", "odiuser", "odipassword".toCharArray ());

    try {}

    remoteRuntimeAgentInvoker.invokeTestDataServer (myDataServer.getDataServerId ());

    } catch (InvocationException e) {}

    e.printStackTrace ();

    }

  • Operation of the sample XML data.

    Hello

    I use BI 11g Publisher.

    I'm creating a large data (50000 lines) report.

    I'm done with data sets, they work, and I could also get the example of xml data (I chose 'all' in the menu drop-down lines) for them.
    But when I try to create the new report, after checking the boxes for all data sets, loading... message appears and does not disappear.

    The reason for the problem may be the enormous amount of data?
    Because when I tried with the example of XML for only 100 lines, it has successfully loaded.

    I want that when reports are displayed, they are shown for all rows of the table...

    I have some more questions.

    1. the report displays data only for lines that are generated in the sample xml?

    2. If more data are added after reports are generated, new data will be included in the reports?

    3. what needs to be done, it is filed, I want the same reports of data from different sources (in my case this is the JNDI) but the same table definitions?

    Help, please

    Thanks in advance,

    ShuklaG

    When running the engine TONE pulls all matching records and renders on model and generate the report.

    with regard to other issues:

    1. the report indicates the complete data.

    2.Yes, the report shows with addition of data as well. It depends entirely on the SQL of data overall.

    3. change the data source (as long as datasource is already configured) at the level of datamodel regenerate the XML. If different data sources must be defined for the different sets of data, change the data source in data defination game save the datamodel, generate the xml data and save.

    Hope that it answers the questions.

  • Store XML data in tables

    Hello

    I must write a procedure which takes the XML data and inserts in some tables.

    If the XML format is fixed so I can use the extract for analysis and can insert in the tables.

    But the problem is not fixed the XML format.

    Y at - it no integrated package that supports the xml for analysis data...

    Can you please suggest me in this case.

    Thank you
    Vinod

    >

    Hi vinod,

    I must write a procedure which takes the XML data and inserts in some tables.
    If the XML format is fixed so I can use the extract for analysis and can insert in the tables.
    But the problem is not fixed the XML format.
    Y at - it no integrated package that supports the xml for analysis data...

    You will have to do a little reading. I would recommend that you start here
    http://docs.Oracle.com/CD/B10500_01/AppDev.920/a96621/adx20ppl.htm (if all else fails, read the docco!  ;))
    http://www.Oracle-base.com/articles/9i/parse-XML-documents-9i.php
    http://www.quovera.com/whitepapers/downloads/xml_oracle.PDF
    http://anononxml.blogspot.IE/2010/12/methods-to-parse-XML-per-Oracle-version.html
    http://www.orafaq.com/wiki/XML

    orafaq and oracle-base are good global Oracle sites.

    You can also look at [url http://forums.oracle.com/forums/forum.jspa?forumID=34] here - the XML DB forum.

    HTH,

    Paul...

    Vinod

Maybe you are looking for

  • IMAC shows new mail but it is not

    Mail App in El Capitan 10.11.6 shows 2 unread emails, but there is no new message

  • Portege M200 - utility, formatting SD and utility Boot will not work

    I can't get the SD format or the boot utilities to work. None of them see the SD card which is a new Panasonic 256 MB. I uninstalled the software and SD drivers and reinstalled them (in the right order, as far as I can tell) but nothing is. Anyone ha

  • Updates and the old MacBook

    I have 2 older Macbooks and love them both 17 inches.  I have been informed by Apple, do not update beyond Mt. Lion. Now that we are 2 updates beyond mount Lion I wonder what this will mean for my old machines.  They will stop working?  How far behin

  • VPN and firewall box

    Hello I have a site to another using VTI VPN. I tried to configure my fw by sector to decline to ping on my WAN IP, but when I applied it, my VPN is down. Could someone advise me how to do? Here is my config: type of class-card inspect entire game in

  • Lenovo IdeaPad U300s, 400, cooling system

    Hi, I was wondering how the cooling system is good on the next U300s or 400.  I ask this question because my thinkpad T61 heats up just to watch a movie or play games.  I know that Lenovo has come with the new technology of permeable air keyboard.  B