Adding data to XML objects.

Hello

I wonder how to add completely new data to the XML data that I hang in a var.

I am importing XML data in an editor that I've created.  The XML looks like this:

< itemList_120 >

< mediaFile order = '1' playTime = '2 ' transIn = transOut '1' = ' 9' > gif.gif < / mediaFile >
< order = '2' playTime '1' = transIn mediaFile transOut = '6' = "8" > jpg.jpg < / mediaFile >

< / itemList_120 >

The code that I put in place to contain the XML data is as follows:

var theXML:XML;
var myXML:XMLList;

function called when the xml file loading is complete
function onXMLLoaded_120 (e: Event): void {}

a new instance of the xml object
Check = new XML (e.target.data);

Use the object XMLList to children nodes filter thumbnails
myXML = theXML.itemList_120;

etc - and it works for importing the XML file - if I trace (myXML), XML data above are displayed.

I find that you can change the different parts of the XML data in myXML in this way:

myXML.mediaFile[1].@playTime = 2

(which changes the second line of XML code for this: < mediaFile order = "2" "2" = transIn playTime transOut = '6' = "8" > jpg.jpg < / mediaFile >)


My question is:

Rather than change the existing XML data, how to add completely new data?  That is to say, if the var above who held two lines "mediaFile" of XML, how to add or insert a third?

Thanks for taking a peek at this.

Shaun

check the xml class.  There are all the methods you need to add, insert, and delete nodes, attributes, etc.

Tags: Adobe Animate

Similar Questions

  • Pass data from one XML object to an itemRenderer

    I'm trying to color the background of a column in a datagrid, and we found a sample file that illustrate the concept. However, the sample has data stored in an arrayCollection collection, while mine is in an XML object. The problem is that the data from the sample file apparently automatically passed to the itemRenderer (below: notice the trace statement). My XML object does not automatically pass to the itemRenderer data. So my questions are:

    1. is there a simple way to pass data stored in an XML object to an itemRenderer

    or

    2 should I convert my XML an arrayCollection collection? If Yes, what is the best way to do it - I tried the following, but without success:

    < mx: Model id = source = "example3.xml" / "xmldata" >
    < mx:ArrayCollection id = "myAC" source = "{ArrayUtil.toArray (xmldata. Example1)}"/ >

    Here is what the XML looks like:

    < TABLE >
    example < 1 >
    < Difficulty > 0,5 < / difficulty >
    < discrimination > 0.7 < / discrimination >
    < item 3 > < / point >
    < / example1 >
    < /table >

    Here is the itemRenderer:

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:mx mx:Label ' http://www.Adobe.com/2006/MXML ">

    <!--
    This element converter simply extends label and overrides the updateDisplayList function
    draw a filled rectangle of gradient. The colors of the gradient are determined from the
    data.
    ->
    < mx:Script >
    <! [CDATA]

    to import flash.geom.Matrix;
    import flash.display.GradientType;
    import flash.display.Graphics;

    override the updateDisplayList(unscaledWidth:Number,_unscaledHeight:Number):void function
    {
    super.updateDisplayList (unscaledWidth, unscaledHeight);

    var m:Matrix new matrix());
    m.createGradientBox (unscaledWidth, unscaledHeight);

    var Graphics = g:Graphics;
    trace("Data.COL3="+Data.col3)
    var colors: Array = (data.col3 < 2000? ([0x0000CC, 0x0000FF]: [0x00CC00, 0x00FF00]);

    g.Clear ();
    g.beginGradientFill (GradientType.LINEAR, colors, [0.2,0.6], [0,255], m);

    the rectangle is drawn a little high and a bit large to compensate for the gap
    the DataGrid control is introduced between the rows.
    g.drawRect (0, -2, unscaledWidth, unscaledHeight + 4);
    g.endFill ();
    }
    []] >
    < / mx:Script >
    < / mx:Label >

    This code example should answer your question of how to import data in the renderer automatically. It is through the dataProvider of the DataGrid and then refer to it in the renderer in the form of data. XYZ, where XYZ is the field in the XML file with the data. See FB 3 help sys on the e4x syntax.

    -mainapp.mxml-

    
    
      
        
      
      
      
        
          
          
          
        
      
    
    

    -MyLabel.mxml-

    
    
      
        
      
    
    

    -data2.xml-

    
    
           0.5 
           0.7 
           3 
       
  • Adding data to an attribute of the object database

    Well, I have a little problem I am trying to add data to my bpm of a database object, but it does not add the info
    my method is:
    for each item
    SELECT cveAfectacion
    THE COMIC BOOK. ODS_VIEWER. BAN_EVENTOS_CONFIRMACION
    WHERE idSolicitud is contador
    do
    show "dentro do."
    display BAN_EVENTOS_CONFIRMACION.cveAfectacion
    solicitudCliente.tipo = BAN_EVENTOS_CONFIRMACION.cveAfectacion
    end

    Thanks for the help

    See this link: Re: adding data to an attribute of the object database

  • Adding together imported xml variables?

    Hello world

    I still have another problem that I can't solve

    I imported some info an xml file in my film. The news of this file are then displayed in the dynamic text boxes. Three of these text boxes display a price that displays fine. However, I need the contents of these text boxes to be added in another area of dynamic text called total. I need this amount to update the change of price fields. I just can't understand it.

    Here is my code which is placed in part 1 of my movie:

    The last line of code in the sense of how I think it should work, but I think that its probably totally wrong

    Stop();

    bar._visible = false;

    bar2._visible = false;

    bar3._visible = false;

    please_wait._visible = false;

    Fill the basket with the default items in the xml file.

    function CreateMenu (cart_xml) {}

    / / start with the first element in the XML file

    var items = cart_xml.firstChild.firstChild.childNodes; Menu-> menuitems-> child nodes table

    for (var i = 0; i < items.length; i ++) {}

    / / continue only if the type of this element is a squirrel

    if (items [i].attributes.type == 'money') {}

    / / create variables for our items

    var componentlegs = items [i] .firstChild; identical to points [i] Sublst.ChildNodes(1).ChildNodes(0) [0]

    var colourlegs = items [i] Sublst.ChildNodes(1).ChildNodes(0) [1]; second child node

    var pricelegs = items [i] Sublst.ChildNodes(1).ChildNodes(0) [2]; second child node

    var componentbody = items [i] Sublst.ChildNodes(1).ChildNodes(0) [3];

    var colourbody = items [i] Sublst.ChildNodes(1).ChildNodes(0) [4];

    var pricebody = items [i] Sublst.ChildNodes(1).ChildNodes(0) [5];

    var componentbezel = items [i] Sublst.ChildNodes(1).ChildNodes(0) [6];

    var colourbezel = items [i] Sublst.ChildNodes(1).ChildNodes(0) [7];

    var pricebezel = items [i] Sublst.ChildNodes(1).ChildNodes(0) [8];

    / / assign the text using nodeValue for text

    legs_component.text = componentlegs.firstChild.nodeValue;

    legs_colour.text = colourlegs.firstChild.nodeValue;

    legs_price.text = pricelegs.firstChild.nodeValue;

    body_component.text = componentbody.firstChild.nodeValue;

    body_colour.text = colourbody.firstChild.nodeValue;

    body_price.text = pricebody.firstChild.nodeValue;

    bezel_component.text = componentbezel.firstChild.nodeValue;

    bezel_colour.text = colourbezel.firstChild.nodeValue;

    bezel_price.text = pricebezel.firstChild.nodeValue;

    }

    }

    }

    manage XML

    create the new instance of the XML object, not forgetting to ignore white space

    var cart_xml = new XML();

    cart_xml.ignoreWhite = true;

    define an onLoad to create our menu location when the XML has been loaded correctly.

    cart_xml. OnLoad = {function (success)}

    if (success) CreateMenu (this);

    of other trace ("error loading XML file"); without success?  spot an error (won't be visible on the web)

    }

    load the xml file!

    cart_xml. Load ("Cart.xml");

    total = (Number (pricelegs)) + ((pricebody) Number) + (Number (pricebezel));

    Thanks in advance for any response to my dilemma!

    See you soon

    Matt

    Try:

    Stop();

    bar._visible = false;

    bar2._visible = false;

    bar3._visible = false;

    please_wait._visible = false;

    Fill the basket with the default items in the xml file.

    function CreateMenu (cart_xml) {}

    start with the first element in the XML file

    var items = cart_xml.firstChild.firstChild.childNodes; menu-> menuitems-> child nodes table

    for (var i = 0; i)

    continue only if this element type is a squirrel

    If (. attributes.type items [i] == 'money') {}

    create variables for our items

    var componentlegs is items [i] .firstChild;. identical to points [i] Sublst.ChildNodes(1).ChildNodes(0) [0]

    var colourlegs = items [i] Sublst.ChildNodes(1).ChildNodes(0) [1]; second child node

    var pricelegs = items [i] Sublst.ChildNodes(1).ChildNodes(0) [2]; second child node

    var componentbody = items [i] Sublst.ChildNodes(1).ChildNodes(0) [3];

    var colourbody = items [i] Sublst.ChildNodes(1).ChildNodes(0) [4];

    var pricebody = items [i] Sublst.ChildNodes(1).ChildNodes(0) [5];

    var componentbezel = items [i] Sublst.ChildNodes(1).ChildNodes(0) [6];

    var colourbezel = items [i] Sublst.ChildNodes(1).ChildNodes(0) [7];

    var pricebezel = items [i] Sublst.ChildNodes(1).ChildNodes(0) [8];

    assign the text using nodeValue for text

    legs_component. Text = componentlegs.firstChild.nodeValue;

    legs_colour. Text = colourlegs.firstChild.nodeValue;

    legs_price. Text = pricelegs.firstChild.nodeValue;

    body_component. Text = componentbody.firstChild.nodeValue;

    body_colour. Text = colourbody.firstChild.nodeValue;

    body_price. Text = pricebody.firstChild.nodeValue;

    bezel_component. Text = componentbezel.firstChild.nodeValue;

    bezel_colour. Text = colourbezel.firstChild.nodeValue;

    bezel_price. Text = pricebezel.firstChild.nodeValue;

    total = (Number (pricelegs.firstChild.nodeValue)) + ((pricebody.firstChild.nodeValue) Number) + (Number (pricebezel.firstChild.nodeValue));

    }

    }

    }

    manage XML

    create the new instance of the XML object, not forgetting to ignore white space

    var cart_xml = new XML();

    cart_xml.ignoreWhite = true;

    define an onLoad to create our menu location when the XML has been loaded correctly.

    cart_xml. OnLoad = {function (success)}

    If (success) CreateMenu (this);

    Another trace ("error loading XML file"); without success?  spot an error (won't be visible on the web)

    }

    load the xml file!

    cart_xml. Load ("Cart.xml");

  • To access the elements of the XML object

    A web service is back from the data to me as an XML object. I can access the items in the XML like this:

    & lt; cfset username = #XMLDocument.login.username # & gt; and if I have this dump to screen with cfoutput I get just the user name. But if I try to user the variable username as an attribute within a url cflocation it appears in the attributes with the xml notation, for example in the attributes will be:

    username = & amp; Lt;? XML = 20version & amp %; quot; 1.0 & amp; quot; % 20encoding = & amp; quot; UTF-8 & amp; quo t;? & amp; GT;

    Any help much appreciated. Thank you

    > Username>

    > I can't access like this:
    > #XMLDocument.login.username # this will show all
    > 'User_name '.

    Are you sure? If you view the source, don't you get the whole node?

    > but if I send these details as attributes, as follows:<>
    > url = ' index.cfm? username = #XMLDocument.login.username #... Can I get xml
    > formatting instead of just the user name.

    Well Yes.

    #XMLDocument.login.username # designates the entire node, not just the
    xmlText bit between the tags as you seem to expect. You want to
    just the xmlText node.

    You should probably read the docs on how CF manages XML:
    http://livedocs.Adobe.com/ColdFusion/8/htmldocs/help.HTML?content=XML_02.html.

    --
    Adam

  • Change "current node" of the XML object

    Hello

    I am trying to edit the "current node" of an XML object, but I still don't know what will be the current node.

    My XML object to load an external XML file:

    < mx:XML id = source="assets/article_text.xml"/ "featureData" >

    and I read that data through a < mx:Repeater > create a < mx:TextArea > for each 'currentItem '.

    < mx:Repeater id = dataProvider = "{featureData.body_text.children ('repeatParas')}" >
    "< mx:TextArea htmlText =" {repeatParas.currentItem} "width ="80% "borderStyle ="none"click =" showBodyEditor (event, event.currentTarget.getRepeaterItem ()) "verticalScrollPolicy =" off "creationComplete ="resizeTextArea (event); "updateComplete ="resizeTextArea (event); "/ > < / mx:Repeater >

    A click on < mx:TextArea > event load a pop-up window containing a RichTextEditor that contains the content of currentItem:

    private void showBodyEditor(event:Event,_item:String):void {}
    var pop1:BodyEditor = BodyEditor (PopUpManager.createPopUp (this, BodyEditor, true));
    Set the properties of the custom component BodyEditor.
    POP1.showCloseButton = true;
    POP1.targetBodyText = event.currentTarget;
    POP1. CurrentNode = item;
    PopUpManager.centerPopUp (pop1);
    }

    I then passes the value of everything that has been entered in the return to the initial < mx:TextArea > RichTextEdior via a function on a button click event '' made '' (processBodyText()):

    [Bindable]
    public var targetBodyText:Object;
    [Bindable]
    public var currentNode:String;

    Transfer data to text boxes
    private function processBodyText (): void {}
    targetBodyText.htmlText = String (bodyTextForm.htmlText);
    currentNode = String (bodyTextForm.htmlText);
    Remove pop-up.
    PopUpManager.removePopUp (this);
    }

    But what I can't do is actually updated for that node in the featureData XML object without explicitly saying what node to update (for example, it works: parentApplication.featureData.body_text.p [1] = String (bodyTextForm.htmlText);) I don't necessarily know which node to update, I just want to be able to update some node I happen to be editing at the time.

    Is this possible?

    Thanks to anyone who can enlighten us!

    I'll reply to my own post (where everyone was watching).

    I just changed the parameters/variables currentNode type Object (instead of string) and within the processBodyText function, I replaced

    currentNode = String (bodyTextForm.htmlText);

    with

    currentNode.setChildren (bodyTextForm.htmlText);

    who updates the node in the XML data provider.

    I still need to get rid of some of the gobblygook of html that is passed to the rear (for example < TEXTFORMAT LEADING '2' = >) but as long as I am able to update the current node, I'm happy (for now).

  • Data mining XML problem

    The XML file format is:

    < xml >
    < condesa >
    < lote >
    < loteid > H50601 < / loteid >
    < number > Services < / number >
    < category > Escuela < / categories >
    Arabic < subcategoria > < / subcategoria >
    < phone > 55532255 < / phone >
    < Address > Juan pedro 23 < / address >
    Roble.jpg < image > < / image >
    < / lote >
    < / condesa >
    < / xml >

    I have an xml file that I read from. I am their take the data and put it into an XML object named condechiXML.

    var condechiXML:XML = new XML();
    var XML_URL:String = "condechi.xml";
    var condechiXMLURL:URLRequest = new URLRequest (XML_URL);
    var condechiLoader:URLLoader = new URLLoader (condechiXMLURL);

    Once loaded:

    condechiXML = XML (condechiLoader.data);
    condechiTotal = condechiXML.condesa.lote.length ();

    What I want to do is to run a loop for each branch in my xml tree where I access a property in each branch. I have to work loop using the length for xml attribute, but when I want to use:

    for (var i: uint = 1; i < = condechiTotal; i ++) {}
    trace (condechiXML.Condesa ["Lote [" + i +"]"] .loteid);
    }

    my trace returns empty lines.

    How can I make this work?

    Thanks for the help.
    Omar

    First, all the tables, etc., are 0-based. Your loop begins with 1 - it must start with 0, unless you want to read the beginning of the 2nd element data.

    Second, the syntax [lote "[" + i + "]"] is not correct because you have these nodes. For example, you have node -all the nodes are - so you need to refer to them as berries.

    See code below that works.

  • Adding data to the ESX host store

    Hi all

    We are automating the process of adding data to the esx host store. We have all the necessary inputs as a host, Cluster, data center, data store name, store (VMFS) Pat data.

    Do we have the cmdlets to get the result? What is the data store should be added after the configuration of the network?

    We need confirm that the data store must be there in vcenter/Cluster?

    Please help explain the process.

    Thanks and greetings

    Riyas Hussain has

    If the LUNS on which these data warehouses are defined are zoned and correctly configured as a shared, they become automatically visible on the ESXi node.

    Do you see the LUN on different nodes of ESXi under storage adapters?

  • How to integrate the dynamic SQL generated in the data definition XML file?

    Hi all

    I have it here is the XML file that is attached to the definition of data model RTF as below. Also, I have a function that will return to create a dynamic query as shown below.

    <?xml version="1.0" encoding="UTF-8"?> 
    <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0"> 
    <dataQuery> 
    <sqlStatement name="Q2"> 
    <![CDATA[
    

    Hi guys,.

    I was able to solve above the requirement. It was not possible to create only from SQL dynamically. Instead, I created a procedure that would create & update (attached to the data definition) XML file dynamically for each race.

    Kind regards

    Patricia K.

  • to retrieve data from xml data type

    Hello...
    I have a doubt in the oracle database... Here's how to retrieve data from xml data type?

    Like this...

    SQL> ed
    Wrote file afiedt.buf
    
      1  with t as (select xmltype('
      2  
    3 4 toMonth5 5 ctTestPan1 6 costType2 7 toYear2012 8 fromMonth12 9 fromYear2011 10 11
    ') as xml from dual) 12 -- 13 -- end of sample XMLDATA, use below query on your own table etc. as required 14 -- 15 select x.* 16 from t 17 ,xmltable('/DETAILS/FIELDS_VALUES/FIELD' 18 passing t.xml 19 columns name varchar2(30) path './NAME' 20 ,val varchar2(10) path './VALUE' 21* ) x SQL> / NAME VAL ------------------------------ ---------- toMonth 5 ctTestPan 1 costType 2 toYear 2012 fromMonth 12 fromYear 2011 6 rows selected.
  • Insert data as XML into the Oracle Table

    Hi all

    I have a requirement where the data in XML format, and I need to insert into the Oracle Table. For example, I get XML data in the following format,
    < results >
    < row >
    < BANK_ACCOUNT_ID > 10010 < / BANK_ACCOUNT_ID >
    < BANK_ID > 300968 < / BANK_ID >
    Vision operations < LEGAL_ENTITY > < / LEGAL_ENTITY >
    < BANK_NAME > BofA < / BANK_NAME >
    < BANK_ACCOUNT_NUM > 10271-17621-619 < / BANK_ACCOUNT_NUM >
    < BANK_ACCOUNT_NAME > BofA-204 < / BANK_ACCOUNT_NAME >
    < BRANCH_NAME > New York < / BRANCH_NAME >
    USD < CURRENCY_CODE > < / CURRENCY_CODE >
    < BALANCE_DATE > 2007 - 11 - 09 < / BALANCE_DATE >
    < LEDGER_BALANCE > 432705900.56 < / LEDGER_BALANCE >
    < / row >
    < row >
    < BANK_ACCOUNT_ID > 10091 < / BANK_ACCOUNT_ID >
    < BANK_ID > 300984 < / BANK_ID >
    Vision industries < LEGAL_ENTITY > < / LEGAL_ENTITY >
    Barclay Bank < BANK_NAME > < / BANK_NAME >
    < BANK_ACCOUNT_NUM > 70986798 < / BANK_ACCOUNT_NUM >
    Bank Multi currency-626 < BANK_ACCOUNT_NAME > Barclays < / BANK_ACCOUNT_NAME >
    Reading < BRANCH_NAME > < / BRANCH_NAME >
    GBP < CURRENCY_CODE > < / CURRENCY_CODE >
    < BALANCE_DATE > 2007 - 11 - 14 < / BALANCE_DATE >
    < LEDGER_BALANCE > 24244085.24 < / LEDGER_BALANCE >
    < / row >
    < row >
    < BANK_ACCOUNT_ID > 10127 < / BANK_ACCOUNT_ID >
    < BANK_ID > 300968 < / BANK_ID >
    < LEGAL_ENTITY > SSC U.S. 01 < / LEGAL_ENTITY >
    < BANK_NAME > BofA < / BANK_NAME >
    < BANK_ACCOUNT_NUM > 4898744 < / BANK_ACCOUNT_NUM >
    < BANK_ACCOUNT_NAME > BofA SSC U.S. 02-7188 < / BANK_ACCOUNT_NAME >
    < BRANCH_NAME > New York < / BRANCH_NAME >
    USD < CURRENCY_CODE > < / CURRENCY_CODE >
    < BALANCE_DATE > 2007 - 11 - 28 < / BALANCE_DATE >
    < LEDGER_BALANCE > 10783815.28 < / LEDGER_BALANCE >
    < / row >
    < / results >

    I like to write PLSQL code that will receive these data with XML tags and insert it into the Oracle Table. Is this possible with built-in XML features provided in the Oracle database?

    Please Guide...

    Kind regards
    Priyanka

    But the problem is the file XML is to have the details of the records if you carefully observed the XML file. But by using more high statement select I get output in the following format.
    ORG_ID REQ_LINE PO_NUMBER EXPECTED_REC_QTY USER_NAME REQ_NUMBER
    204204 1444714450 11 64446445 11 OPERATIONSOPERATIONS

    The table has only one row, so you get a single row as output.
    I'm surprised that you find useful examples showing how to divide the data into several lines.

    (1) create the table with the following option, it will optimize the performance of storage and query for large XML documents:

    CREATE TABLE xxios_xml_data_test(xml_data XMLTYPE)
    XMLTYPE COLUMN xml_data STORE AS SECUREFILE BINARY XML
    ;
    

    (2) interview table with:

    SQL> select x.*
      2  from xxios_xml_data_test t
      3     , xmltable(
      4         '/Results/Row'
      5         passing t.xml_data
      6         columns ORG_ID           number       path 'ORG_ID'
      7               , REQ_NUMBER       number       path 'REQ_NUMBER'
      8               , REQ_LINE         number       path 'REQ_LINE'
      9               , PO_NUMBER        number       path 'PO_NUMBER'
     10               , EXPECTED_REC_QTY number       path 'EXPECTED_REC_QTY'
     11               , USER_NAME        varchar2(30) path 'USER_NAME'
     12       ) x
     13  ;
    
        ORG_ID REQ_NUMBER   REQ_LINE  PO_NUMBER EXPECTED_REC_QTY USER_NAME
    ---------- ---------- ---------- ---------- ---------------- ------------------------------
           204      14447          1       6444                1 OPERATIONS
           204      14450          1       6445                1 OPERATIONS
     
    
  • Writing XML object in a file

    Hi, I use InDesign JavaScript to make an XML object in memory. When my script's done, I want to write the XML to a file. When I run the code below, the file is created, but XML is not written to the file. Any help would be appreciated. Thank you. Rick

    #target indesign
    
    var partsMap = <partsMap />;
    savePartsMap (partsMap);
    
    function savePartsMap (partsMap) {
        
        var partsFile;
        
        // Make a File object for the parts map XML file.
        partsFile = new File("E:\\Test.xml");
        // Open the map file.
        partsFile.open("w");
        partsFile.write(partsMap);
        partsFile.close();
    }
    

    Add partsFile.encoding = 'UTF-8'; right after the instantiation of your file.

    I don't know, but you can also write partsMap.toXMLString() instead of the partsMap.toString() you write implicitly.

    Jeff

  • Export model data as xml does not work

    Export model data as xml does not work

    Please advice on this subject? I created a template with editable regions - index.dwt, but when I try to export the model as xml - it is greyed out. I read another thread in this forum, but I'm not clear on the second stage of the given statement. Please click on the header to see step 2 on a previous thread.

    Please notify.

    THX

    Now that you have a template file, you can create a page by using the template file. Have a look here http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSc78c5058ca073340dcda9110b1f693f21-7ef da.html.

    Once you have created the page, you can export as XML.

    GRAMPS

  • #DATA # table XML

    The field #DATA # Chart XML takes data from your SQL query and it wraps in XML so that AnyChart can return the table correctly.

    Is it possible for me to customize how the XML is generated?
    Where can I find the definition of the field #DATA #?

    Thank you
    Austin

    Hi Austin,.

    First of all, what APEX version do you use? Before APEX 4.0, Flash cards are supported using AnyChart 3.3 graphics, but with APEX 4.0, we have integrated AnyChart 5 cards. The XML reference differs a lot between releases two chart, so I just want to make sure I provide you with the correct information for the version of graphics you ' using #re.

    The #DATA substitution string # on your list THAT XML is replaced at run time with XML tags containing the result set of your query for the chart series. If the XML table did not contain the #DATA substitution string #, then we assume that you provide your own data, and the chart series query will not be used. The generation of the XML tags for data differs from the type of graph type chart for example data for a pie chart labels are very different from that of a Gantt chart. Generally, users don't need to worry about this. They just need to provide the graphic series query, and the underlying logic supports the rest. However, if you need to customize only XML tags for data, for some reason, then you essentially have two options here:

    (1) hard-code XML necessary in the area of Custom XML in your chart. This would require that you set "Use Custom XML" Yes, on the page table and in the area of Custom XML attributes, replace #DATA # by your XML example

    
      
        
        
        
        
        
        
        
        
      
    
    

    NOTE: the above XML code is AnyChart 5 format, so if you use graphics AnyChart 3.3 XML code will look very different. I can provide a sample for that if needed. The reference XML 3.3 AnyChart are available here: http://3.anychart.com/products/docs/anychart/index.htm and the reference to XML AnyChart 5 are available here: http://anychart.com/products/anychart/docs/xmlReference/index.html.

    or

    (2) to generate your own data, through a process of page labels, for example, save the output in a page hidden item and then make reference to this element of the page on the list XML custom... again, you would remove the #DATA substitution string # and replaced by a reference to a hidden example item & P1_DATA. I had an example how to do that on my example of thresholds in sample, here: http://apex.oracle.com/pls/apex/f?p=36648:35. Basically, I used an application process to generate XML, to be customized because the tag must refer to a threshold attribute for example , and by default, the tag does not reference this attribute.

    I hope that the above information is useful and if you need further explanation or assistance, let me know.

    Kind regards
    Hilary

  • Lightroom stopped adding date folders to import pictures.

    Lightroom stopped adding date folders to import pictures.  The photos appear and I can put them in collections.  I checked the integrity of the catalog, and no problem.  Can anyone help? I use a Mac.

    If you must move the photos or folders that have already been imported, move them into the Lightroom folder Panel. I wouldn't bother, I would leave them right where they are, but it's me, I use keywords and metadata to find my photos and I don't really like what they are in folders.

    For imports, again, you must select the name of folder/location of appropriate folder in the Lightroom Import dialog box. There are many tutorials on this topic.

Maybe you are looking for