xml data call

Hello

I call uploadurl xml file. but I am wrong.

a bad code.

req = new URLRequest();
req.url = ( stage.loaderInfo.parameters.f )? stage.loaderInfo.parameters.f : "myXML.IMAGE[0]";

uploadFile = new FileReference();
select_btn.addEventListener( MouseEvent.CLICK, browse );

function browse( e:MouseEvent )
{
          filefilters = [new FileFilter('All files',"*.jpg;*.png")];
          uploadFile.browse( filefilters );
}


var myXML:XML;
var myLoader:URLLoader = new URLLoader();
myLoader.load(new URLRequest("uploadurl.xml"));
myLoader.addEventListener(Event.COMPLETE, processXML);

function processXML(e:Event):void {
myXML = new XML(e.target.data);
trace(myXML.IMAGE[0]);
}

I assigned download URLs as xml

<?xml version="1.0" encoding="utf-8"?>
<GALLERY>
<IMAGE TITLE="school">http://www.website.com/test/upload.php</IMAGE>
</GALLERY>

Finally it is working I have changed a bit.

I put req.url = myXML.IMAGE [0] in the function processXML, then works well.

Labour Code:

var myXML:XML;
var myLoader:URLLoader = new URLLoader();
myLoader.load(new URLRequest("uploadurl.xml"));
myLoader.addEventListener(Event.COMPLETE, processXML);

function processXML(e:Event):void

{
myXML = new XML(e.target.data);
trace(myXML.IMAGE[0]);

Req.URL = myXML.IMAGE [0];

}

Tags: Adobe Animate

Similar Questions

  • Loading XML data in ListView of C++ after extraction of http data

    I'm sorry did searh but could not find any refrence related to my problem
    I am trying to load the xml data returned from a web service HTTP Post QNetworkRequest and QNetworkReply in c ++.

    My XML that gets donwloaded is as

    
     http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tempuri.org/">
      
        tu7652
        F
        Marry
        Wijaya
      
      
        23
        F
        Marry
        Wijaya
      
    
    

    In My QML, it comes to the ListView can say SearchResult.qml

    ListView {
              objectName: "resultlist"
              dataModel: feedsdatamodel
              listItemComponents: [
                ListItemComponent {
                            type: "item"
                            PeopleListItem {
                                name: ListItemData.givenName + ", " + ListItemData.sn
                                role: ListItemData.ExtFunction
                                leftPaddingText: 40
                            }
                        }
               ]
            }
     attachedObjects: [
           // The data model that contains the content of a XML file
            GroupDataModel {
                id: feedsDataModel
                sortingKeys: [
                    "givenName"
                ]
                grouping: ItemGrouping.None
            }
        ]
    

    PeopleListItem.qml

    import bb.cascades 1.0
    
    Container {
        property alias name: titleLabel.text
        property alias role: functionLabel.text
        property alias leftPaddingText: textcontainer.leftPadding
    
        layout: StackLayout {
            orientation: LayoutOrientation.TopToBottom
        }
        preferredWidth: 768
        preferredHeight: 135
        Container {
    
            id: textcontainer
            topPadding: 10
    
            layout: StackLayout {
                orientation: LayoutOrientation.TopToBottom
            }
            Label {
    
                id: titleLabel
                textStyle.base: SystemDefaults.TextStyles.TitleText
                textStyle.color: Color.Black
            }
            Label {
                id: functionLabel
                textStyle.base: SystemDefaults.TextStyles.BodyText
                textStyle.color: Color.Gray
            }
        }
        Divider {
            verticalAlignment: VerticalAlignment.Bottom
        }
    }
    

    This is the function I'm using to display the QML it is called from main.qml and works correctly.

    void PeopleFinder::onSearchClicked() {
        qDebug() << "PeopleFinder::PeopleFinder::onSearchClicked::\t" << "begin";
        qDebug() << "PeopleFinder::PeopleFinder::onSearchClicked::\tfname:"
                << m_fname << "\tlname:" << m_lname;
    
        // Create a network access manager and connect a custom slot to its
        // finished signal
        mNetworkAccessManager = new QNetworkAccessManager(this);
    
        // create a data model with sorting keys for lastname and firstname
        Q_ASSERT(
                connect(mNetworkAccessManager, SIGNAL(finished(QNetworkReply*)), this, SLOT(requestFinished(QNetworkReply*))));
    
        //Load the bew QML file of Search from here
        QmlDocument *qml = QmlDocument::create("asset:///SearchResults.qml").parent(
                this);
        qml->setContextProperty("peoplefinder", this);
    
        Page *mypage = qml->createRootObject();
        qml->setParent(mypage);
        qDebug() << "PeopleFinder::PeopleFinder::onSearchClicked::\t s444444";
    
        // Retrieve the activity indicator from QML so that we can start
        // and stop it from C++
    //  mActivityIndicator = mypage->findChild("myIndicator");
    
        // Retrieve the list so we can set the data model on it once
        // we retrieve it
        mListView = mypage->findChild("resultlist");
    
        mNavigator->push(mypage);
    }
    

    Once the page loads in the QML it call the launch request providing c ++ file and once the
    query is completed under function is called with the data. I checked that data are downloaded properly

    void PeopleFinder::requestFinished(QNetworkReply* reply) {
        qDebug() << "PeopleFinder::PeopleFinder::requestFinished::\t"
                << "response received";
        // Check the network reply for errors
        if (reply->error() == QNetworkReply::NoError) {
    
            // Open the file and print an error if the file cannot be opened
            qDebug() << "PeopleFinder::PeopleFinder::requestFinished::\t"
                    << "No error";
    
            // Write to the file using the reply data and close the file
            QByteArray xml = reply->readAll();
            qDebug() << "Data: \n" << xml;
    
            // load the xml data
            XmlDataAccess xda;
            QVariant list = xda.load(xml, "ArrayOfPeople");
    
            qDebug() << "List:::\n" << list;
    
            GroupDataModel *datamodel = (GroupDataModel*)mListView->dataModel();
            // add the data to the model
            datamodel->clear();
            datamodel->insertList(list.value());
            datamodel->setSortingKeys(QStringList() << "givenName" << "sn");
            qDebug() << "PeopleFinder::PeopleFinder::requestFinished::\t"
                    << "Datamodel set size:: " << datamodel->size();
    
            // Set the new data model on the list and stop the activity indicator
    
        } else {
            qDebug() << "\n Problem with the network";
            qDebug() << "\n" << reply->errorString();
        }
    }
    

    But now, the real problem begins as in how to convert QByteArray data type of QVariantList which can be loaded into the datamodel
    I don't want to write the data to the XML file and then pass that as a list his will is very slow, once I move test environment to the production environment.

    Please help me solve this problem

    I got it to work using xml parsing with QXmlStreamReader

  • Extraction of XML data

    Hello

    I have a requirement to extract data from XML and insert in a custom table.

    XML structure is

    < A >

    < Column1 >

    < Column2 >

    < Column3 >

    < Column4 >

    < column > 5

    < A >

    < A1 >

    < Column1 >

    < Column2 >

    < Column3 >

    < Column4 >

    < column > 5

    < A1 >

    .

    .

    .

    .

    < a >

    < Column1 >

    < Column2 >

    < Column3 >

    < Column4 >

    < column > 5

    < a >


    I need to extract all the values in the column and insert it into a custom table.

    Number of nodes one will increase every day, and columns can be of the order of 50-100.


    With the help of EXTRACTVALUE and bulk collect I m doing this process, but taking almost 2 hours for the processing of 3000 records.


    Please let me know is there better way (in terms of performance) to extract XML data?


    Thank you

    Kumar.

    Why the node is called as A1, A2... One? Why can it not be Just A? Here's an example of how to represent XML report and analyzed data to a relational structure.

    SQL> with t
      2  as
      3  (
      4  select xmltype
      5         (
      6  '
      7      
      8           1
      9           ram
     10           01-01-2016
     11           10000
     12      
     13      
     14           2
     15           karthick
     16           01-01-2016
     17           10000
     18      
     19      
     20           3
     21           subha
     22           01-01-2016
     23           10000
     24      
     25      
     26           4
     27           vimal
     28           01-01-2016
     29           10000
     30      
     31      
     32           5
     33           vijay
     34           01-01-2016
     35           10000
     36      
     37  
    ' 38 ) xmldata 39 from dual 40 ) 41 select t1.* 42 from t 43 , xmltable 44 ( 45 '/table/row' passing xmldata 46 columns 47 empno number path 'empno', 48 ename varchar2(10) path 'ename', 49 doj varchar2(10) path 'doj', 50 sal number path 'sal' 51 ) t1; EMPNO ENAME DOJ SAL ---------- ---------- ---------- ---------- 1 ram 01-01-2016 10000 2 karthick 01-01-2016 10000 3 subha 01-01-2016 10000 4 vimal 01-01-2016 10000 5 vijay 01-01-2016 10000
  • extract data from blob field containing xml data big

    I'm working on Oracle 11 g 2, 11.0.2.0.3. UNIX database server.

    my oracle instance receive large xml data service web ftp, I put this file as blob in a table called TBL_ALERT_XML (ID_ALERT NUMBER, DATE of the TIMESTAMP_ALERT, ALERT_XML BLOB).

    My goal is to get data of BLOB content e file put in one or more other tables.

    I try with the opening of a cursor on

    SELECT XMLTYPE (UTL_RAW.cast_to_varchar2 (ALERT_XML)). Extract (' alerts/points/point / / Text () ') threads

    OF TBL_ALERT_XML

    without any filter on ID_ALERT.

    But I get the error:

    ORA-22835: buffer too small for to CHAR CLOB or BLOB to RAW conversion



    Please help me, thank you very much

    Because the web service is deployed in python and my co worker is not able to call a stored procedure with the parameter xmltype, but only with the setting of the BLOB.

    If you can't get around it, so be it. All the less, using CLOB would be better.

    However, which prevents you to convert BLOB XMLType entry within the stored procedure and store it in an XMLType column.

    To do this, simply use the XMLType of BLOB.

    create table tbl_alert_xml)

    number of id_alert

    date of timestamp_alert

    alert_xml xmltype

    );

    insert into tbl_alert_xml

    values)

    1

    sysdate

    xmltype (p_blob

    , nls_charset_id ('AL32UTF8') - put the encoding of the file here

    )

    );

    Then, you will be able to execute queries optimized using XMLTABLE.

  • How to display XML data on forms10g2 webservice

    Please suggest solutions to fill the XML data that is passed to Forms 10 g 2 BizTalk via webservice?

    OPtion I know is loading XML into a staginig table and create a view to point to this table.

    You can use utl_http in the database to call the Web service and display the result in a form element.
    Example:
    http://www.Oracle-base.com/articles/9i/ConsumingWebServices9i.php

  • How to write the xml data to a file

    Hi all

    We have a requirement of writing, the xml data in a file in the data directory in the server. Generate xml data using the SQL below.

    SELECT XMLELEMENT ("LINE",
    XMLELEMENT ('CELL', xmlattributes (LIKE 'column name', ' EBIZCZMDL_01'), inventory_item_id).
    XMLELEMENT ('CELL', xmlattributes (AS 'Name of COLUMN', ' EBIZFFMT_01'), attribute29).
    XMLELEMENT ('CELL', xmlattributes ("COMMON" AS "Name of COLUMN"), inventory_item_id |) '' || attribute29 | "ITM")
    "XMLDATA" AS "PRODUCE")
    OF apps.mtl_system_items_b

    When we try to write this query data in a file using UTL_FILE.put_line, the script gives error
    PLS-00306: wrong number or types of arguments in the call to "PUT_LINE '.

    If anyone can help pls...

    Thanks in advance

    The call to dbms_xslprocessor.clob2file is in the cursor for the specific SQL loop.

    This is obviously the problem.
    The file is replaced with each iteration.

    Do not use a cursor at all.

    See the example below, it should be close to your needs:

    DECLARE
    
       l_file_name      VARCHAR2 (30);
       l_file_path      VARCHAR2 (200);
    
       l_xmldoc         CLOB;
    
    BEGIN
    
       l_file_path := '/usr/tmp';
       l_file_name := 'TEST_XREF4.xml';
    
       SELECT XMLElement("xref", xmlattributes('http://xmlns.oracle.com/xref' as "xmlns"),
                XMLElement("table",
                  XMLElement("columns",
                    XMLElement("column", xmlattributes('EBIZFFMT_01' as "name"))
                  , XMLElement("column", xmlattributes('COMMON' as "name"))
                  , XMLElement("column", xmlattributes('EBIZQOT_01' as "name"))
                  , XMLElement("column", xmlattributes('EBIZCZMDL_01' as "name"))
                  , XMLElement("column", xmlattributes('EBIZCZGOLD_01' as "name"))
                  ),
                  XMLElement("rows",
                    XMLAgg(
                      XMLElement("row",
                        XMLElement("cell", xmlattributes('EBIZCZMDL_01' AS "colName"), inventory_item_id)
                      , XMLElement("cell", xmlattributes('EBIZFFMT_01' AS "colName"), attribute29)
                      , XMLElement("cell", xmlattributes('COMMON' AS "colName"), inventory_item_id || '' || attribute29 || 'ITM')
                      )
                    )
                  )
                )
              ).getClobVal()
       INTO l_xmldoc
       FROM apps.mtl_system_items_b
       WHERE attribute29 IS NOT NULL
       ;
    
       dbms_xslprocessor.clob2file(l_xmldoc, l_file_path, l_file_name, nls_charset_id('UTF8'));
    
    END;
    /
    

    BTW, the directory in DBMS_XSLPROCESSOR parameter. CLOB2FILE must be an Oracle Directory object, not a literal path.

  • 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

  • Manipulate xml data

    From an XML file, I can retrieve the content and display it in a single column. This part works perfectly!

    But when it comes to separate my xml data in 2 columns... no luck.
    Can someone guide me and split my articles in a new line when 10 items are met?


    Hi blow
    It's here: GET HERE
    I changed a part of each function at the bottom. Then change tehm all. Just the ones from downstairs. I also change the function of "makeSubMenu" at the top of your code. In this function, the parameters is now "node" and no more "node.childNodes. Long to explain, but it works perfectly now. When I change the code before that I didn't think that wiil you need for the type of menu. This is the reson why I need to keep the knot all not only the node.childNodes. Well well down, here's what I did:
    1 - in the 'attachSubMenuItem' is a button for each clip id. Use of subment which now have been clicked
    2 - I always use the same if the "setSubmenuEvents" function is the only event in. It's a good way to work in the case that you want to add other celebrations.
    3 - I had to change a bit of your code in the "levelTwoEmpty ["item"+ i] .onRelease" now called as "clickEventSub". Not only an event, but a function. Code inside has been change to work with the new code. Also, I use the case of the switch instead of the otherwise if if else etc. In this case, it

    Hope that can help.

  • loading the XML data in password protected URLs

    Using Flash Professional 8...

    I have an application that loads the XML data in remote servers.

    It works fine, except that the company provide me with the data decided to protect their files. It seems they use IIS or .htaccess protection of password for the style.

    I have a valid user name and password, but I do not know how to integrate those when calling the URL to authenticate.

    I think I need to use loadVars objects, but I've not been able to find examples where people use this method for this style of security. I see most of the examples deal with submit a name of user and password on a URL and then receive a response.
    The security of this type does not follow this pattern. The URL is blocked unless a name of user and password is entered in a box even before see pages.

    LoadVars to use for this?

    If Yes, are there an example or something that I can see?

    If this is not the case, how Flash authenticates this style of security?

    This seems like a fairly standard issue, and I am puzzled that I can't yet find other examples. Am I stupid?

    Thank you
    Joe

    Maybe it helps.
    http://www.martijndevisser.com/blog/article/using-HTTP-authorization-headers

  • Construction of a game based on XML data screen

    I just put a list of clips on the screen using the data of positioning of an xml document.

    I created 2 movieClips in my library with the link of the box01 class and box02.

    I have an xml document that describes the x and there contact information I want to use:


    <? XML version = "1.0" encoding = "iso-8859-1? >
    < data >
    < name of art = "box01" x = "50" y = "50" / >
    < name of art = "box02" x = "100" y = "100" / >
    < / data >

    I am able to analyze this xml document in flash and see the data:
    trace(XMLDATA.art[0].@Name) displays "box01.

    Now I want to loop through the length of my elements of 'art' xml and generate my screen (by calling the movieClips box01 and box02 located in the library).

    But I don't know how to use the name box01, box02 etc of the doc xml to create my case.

    It works, but more or less like this:

    var i: uint;
    for (i = 0; i < xmldata.art.length (); i ++) {}
    trace (XMLDATA.art, , .@name);
    var myMovieClip: [xmldata.art
    .@name] = new [xmldata.art .@name] ();
    myMovieClip.x = xmldata.art
    .@x.
    myMovieClip.y = xmldata.art .@y.
    addChild (myMovieClip);
    }


    Sound this line that I need the help of the syntax on:

    var myMovieClip: [xmldata.art
    .@name] = new [xmldata.art .@name] ();


    I want the name of my case to be the 'name' of my xml doc attribute.

    I'm close - could someone please help me understand this?

    Thanks - I'll put my complete code below.








    -COMPLETE ACTION SCRIPT-

    package {}
    import flash.display. *;
    import flash.events. *;
    import flash.net.URLLoader;
    import flash.net.URLRequest;

    public class myXMLDoc extends MovieClip {}
    private var xmldata:XML;

    public void myXMLDoc() {}
    XMLDATA = new XML();
    var xmlURL:URLRequest = new URLRequest ("myXMLDoc.xml");
    var xmlLoader:URLLoader = new URLLoader (xmlURL);
    xmlLoader.addEventListener (Event.COMPLETE, xmlLoaded);
    xmlLoader.addEventListener (IOErrorEvent.IO_ERROR, xmlLoadError);
    }

    function xmlLoaded(event:Event) {}
    XMLDATA = XML (event.target.data);
    trace(XMLDATA.art[0].@Name);
    trace ("data loaded successfully.");
    buildScreen();
    }

    function xmlLoadError(event:IOErrorEvent) {}
    trace (Event.Text);
    }

    function buildScreen() {}
    trace ("display building");
    var i: uint;
    for (i = 0; i < xmldata.art.length (); i ++) {}
    trace(XMLDATA.art
    .@Name);

    This next line is where I want to add my movieClips box01 and box02 on-screen *.
    and the use of x and y, the xml data placement *.

    var myMovieClip: [xmldata.art .@name] = new [xmldata.art.@name] ();
    myMovieClip.x = xmldata.art .@x.
    myMovieClip.y = xmldata.art
    .@y.
    addChild (myMovieClip);
    }
    }
    }
    }

    It's beautiful. Thank you!

  • Spry, displaying xml data

    I tried to use spry on CS3 and I seized the spry region, then create a table but when I preview the page I get an error saying that there is a xml object error. I checked the xml code and it seems in good condition. There are small things that I would have missed out? It isn't really confussing me now

    Yes, that's the ticket.

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.dreamweavermx-templates.com - template Triage!
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
    ==================

    'David Powers' wrote in message
    News:f25c9i$QSA$1@forums. Macromedia.com...
    > Murray * ACE * has written:
    > Actually, no. My XML source is on a remote server. At least one of
    > what I put in the source - data field
    >>
    > http://<> address > / export.php
    >
    > It's probably because you're using a PHP script to serve the XML data.
    > This is directly inspired by the Spry documentation:
    >
    > ' The URL argument can be a relative or absolute URL to an XML file, or to.
    > a/application of web service that returns XML data. Users should be aware
    > loading XML data is subject to the browser's security model
    > which requires that any data you upload must come from the area where
    > the HTML page, running in the browser, came. Web developers
    > usually get around this limitation by having a script server-side who
    > can be called from the browser that can load URL in other areas. »
    >
    > http://labs.adobe.com/technologies/spry/articles/data_set_overview/
    >
    > --
    > David Powers, Adobe Community Expert
    > Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    > Author, "PHP Solutions" (friends of ED)
    > http://foundationphp.com/

  • Web Service SOAP returned XML data are unreadable

    Hello

    I hope someone with some experience of SOAP could help me find a solution for which XML data coming out of a Web Service (SAP production) are illegible.

    In the attached file is the Web Service response, and as you can see in the header of the request is OK. (request to pass a serialized PCB of a 'tail' to 'work'). Request is successful (I manually check by directly connecting the SAP web service and check), but also the data on the printed circuit should be returned (edge stock code, etc...).

    My request and response with the XML data returned works very well in SoapUI.

    Any help would be appreciated.

    Darin.K wrote:

    I agree with Phillip (except that you want to "inflate" the payload).  You can simply post a VI with full response defined as default in a string control/indicator and I am betting we could get it sorted.

    Thanks Darin, I think acompress and after reading an article google re: SAP NetWeaver, who used the terms inflate and deflate, I confused my prefixes. I also regularly exchange numbers when transcribing the long numbers. Dyslexic, I am.

    JonnyR - please use the uncompress function I've included on the same link as soon as possible. You will need to remove the header HTML of the string portion. If you do not, unzip it will interpret the header as compressed data and you will get jumbled as output data.

  • WebView URL of XML data

    Hello

    I created a Listview and ListItemComponents .xml file

    I would like to open a WebView with the url selected in the .xml file, when a user clicks on an element.

    That's what I have so far:

    hand. QML

    import bb.cascades 1.0
    
    TabbedPane {
        showTabsOnActionBar: false
        Tab {
            title: "Home"
            imageSource: "asset:///images/custom/icon_197.png"
            Page {
                id: homepage
    
                titleBar: TitleBar {
                        title : "Title"
                    }
                    content: Container {
                        // Create a ListView that uses an XML data model
    
                        ListView {
                            dataModel: XmlDataModel {
                                source: "models/home.xml"
                            }
    
                            listItemComponents: [
    
                                ListItemComponent {
    
                                    type: "header"
    
                                    // Use a predefined Header to represent "header"
                                    // items
                                    Header {
                                        title: ListItemData.title
                                        subtitle: ListItemData.subtitle
                                    }
                                },
                                ListItemComponent {
                                    type: "listItem"
    
                                    // Use a predefined StandardListItem to represent "listItem"
                                    // items
                                    StandardListItem {
                                        title: ListItemData.title
                                        description: ListItemData.subtitle
                                        status: ListItemData.status
                                        imageSource: ListItemData.image
    
                                    }
    
                                } // end of second ListItemComponent
    
                            ]
                                            onTriggered: {
                                                var chosenItem = dataModel.data(indexPath);
    
                                                // Create the content page and push it on top to drill down to it.
                                                var page = webviewID.createObject();
    
                                                // Set the title and source of the feed that the user selected.
                                                page.weburl = ListItemData.weburl
                                                page.title = chosenItem.title
    
                                                nav.push(page);
                                            }
                             // end of listItemComponents list
                        } // end of ListView
                    } // end of Container
    
                actions: [
                    ActionItem {
                        title: "About"
                        imageSource: "asset:///images/custom/bb10/ic_info.png"
                    },
                    ActionItem {
                        title: "Settings"
                    }
                ]
    
            }
    
                 attachedObjects: [
                      ComponentDefinition {
                          id: webviewID
                          source: "webview.qml"
                      }
                  ]
    
        }
        Tab {
            title: "Options"
            Page {
                id: page2
                actions: [
                    ActionItem {
                        title: "Edit"
                    },
                    ActionItem {
                        title: "Save"
                    }
                ]
            }
        }
        Tab {
            title: "Help"
            Page {
                id: page3
                actions: [
                    ActionItem {
                        title: "Search"
                    },
                    ActionItem {
                        title: "Browse"
                    }
                ]
            }
        }
    
    }
    

    WebView.QML

    import bb.cascades 1.0
    
    Page {
        property alias title: titleBar.title
        property variant chosenItem
        property alias html: ListItemData.html
        property variant weburl
        titleBar: TitleBar {
            id: titleBar
        }
        WebView {
            id: webView
    
        }
    }
    

    Home.Xml

    
        http://www.google.nl"/>
        http://crackberry.com"/>
    
    

    Help, please!

    Thanks in advance, Jeroen

    The fixed.

    More info and code: http://forums.crackberry.com/bb-10-developers-hangout-f276/webview-url-xml-data-808285/

  • Select the XML data

    Dear all,

    Please find a list of the steps done to read the date of conversion of currency by the last final query, that I can be able to obtain the release of the name of the Bank as the Central Bank, but impossible to extract the time, rates, currency of the XML data.

    Please tell us how to solve the problem.

    CREATE TABLE url_tab

    (

    URL_NAME VARCHAR2 (100),

    SYS URL. URIType

    );

    INSERT INTO url_tab VALUES

    ("This is a test URL',

    sys . UriFactory.getUri ("http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml" "")

    );

    INSERT into xml_data_tab select sys.xmltype.createXML (u.url.getClob ()) in u url_tab;

    Select Bank_name, xt1.* from

    XMLTable (XMLNamespaces (default 'http://www.ecb.int/vocabulary/2002-08-01/eurofxref', ))

                                   ' ( http://www.GESMES.org/XML/2002-08-01 ' as "gesmes"),

    ' / / gesmes:Envelope'

    FROM (select * from xml_data_tab)

    columns

    Path of varchar2 (100) Bank_name ' / gesmes:Envelope / gesmes:Sender / gesmes:name',

    outer join left perv_t XMLTYPE PATH "Cube/Cube")

    XMLTable (XMLNamespaces ('http://www.gesmes.org/xml/2002-08-01' as "gesmes"), )

    "/ / Cube/Cube."

    FROM (select * from xml_data_tab)

    COLUMNS

    path of varchar2 (100) of rate_date "@time"

    path varchar2 (100) coin "@currency."

    path of rate varchar2 (100) '@rate') xt1 on 1 = 1

    its work for me

    SQL > with xml_data_tab like)

    2. Select XMLType)

    3'http://www.gesmes.org/xml/2002-08-01' xmlns ="http://www.ecb.int/vocabulary/2002-08-01/eurofxref" >. "

    4 reference rate

    5

    6 the European Central Bank

    7

    8

    9

    10

    11

    12

    13

    14

    15

    16

    17

    18

    19

    20

    21

    22

    23

    24

    25

    26

    27

    28

    29

    30

    31

    32

    33

    34

    35

    36

    37

    38

    39

    40

    41

    42

    43 ') as the double DATA

    44)

    45 select Bank_name, xt1. RATE_DATE, xt2.*

    XMLTable 46 (XMLNamespaces (default 'http://www.ecb.int/vocabulary/2002-08-01/eurofxref',

    47'http://www.gesmes.org/xml/2002-08-01"as"gesmes"),"

    48 ' / / gesmes:Envelope'

    49 FROM (select * from xml_data_tab)

    50 columns

    51 way of varchar2 (100) of Bank_name ' / gesmes:Envelope / gesmes:Sender / gesmes:name',

    52 perv_t XMLTYPE PATH 'Cube'):

    53 left outer join XMLTable (XMLNamespaces (default 'http://www.ecb.int/vocabulary/2002-08-01/eurofxref'),

    54                         '*'

    55 in PASSING (h.perv_t)

    56 COLUMNS

    path of varchar2 (100) 57 rate_date "Cube/@time."

    58 rate_data XMLType path ' / / Cube/Cube ') xt1 on 1 = 1

    59 left outer join XMLTable (XMLNamespaces (default 'http://www.ecb.int/vocabulary/2002-08-01/eurofxref'),

    60 ' / / cube/Cube/Cube. "

    61 FROM (select * from xml_data_tab)

    62 COLUMNS

    path of VARCHAR2 (3) currency 63 "@currency."

    number 64 path "@rate" rate) xt2 on 1 = 1;

    BANK_NAME RATE_DATE HEART RATE

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

    2015 Central Bank European-12-30 US $ 1.0926

    30-12-2015 of the European Central Bank JPY 131.66

    2015 Central Bank European-12-30 BGN 1.9558

    2015 Central Bank European-12-30 CZK 27.029

    30-12-2015 of the European Central Bank DKK 7.4625

    2015 Central Bank European-12-30 GBP.73799

    30-12-2015 of the European Central Bank HUF 313,15

    2015 Central Bank European-12-30 PLN 4.24

    30-12-2015 of the European Central Bank, RON 4.5296

    2015 Central Bank European-12-30 SEK 9.1878

    2015 Central Bank European-12-30 CHF 1.0814

    BANK_NAME RATE_DATE HEART RATE

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

    2015 Central Bank European-12-30 NOK 9.616

    30-12-2015 of the European Central Bank 7.637 HRK

    30-12-2015 of the European Central Bank RUB 79.754

    30-12-2015 of the European Central Bank TRY 3.1837

    2015 Central Bank European-12-30 AUD 1.499

    30-12-2015 of the European Central Bank BRL 4.259

    2015 Central Bank European-12-30 CAD 1.5171

    2015 Central Bank European-12-30 CNY 7.091

    2015 Central Bank European-12-30 HKD 8.4685

    30-12-2015 of the European Central Bank IDR 15081.33

    30-12-2015 of the European Central Bank, ILS 4.2606

    BANK_NAME RATE_DATE HEART RATE

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

    30-12-2015 of the European Central Bank INR 72.535

    30-12-2015 of the European Central Bank 1284.79 KRW

    2015 Central Bank European-12-30. 18.8867 MXN

    30-12-2015 of the European Central Bank MYR 4.6887

    2015 Central Bank European-12-30 NZD 1.5959

    30-12-2015 of the European Central Bank PHP 51.281

    30-12-2015 of the European Central Bank SGD 1.5449

    2015 Central Bank European-12-30 THB 39.334

    30-12-2015 of the European Central Bank ZAR 16.8847

    31 selected lines.

  • The value of XML data

    Hi all

    I am Oracle 11 g

    I have XML data as below

    < lines >

    < line-diff op = 'delete' line-stat = "oos" >

    < host rank = "targ" >

    < name of col = 'GUID' val = "7932504" / >

    < name of col = 'SCRTY_ROLE_ID' val = '1' / >

    < name of col = hex "GGROWHASH" = "o" val = 'ffffffffffffffff' / >

    < / row >

    < / line-diff >

    < line-diff op = 'delete' line-stat = "oos" >

    < host rank = "targ" >

    < name of col = 'GUID' val = "7933046" / >

    < name of col = 'SCRTY_ROLE_ID' val = '1' / >

    < name of col = hex "GGROWHASH" = "o" val = 'ffffffffffffffff' / >

    < / row >

    < / rows >

    Need to extract value and show as below

    OPERATION GUID SCRTY_ROLE_ID

    Remove 7932504 1

    Remove 7933046 1

    Please help on this.

    Appreciate your help.

    Thank you

    We can somewhat simplify the XQuery for @Gaz in Oz:

    WITH data(text) AS
    (SELECT
            '
                
                   
                      
                      
                      
                   
                
                
                   
                      
                      
                      
                   
                
                
                   
                      
                      
                      
                   
                
         '
    FROM dual
    )
    SELECT r.*
       FROM data x,
            XMLTABLE('rows/row-diff'
                    PASSING XMLTYPE(x.text)
                    COLUMNS operation     VARCHAR2(12) PATH '@op',
                            guid          NUMBER       PATH 'row/col[@name="GUID"]/@val',
                            scrty_role_id NUMBER       PATH 'row/col[@name="SCRTY_ROLE_ID"]/@val'
                   ) r
    ;
    
    OPERATION GUID SCRTY_ROLE_ID

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

    delete 7932504 1
    delete 7933046 1
    Update 7933999 1

    3 selected lines.

Maybe you are looking for

  • Why after an update my Norton 360 registry cleaning is a registry key not valid?

    This time was the in update for Adobe Reader, but I saw it with some other updates as well. I noticed this problem in my computer after that microsoft has passed to outlool.com. From there, I started to get the registry changes any time I open micros

  • Cannot install Final Cut Studio under Snow Leopard

    I get the following warning when you try to install Final Cut Studio (version 3.0): ' - Final Cut Studio Installer requires that your system has 128 MB of VRAM; This system has only 0 MB of VRAM.' and ' - Final Cut Studio Installer requires that your

  • Intel dual band wireless-ac 7260 Compatability

    I just bought a new HP Pavilion and want to upgrade the wireless LAN card. It of a great PC and has an i7 Intel Core 4 Gen and so far works fine when connected to my LAN via Cat6. I'm having issues pulling large CAD files and in looking over the repa

  • Windows recognize 3 GB instead of 4 GB in Satellite A100-451

    Recently, I bought 2 memory modules (DDR2 SDRAM SODIMM 667 Mhz 2 GB each) and put them in my laptop(Satellite A100-451 reference: PSAARE-04501SEN) But Windows and laptop say Everest has only 3 GB of memory total.Memory modules have been checked in HP

  • I have a problem with Windows XP to display upward as not authentic.

    I have xp pro and use it for years, I now get a legal copy not on my screen. I went in what I thought was the microsoft support and they tried to charge me $250.00 to fix my problems according to a scan. It was really omnitech support. Can anyone hel