DataGrid: How nested display or multi level xml tags

Hello

I am currently looking to see, for example, the following in a datagrid - XML

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

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

< projects paging = "10" currentPage = "1" >

< project sno = "1" name = "A" >

Yes < followed > < / follow-up >

< lastModified > 15/08/2010 < / lastModified >

< description > Project Tracker - follow all the personal and freelance projects here. < / description >

< tasks >

< task id = "1" > XML - complete the XML < / task >

< job id = "2" Flex - create the example of hello world < / task >

< task id = "3" > XML - complete the XML < / task >

< job id = '4' Flex - create the example of hello world < / task >

< / tasks >

< total value received '40000' = totalAmount = "140000" > 1,00,000 < / value totalAmount >

< / project >

< project sno = "2" name = 'A' >

< currentStatus > Open1 < / currentStatus >

< track > no < / follow-up >

< lastModified > 15/08/2010 < / lastModified >

< description > Project Tracker - follow all the personal and freelance projects here. < / description >

< tasks >

< job id = '1' status 'pending' = > XML - complete the XML < / task >

< job id = '2' status 'pending' = > Flex - create the example of hello world < / task >

< / tasks >

< total value received '40000' = totalAmount = "140000" > 1,00,000 < / value totalAmount >

< / project >

< / project >

The major problem that I face is with the display of the tag tags of tasks, which are tasks inside and can say a second nesting level after the first 'project' tag inside projects, I can easily view other tags inside the datagridcolumn using the dataField attribute, but just no idea how to handle the tag tasks having even named tags task inside as his children.

I searched a lot of content on the internet and in books but just not finding anything relevant to this case.

Any help will be much appreciated.

Thanks in advance,

Anmol Saraf

Tasks.Task must be a XMLList and Repeater should be able to handle this.

I would say looking more closely why that doesn't work.

Tags: Flex

Similar Questions

  • How to preserve the multi-level iPhoto in Photos folder directory

    If you upgrade OS to Yosemite or El Capitan, how to preserve my folder customized Photos iPhoto multi-level directory? My iPhoto library is 105 GB and contains 41 000 photos, all carefully arranged in a directory of custom and subsidiary subjects.

    iPhoto (the beloved and only) has a great power in its ability to custom folders full of full of albums etc. subfolders directories several levels deep, with photos that can be duplicated in different albums, folder & file size info, etc. Unless this can all be kept in the Photos, there is no point me upgrading until Apple gets serious on the needs of demanding photographers, who want the custom control and want as their stuff protected in their hard drive and not on the cloud. Automatically generated 'events' and 'albums' are things of grandmother-and-the-children, useless for people like me. I need a custom control over making inventories of multiple folder levels based on my own custom categories, categories or undated events Apple thinks we should have. Home, school, family, travel, etc. just does not cut it!

    Someone really aware with this situation can help me get clarity? Promo stuff on pictures Apple responds to virtually none of my questions.

    I would like to begin by asking in the forum of Photos, but until you do, you need to specify your terminology. iPhoto offers events, Albums, and smart Albums for the organization. Thus, by "directories" I can only imagine say you you have files of records nested within other folders? If so, you can do with Photos. There is no need to use the features of cloud Photos. They are not mandatory in any mode.

    Regarding your comment, if you're a serious photographer why you use iPhoto? Make sure you used Apple app for photographers, it was called Aperture. Now for photographers you use applications 3rd party - Lightroom, Capture One etc.

  • How to remove underscore in the xml tag

    Hello

    I am using xml data in the model and data are retrieved dynamically. This is why the header in the template contains the xml tag with the underscore as "First_Name", "Second_Name".
    But it doesn't display the header such as "First name", "Second Name". I want to remove the trait of underscore '_' in the header template.
    Can someone help me.

    Thanks in advance

    Try

    
    

    sth

    
    
    
    
  • How to display records from the xml file

    Hi all
    I created a region his area of research in reality
    with 5 elements and array of result area

    I want to search records based on the 5 elements and want to view output table


    I have the table name as hr_api_transactions, which contains many columns



    and also, this table contains a column
    name TRANSACTION_DOCUMENT of type CLOB()
    that files xml columns for each record
    I want to extract data from this xml file and want to display.

    Instance of the view - put the name of VO with which you are extracting data

    Discover the attribute and the attribute of file View - could see attribute by which you found the content of the file

    File name substitution - is not mandatory, let him

    The MIME type of the file: do not place anything, need to better manage programmatically through. Put the code in the below processRequest() method

    OADataBoundValueViewObject contentBoundValue = new OADataBoundValueViewObject(downloadBean,
      "FileContentType"); // here "downloadBean" is bean of message Download item
    downloadBean.setAttributeValue(FILE_CONTENT_TYPE, contentBoundValue);
    

    -Anand

  • How to import bookmarks multi-level IE 8 FireFox 17 if IE 8 is broken, cannot re - install and will not work?

    IE 8 is still installed, but will not work. I can not install any version of IE - I tried. I can import only first level bookmarks. Solutions in the forum assume IE 8 work.

    If you have problems with importing IE bookmarks in Firefox, then export favorites in Internet Explorer to a HTML file and import this file in the Firefox Bookmarks Manager.

    If you don't have the menu bar in Internet Explorer, and then right-click on the toolbar above to activate the menu bar.

    • Export Favorites in Internet Explorer to a file (bookmarks.html) HTML:
      File > import and export
    • Import HTML file in Firefox:
      Bookmarks > show all bookmarks > import and backup > import bookmarks HTML: file

    See "Import from another browser" and "import from file":

  • Need help to retrieve the value of an xml tag.

    Hi all

    Hello all, I have problem to extract a value from an xml tag. I created an xml schema based on the schema, I created an xmltype table and inserted a value to the table. When I try to extract a value of a particular tag I can't do... Kindly help me to solve this problem. Here by I write all working, I did...

    I use the following client:
    -----------------------------------

    SQL * more: Release 10.2.0.1.0 - Production on Mon 31 Jan 11:44: 59 2011

    Copyright (c) 1982, 2005, Oracle. All rights reserved.


    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With partitioning, OLAP and Data Mining options


    ////////////////////////////////// XML Schema ///////////////////////

    Start
    () dbms_xmlschema.registerSchema
    "http://www.oradev.com/chipsxml.xsd,"
    ' < scheme xmlns = "http://www.w3.org/2001/XMLSchema".
    targetNamespace = "http://www.oradev.com/chipsxml.xsd."
    xmlns:SAMP = "http://www.oradev.com/chipsxml.xsd".
    version = "1.0" >

    < feature name = 'Field1' >
    < complexType >
    <>sequence
    < element name = "UTI" >
    < complexType >
    <>sequence
    < element name = "U01" type = "string" / >
    < element name = "U02" type = "string" / >
    < element name = "U03" type = "string" / >
    < element name = "U03a" type = "string" / >
    < element name = "U03b" type = "string" / >
    < element name = "U03c" type = "string" / >
    < element name = "U04" type = "string" / >
    < element name = "U05" type = "string" / >
    < / sequence >
    < / complexType >
    < / item >
    < / sequence >
    < / complexType >
    < / item >
    < / schema > ',
    (TRUE, TRUE, FALSE, FALSE);
    end;


    A table that has several column.

    CREATE TABLE chipsxmltable1)
    Identification number, XMLDATA XmlType)
    XMLTYPE XMLDATA STORE AS OBJECT / RELATIONAL
    XMLSCHEMA 'http://www.oradev.com/chipsxml.xsd '.
    ELEMENT 'field1 ';


    Insert the query in chipsxmltable.

    INSERT INTO (VALUES) chipsxmltable
    XmlType.CreateXml ("<?") XML version = "1.0"? >
    < xmlns:samp samp: field1 = "http://www.oradev.com/chipsxml.xsd" >
    < USE >
    No. < U01 > < / U01 >
    Y < U02 > < / U02 >
    Y < U03 > < / U03 >
    < U03a > Y < / U03a >
    < U03b > Y < / U03b >
    < U03c > Y < / U03c >
    Y < U04 > < / U04 >
    Y < U05 > < / U05 >
    < / UTI >
    ((< / samp: field1 > '));


    To display the data in a field with the structure:
    --------------------------------------------

    1. motion:
    ----------
    Select * from chipsxmltable1;

    Output:
    -------


    ID XMLDATA
    ---------- -----------------------------------------------------------------
    1 <? XML version = "1.0"? >
    < xmlns:samp samp: field1 = "http://www.oradev.com/chipsxml.xsd" >
    < USE >
    No. < U01 > < / U01 >
    No. < U02 > < / U02 >
    Y < U03 > < / U03 >
    < U03a > Y < / U03a >
    < U03b > Y < / U03b >
    < U03c > Y < / U03c >
    Y < U04 > < / U04 >
    Y < U05 > < / U05 >
    < / UTI >
    < / samp: field1 >


    2 query: (both the query shows the same result)
    ----------

    SELECT X.xmldata.getClobVal ('XMLDATA' FROM chipsxmltable1 X);

    Select extract (XMLDATA, "/ Field1'") .getstringval ("XMLDATA" chipsxmltable1 x);


    Output:
    --------

    XMLDATA
    -----------------------------------------------------------------
    <? XML version = "1.0"? >
    < xmlns:samp samp: field1 = "http://www.oradev.com/chipsxml.xsd" >
    < USE >
    No. < U01 > < / U01 >
    No. < U02 > < / U02 >
    Y < U03 > < / U03 >
    < U03a > Y < / U03a >
    < U03b > Y < / U03b >
    < U03c > Y < / U03c >
    Y < U04 > < / U04 >
    Y < U05 > < / U05 >
    < / UTI >
    < / samp: field1 >


    To display the data as a single string without structure using "getstringval()":
    ---------------------------------------------------------------------------------

    3 query
    ---------

    Select extract (XMLDATA, "//text()').getstringval()"CHIPS - XML"of chipsxmltable1 x;)

    Output:
    -------

    CHIPS - XML
    ---------------------
    NoNoYYYYYY


    To display the data as a single string without structure using "getclobval()":
    ---------------------------------------------------------------------------------

    4 query
    -------

    Select extract (XMLDATA, "//text()').getClobVal()"CHIPS - XML"of chipsxmltable1 x;)

    Output:
    --------

    CHIPS - XML
    -----------------
    NoNoYYYYYY


    To display the data in a tag with or without structure (which does work) using the function "EXTRACT":
    -------------------------------------------------------------------------------------------------------------

    6.query:
    ---------

    Select extract (XMLDATA, "/Field1/text()').getstringval()"XMLDATA' chipsxmltable1 x;

    Select extract (XMLDATA, "/Field1/UTI').getstringval()"XMLDATA' chipsxmltable1 x;

    Select extract (XMLDATA, "/Field1/UTI/U01').getstringval()"XMLDATA' chipsxmltable1 x;

    Select extract (XMLDATA, "/Field1/UTI/U01/text()').getstringval()"XMLDATA' chipsxmltable1 x;


    Output:
    --------

    CHIPS - XML
    ---------------------------------------



    The queries above are not fetch the value.



    To display the data in a tag with or without structure (which does work) using the function "EXTRACTVALUE":
    ------------------------------------------------------------------------------------------------------------------

    7 query:
    ----------

    Select extractValue (XMLDATA, ' / Field1/UTI ') 'XMLDATA' of chipsxmltable1 x;

    Select extractValue (XMLDATA, ' / U01/UTI/Field1 ') 'XMLDATA' of chipsxmltable1 x;


    Output:
    --------

    X
    -



    The queries above are not fetch the value.


    My question is:
    --------------------
    How to extract the values of xml tag when the value are inserted through xml schema?


    My apologies if the description is not clear. Kindly let me know if further details are required. Thanks a lot for your help.

    Very cordially,
    Godwin Castro C.V.

    Hello

    You must declare the namespace of each element used in the XPath expression, like this:

    SQL> select extractvalue( XMLDATA
      2                     , '/samp:Field1/UTI/U01'
      3                     , 'xmlns:samp="http://www.oradev.com/chipsxml.xsd"' ) "XMLDATA"
      4  from chipsxmltable1 x
      5  ;
    
    XMLDATA
    --------------------------------------------------------------------------------
    No
     
    
    SQL> select extract( XMLDATA
      2                , '/samp:Field1/UTI'
      3                , 'xmlns:samp="http://www.oradev.com/chipsxml.xsd"'
      4                ).getstringval() "XMLDATA"
      5  from chipsxmltable1 x
      6  ;
    
    XMLDATA
    --------------------------------------------------------------------------------
    
      No
      Y
      Y
      Y
      Y
      Y
      Y
      Y
    
     
    

    Please see EXTRACT and EXTRACTVALUE documentation:
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14200/functions051.htm#i1006712
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14200/functions052.htm#SQLRF06173

    BTW, 'XMLDATA' is a pseudo-column used by Oracle. I don't know if it will never cause any conflict, but perhaps you need to rename your column.
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14200/pseudocolumns010.htm#SQLRF00256

    Kind regards.

  • Develop a specific level of a multi level Advanced DataGrid

    I have an Advanced DataGrid (ADG) that displays three levels - we'll call it 'Parent', 'Child' and 'Child Detail' - using a HierarchicalData collection which is built from XML from a Web service (see attached code).

    The ADG is generated as I do, and I'm able to develop all levels, as well as reduce all levels using the expandAll() and collapseAll() methods.

    However, by default, I want the grid to display with the first level ("Parent") as the only open level. I can't find a way to do this, using existing properties and methods of the ADG class.

    Does anyone have any suggestions?

    Don't know not if anyone out there cares, but I found a better way to do it. I was forced to find a new way since FB3 Beta2 no longer supports the 'openItems' mx.controls.AdvancedDataGrid property. See code attached for the solution.

    Notes:

    'This' is the ADG as a Flex component
  • Explain to me how a multi-level security strategy can be deployed domain LAN-to-WAN and the LAN domain to the domain of the workstation with the use of internal firewalls.

    Explain to me how a multi-level security strategy can be deployed domain LAN-to-WAN and the LAN domain to the domain of the workstation with the use of internal firewalls.

    Hello

    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please ask your question in the following forum.
    http://social.technet.Microsoft.com/forums/en-us/itproxpsp/threads

  • How to: display specific Xml entry in AS3

    I have a simple line of code that I'm trying to change to display a specific entry in an xml file:

    AS3 code:

    The first step is to enable the XML object

    AmbientSettingsXML = new XML();

    /*

    With the now active XML object, it is now for you to load an XML foramtted document.

    Any DTD or XLS format will be ignored.

    */

    AmbientSettingsXML.onLoad = myLoad;

    AmbientSettingsXML.load ("settings.xml");

    Before moving off into the program, make sure that the XML document has loaded

    Extract information from the XML file

    function myLoad (ok) {}

    if (ok == true) {}

    trace ("ok");

    trace (AmbientSettingsXML);

    }

    }

    The exhibition traces:

    Ok

    <? XML version = "1.0"? >

    < Parameters >

    < appearance >

    < Event > Streaming Demo 1 < / event >

    < / appearance >

    < / Parameter >

    So the question is, how to display the entry "Event" only? (String)

    Any help is appreciated,

    Thank you!

    var loader: URLLoader = new URLLoader();
    loader.addEventListener (Event.COMPLETE, completeHandler);

    var request: URLRequest = new URLRequest ("yourxmlfile.xml");

    Loader.Load (request);

    function completeHandler(event:Event):void {}
    var loader: URLLoader = URLLoader (event.target);
    var XML = XML (loader.data);

    XML. Child ("Appearance") [0]. Child ("event_title") [0];
    }

  • How to check if a menu is a menu multi-level programmatically?

    Hi all

    Does anyone have an idea how to do to check if a menu is a menu multi level with objects backingContext?

    Thank you

    Leandro

    I can remember but not bookBackingContext not menuBackingContext who must have the type?
    concerning
    Deepak

  • How to calculate the height of LabelField when it displays in multi lines

    Hello friends,

    We use LabelField.getPrefereredHeight () to calculate the height of the label field. But he returned the same value when it is displayed online singel or multi line.

    Please help me for differing from the height of the label while displaying field multi-line and single-line

    Thank you very much in advance

    If the code is simple, then you might want to go ahead and post it.  I can't really speculate on exactly the problem in this case unless I see code.  It doesn't sound like you should not show the width and height of your Manager 1 however.  Here is an example of a sublayout of one of my managers:

        protected void sublayout(int width, int height) {
            int numFields = getFieldCount();        int availableHeight = height;
            int totalHeight = 0;
    
            for (int i = 0; i < numFields; i++) {
                Field field = getField(i);
    
                layoutChild(field, width, availableHeight);
                            availableHeight -= field.getHeight;
                totalHeight += field.getHeight();
            }
    
            setExtent(width, totalHeight);
        }
    

    This code is educating the Manager to use the full width so much to her and didn't use as much height as it needs (drunk on her children and adding up their respective Heights).  I don't know if this helps, but if you have any other questions please do not hesitate to post the code and we'll see what happens.

  • How to display the width of the page or the big screen in firefox 11 automatically?

    How to display the width of the page or the big screen in firefox 11 automatically? I know how to Ctrl +, ctrl - and ctrl 0, but is there a way to define 11 firefox to automatically set the page viewing by default "page width" or full screen (F11 not)?
    Help, please. Thank you.

    You can use an extension to set a page zoom and the size of the default font on the web pages.

  • How to display the list of components in ultiboard 10?

    The DRC report the errors where the components that are no longer in the design have been removed. How to display the list component and then remove them from the netlist to stop this?

    Ultiboard reported missing errors of component (part 'X' is not about design) because the part is always referenced by a net. To fix this, you must remove the part of the net. Following the steps below to remove the part form the net.

    1 tools > Netlist Editor

    2. for each network that the part has been connected to, select the Net (upper-left).

    3. Select the tab of pine trees, select the part and it is the PIN in the dialog box, then click on remove

    The problem is when the part is removed, I see no easy way to determine the threads you need to remove the part of. I entered this as a feature request to make this easier, but as a workaround, you can put part and say Ultiboard what the missing part, then search the net names on the pins and remove the part of these pins

    1 place a piece with a lot of pine trees (for example the part that was removed, or for example through Hole technology > Connectors > SIL & headers > HEADER2X9). When you place the part, make sure that the RefDes matches the RefDes of the part which has been removed.

    2. once the room is placed, you should see rats nest lines that connect the part to the nets.

    3 Zoom on the pins. You should now see the net name on each of the axes. For each of the pins connected, remove it from the net as described above.

    4. remove the part that you placed.

  • How to display the date on the taskbar (toolbar)

    Please tell me how to display the date at the bottom of the screen.  Currently, everything is displayed is the time.

    Hello

    You said in addition to the clock so I initially think not that you need it however, others said it would be a good idea to show this method of date display. Also if you move the taskbar vertically the date is also displayed.

    Always see the day, date and time in the taskbar
    http://freewindowsvistatutorials.com/meetWindowsVista/taskbarAndSystemTray/showDayDateAndTimeInTheClock.php

    You can lift the taskbar is higher - make a right click on it - uncheck box lock the taskbar then take the upper part of it and lift it higher and the date will be under the clock.

    --------------------------------------------------------------------

    I found a utility that does on one level of the bar tasks if it does not have to be raised-
    T - clock - free - 3 references to it:

    Windows7 like clock on the system in Vista & XP tray
    http://www.tothepc.com/archives/Windows7-like-clock-on-system-tray-in-Vista-XP/

    TClock: See the Date Look like Windows 7 & time in the system tray in Windows XP and Vista
    http://www.askvg.com/tclock-show-Windows-7-look-like-date-time-in-system-tray-in-Windows-XP-and-Vista/

    T - Clock of the Stoic Joker
    http://www.greggdeselms.com/tclock.html

    I hope this helps.
    --------------------------------------------------------------------------------------------
    Rob Brown - Microsoft MVP<- profile="" -="" windows="" experience :="" bicycle="" -="" mark="" twain="" said="" it="">

  • How to display the hidden files and folders even if I've already enabled "Show hidden files, folders and drives" to "Advanced settings"?

    How to display the hidden files and folders even if I've already enabled "Show hidden files, folders and drives" to "Advanced settings"?

    After I enabled "Show hidden files, folders and drives" in 'Advanced settings', I can't yet see in the folder but I know there is a file in this program of WinRAR folder form as pictured below where I opened the case both at the same time.

    Hope you can help in this case...

    It would be possible that the file is marked as a system folder (which is just a check box in properties such as the hidden check box). So in your folder options, uncheck the "Hide protected operating system files" and see if it will be visible.

    Or another thing to try: remonter back a level, hold down SHIFT while you right-click the complete file and choose "Open command window here", then type DIR to see if the file is listed.

Maybe you are looking for