Getting data from several XML files

Could someone please shed some light on the best way to read several external xml files through Flex? We haveabout 100 xml files (of which few are accessible by users).
I tried to implement the following generic function which takes a file name, but when debugging it, it seems that the Manager never gets call after executing the line of service.send ()! I would much appreciate your help!

public void fetchFileContent(fileName:String):void {//this method is called when you click on a button
var service: HTTPService = new HTTPService();
service. URL = "filePath /" + file name;
service.useProxy = false;
service.resultFormat = 'e4x ';
service.addEventListener ("result", fileRetrievalHandler)
service. Send();
}

public void fileRetrievalHandler(evnt:ResultEvent):void {}
fileContent = evnt.result.feed; This line is never executed
}

"miglara" wrote in message
News:glhase$5sr$1@forums. Macromedia.com...
> Could someone please shed some light on the best way to read more
> external xml files through Flex? We haveabout 100 xml files (of
> who
(> only little is accessed randomly by users).
> I tried to implement the following generic function which takes a
> filename
> but when debugging it, it seems that the Manager never gets call after
> executing the line of service.send ()! I would much appreciate your help!
>
> public void fetchFileContent(fileName:String):void {//this method is
> called by clicking on a button
> var service: HTTPService = new HTTPService();
> service.url = ' filePath / "+ file name;
> service.useProxy = false;
> service.resultFormat = 'e4x ';
> service.addEventListener ("result", fileRetrievalHandler)
> service.send ();
> }
>
> public void fileRetrievalHandler(evnt:ResultEvent):void {}
> fileContent = evnt.result.feed; This line is never executed
> }

Try to add a fault handler and see if that goes off. Also, since you are
use HTTPService rather than URLLoader, you should know that this will probably not
already worked for your development environment, unless you have either changed the
Directory of output to go on the server or you have changed some compiler flags
to allow you to get local and access to the network at the same time. That's why
I always use URLLoader to load XML files to relative path... it just
works without my need to change anything.

Tags: Flex

Similar Questions

  • Extract data from an xml file takes almost an hour to 2.5 M data.

    Hello

    Any help would be much appreciated. Extract data from an xml file takes almost an hour to 2.5 M. data is there a solution to this.

    WITH t AS
    (SELECT XMLTYPE (response) pass FROM dual
    )
    SELECT
    b.entity_id,
    c.INSTANCE_ID,
    d.attribute_id,
    d.DATA_TYPE,
    d.ATTRIBUTE_VALUE,
    d.outcome_style
    T,.
    XMLTABLE (XMLNamespaces ("http://schemas.xmlsoap.org/soap/envelope/" AS "SOAP-ENV"
    'http://oracle.com/determinations/server/10.3/rulebase/assess/types' AS 'type')
    , ' SOAP - ENV:Envelope / SOAP - ENV:Body / typ: assess-response/typ: global instance / typ:entity'
    PASSAGE t.col
    Path of COLUMNS entity_id VARCHAR2 (256) "@id".
    path XMLTYPE res_tmp2 'typ:instance') b
    xmltable (XMLNamespaces ("http://schemas.xmlsoap.org/soap/envelope/" AS "SOAP-ENV"
    'http://oracle.com/determinations/server/10.3/rulebase/assess/types' AS 'type')
    , "typ:instance".
    PASSAGE b.res_tmp2
    Path of COLUMNS instance_id VARCHAR2 (256) "@id".
    path XMLTYPE res_tmp3 'typ:attribute') c
    xmltable (XMLNamespaces ("http://schemas.xmlsoap.org/soap/envelope/" AS "SOAP-ENV"
    'http://oracle.com/determinations/server/10.3/rulebase/assess/types' AS 'type')
    , "typ:attribute".
    PASSAGE c.res_tmp3
    Path of VARCHAR2 (256) COLUMNS attribute_id '@id '.
    , data_type VARCHAR2 (256) path '@type '.
    , attribute_value VARCHAR2 (256) path '.'
    path VARCHAR2 (256) outcome_style '@inferred') d;

    Thank you
    Mhand

    OK, in this case the best option is to store the answer in a binary table of XMLType (may be a temporary table if you want to) and run the query from there:

    CREATE TABLE tmp_xml OF XMLType
    XMLType STORE AS SECUREFILE BINARY XML -- default storage in your version
    ;
    
    INSERT INTO tmp_xml VALUES(XMLType(response));
    
    SELECT b.entity_id,
           c.instance_id,
           d.attribute_id,
           d.data_type,
           d.attribute_value,
           d.outcome_style
    FROM tmp_xml t,
         XMLTABLE(
           XMLNamespaces('http://schemas.xmlsoap.org/soap/envelope/' AS "SOAP-ENV"
                        , 'http://oracle.com/determinations/server/10.3/rulebase/assess/types' AS "typ")
         , 'SOAP-ENV:Envelope/SOAP-ENV:Body/typ:assess-response/typ:global-instance/typ:entity'
           PASSING t.object_value
           COLUMNS
    ...
    
  • Impossible to analyze data from an xml file

    I try to get the strings from an xml file:

    I tried the following:

    var url: URLRequest = new URLRequest ("blog.xml");

    var xml;
    var rss:URLLoader = new URLLoader();
    RSS. Load (URL);
    rss.addEventListener (Event.COMPLETE, readRss);

    function readRss(e:Event):void {}
    XML = XML (rss.data);
    txt_field. Text = XML. Entry [1]. Author.Name;

    }

    but no result. TypeError: Error #1010:...

    I tried tracing xml and worked well.

    The xml structure seems to be too complex

    var blogList:XMLList = xml.children (); Returns a xml structure more simple but always unsuccessfully in the analysis of the parts of xml as a "title" or "author."

    Any suggestions would be greatly appreciated.

    Thank you

    var url: URLRequest = new URLRequest ("blog.xml");

    var xml;
    var rss:URLLoader = new URLLoader();
    RSS. Load (URL);
    rss.addEventListener (Event.COMPLETE, readRss);

    function readRss(e:Event):void {}
    XML = XML (rss.data);

    var ns:Namespace=xml.namespace();
    txt_field. Text = XML... NS::name [0];

    }

  • Data from the XML file

    Hello

    The attached xml file contains data that I would like to extract. The value of the data has the label (ubchild? name /) of ' means ".". " This can happen a number of times in the file for the names of different children.  for example

    SENS0710:10951:IntSolIrr has the value that

    742.320755

    and

    SMBAU008:154000347:m_S0 kWh has the value that

    227.458679

    and so on...

    The attached vi is very very simple and uses the vi JKI EasyXML to parse the file to a data type of labview.

    This is the point at which I need advice as to the way forward. I have reflected on the variant data, clusters, etc., but can't seem to get anything close to work.

    Someone would be kind enough to give me some tips or tricks to extract these values in a table.

    Thankl you

    Concerning

    Ray

    Hi rayclout,

    I don't have parser Xml JKI vi... But I used the default XML functions and can read the average tag. Please find the screenshot of it.

    Thank you and best regards,

    srikrishnaNF

  • How to get data from an Excel file exist using report generation tools

    I try to use the Excel vi get the data of the report generation tool, but I can't understand how to activate a path can be explored in the right type for the VI.  I tried to use the new Report.vi, but this does not work unless you use a template.  It will not open an existing excel file and make an open report to extract data from.

    Essentially, I have a bunch of excel files that have data in them, and I want a VI allows to analyze the data.  I'm going to pull in all the data directly from the excel file so I don't have to reproscess them all in text so I can use the more standard datasheet live but to convert even the excel file programtically in labview I still need to be able to open the excel file and get the data?

    I found my problem.  It turns out that only not to have had a problem with the tool box new report vi.  I had accidentally wired an input control of path of folder instead of an input control of path of file to it.  Changing the file type took care of her and I was able to access excel files, I tried using the new report VI to extract the file, and Excel Get Data to extract the data.

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

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

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

    IN ln_hl_labor_hrs_on_job

    OF TAV_DC_031A_CLAIM_AUDIT_XML

    WHERE CLAIM_AUDIT_ID = 3799;

    < paymentComponents class = "dΘfinir" >

    < company.domain.claim.payment.PaymentComponent >

    < id > 30310 / < ID >

    < version > 0 < / version >

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

    < id > 6 / < ID >

    < version > 1 < / version >

    Meals from < name > < / name >

    < code > < code > MEALS

    < description > meal < / description >

    < / forCategory >

    < claimedAmount >

    < amount > 0.00 < / amount >

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

    < / claimedAmount >

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

    < company.domain.claim.payment.PaymentComponent >

    < id > 30311 / < ID >

    < version > 0 < / version >

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

    < id > 3 < /ID >

    < version > 1 < / version >

    < name > work < / name >

    < code > < code > WORK

    < description > work < / description >

    < / forCategory >

    < claimedAmount >

    < amount > 217.00 < / amount >

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

    < / claimedAmount >

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

    < company.domain.claim.payment.PaymentComponent >

    < id > < /ID > 30312

    < version > 0 < / version >

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

    < id > 5 / < ID >

    < version > 1 < / version >

    < name > point freight and duty < / name >

    < code > < code > FREIGHT_DUTY

    < description > point freight and duty < / description >

    < / forCategory >

    < claimedAmount >

    < amount > 0.00 < / amount >

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

    < / claimedAmount >

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

    < / paymentComponents >

    Kind regards

    Franck Giri

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

    Hi scripters,.

    I got data ghosts of my XML file by importing.

    In the file XML are 3 times the content of parent 'HALSRIEMEN-GEFL' but I understand not 5 times, I have no idea more and hope someone see the problem.

    My Plan:

    <>products-profdog

    < product >

    < item-id > < / item id >

    < type > < / type >

    < title > < / title >

    < additive > < / addendum >

    < description > < / description >

    < category > < / category >

    > < unit volume < / unit volume >

    < weight > < / weight >

    < match code > < / matchcode >

    < ean number > < / ean-number >

    <>< price-unit / unit price >

    < stock > < / stock >

    < parent > < / parent >

    < active shop > < / active-shop >

    < active catalog > < / active-catalogue >

    < sort > < / sort >

    < / product >

    < product >

    < item-id > < / item id >

    < type > < / type >

    < title > < / title >

    < additive > < / addendum >

    < description > < / description >

    < category > < / category >

    > < unit volume < / unit volume >

    < weight > < / weight >

    < match code > < / matchcode >

    < ean number > < / ean-number >

    <>< price-unit / unit price >

    < stock > < / stock >

    < parent > < / parent >

    < active shop > < / active-shop >

    < active catalog > < / active-catalogue >

    < sort > < / sort >

    < / product >

    < / products-profdog >

    My loop:

    for (i = 0; i < myRootXMLElement.xmlElements.length; i ++) {}

    for (ii = 0; ii < myRootXMLElement.xmlElements.item (i).xmlElements.length; ii ++) {}

    If (myRootXMLElement.xmlElements.item (i).xmlElements.item (ii).markupTag.name == 'parent') {}

    If (myRootXMLElement.xmlElements.item (i).xmlElements.item (ii) .silence == 'HALSRIEMEN-GEFL') {}

    Alert (myRootXMLElement.xmlElements.item (i).xmlElements.item (ii).markupTag.name "->" + myRootXMLElement.xmlElements.item (i).xmlElements.item (ii) .silence);

    }

    }

    }

    }

    I have it.

    There was a bad XML import settings.

    It must be removeUnmatchedExisting = true;

  • Data from the XML file in a large application...


    I don't know what question is asked.  The subject contains XML files and large scale applications, yet the last lines refer to write a Cluster in XML and seems to wonder if the Cluster must be a Global Variable or a TypeDef.

    A 'good idea' general is to create a TypeDef that specifies (or "sets") (almost) each Cluster that you create in LabVIEW.  This serves as a single-point cluster definition.  If you need to make changes, you change the TypeDef and variables based on it change to match.

    I do not understand why the Global Variables and TypeDefs are mentioned in the same sentence.

    Bob Schor

  • Reading the data from the XML file to the SQL Tables.

    I have XML of this type

    < empdept >
    < employees_marks >
    < emp_id > 1 < / emp_id >
    BUS from < DIVISION_ID > < / DIVISION_ID >
    PRE < JOB_ID > < / JOB_ID >
    SMITH of < first-name > < / name >
    JAMES < LAST_NAME > < / LAST_NAME >
    < > 10000 salary < / salary >
    < / employees_marks >

    < dept >
    < dept_details >
    < deptid > 10 < / deptid >
    < deptname > mechanical < / deptname >
    < / dept_details >
    < dept_details >
    < deptid > 20 < / deptid >
    < deptname > civilian < / deptname >
    < / dept_details >
    < dept_details >
    < deptid > 30 < / deptid >
    < deptname > ICE < / deptname >
    < / dept_details >
    < / dept >
    ((< / empdept > '));

    With the above format am able to recover data successfully to relational tables.


    < employees_marks emp_id = 1 DIVISION_ID = BUS JOB_ID = salary PRE = 10000 / >


    < dept_details deptid = 10 deptname = "Mechanical" / >
    < dept_details deptid = 20 deptname = "ECE" / >
    < dept_details deptid = 30 deptname = "EEE" / >

    that is, I have data as attributes rather than elements, if can I know the way how can I reach the requirement.

    How to recover data when it is present as attributes rather than elements.

    Thank you
    Sunil. N
    with temp as (
      select xmltype('') tempxml from dual
    )
     SELECT extractvalue(tempxml,'/employees_marks/@emp_id') empid,
      extractvalue(tempxml,'/employees_marks/@DIVISION_ID') divid ,
      extractvalue(tempxml,'/employees_marks/@JOB_ID') jobid      ,
      extractvalue(tempxml,'/employees_marks/@salary') sal
       FROM temp
    

    Do you need this?

    Ravi Kumar

  • Getting data from several tables

    Hello

    I started a few days working with Oracle TopLink, and since yesterday, I came across a problem that I can not find a solution, so I hope that someone will direct me in the right direction with this one... I'm using the tutorial provided by Oracle [http://www.oracle.com/technology/products/ias/toplink/doc/11110/tutorial/index.htm].

    Assuming I want to get the most effective possible , the following data (* only * these data): first_name_of_employee, last_name_of_employee, number_of_phones_of_employee.
    The Employee and phone tables are involved, table phone has an EMP_ID field that points to the field of the employee EMP_ID. How could I get such data for all employees? The first two pieces of data are pretty easy to get, but get one final turned out to be more difficult than I imagined...

    Any help will be most appreciated.

    Thank you
    Vlad

    You can probably use a ReportQuery and Expressions for this query. In TopLink you can do something you can do in JPQL using Expressions, like our support JPQL uses Expressions. To get the number of phones, you can use a count() on the id of the employee's phone with a groupBy to id of the employee. Get back the name and the name can be tricky depending on your database because I think that you can select return values that groupBy, you might try grouping by first and last name as well.

    that is something like:
    The ExpressionBuilder builder = new ExpressionBuilder();
    Query ReportQuery = new ReportQuery (Builder, Employee.class);
    query.addAttribute ("firstName");
    query.addAttribute ("lastName");
    query.addCount (builder.anyOf("phones").get ("id"));
    query.addGrouping ("id");
    query.addGrouping ("firstName");
    query.addGrouping ("lastName");

    ---
    James: http://www.eclipselink.org

  • 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

  • create table from the XML file at several levels

    Hello

    I'm working on the provision of an app to display xml data, which are currently using data from the settings file where the data was stored in a table.

    CONT =]
    [{txt: 'Perfume'} //main menu]

    [[{txt: 'Top Note', framework: 'topNote'}, {txt: 'Heart notes', frame: "heartNote"}, {txt: frame, 'Note of Base': 'gaps'}] / / submenu]

    ,[
    {txt: 'Packaging', field: 'packaging'} / / main menu

    ]

    ]

    I created an xml file and am able to recover data and impossible to find the same.

    Here's the xml file

    < Products >
    < produces txt = setting "Perfume" = "" > "".
    < = frame 'Top Note' = "topNote" txt file name > < / name of the file >
    < = txt file name ' heart notes"frame ="heartNote"> < / name of the file >
    < file name txt = "Core score" frame = 'gaps' > < / name of the file >
    < / product >
    < produces txt = framework of 'Packaging' = 'packaging' > < / product >
    < produces txt = framework "3D Animation" = "tvAd" video = "true" flvName = "video.flv" w = "547" h = "309" > < / product >
    < product txt framework "advertising Lla' = 'the package' = >
    < name of the txt-file = "Print Ad Creative Pack" frame = "printCp" > < / name of the file >
    < / product >
    < / product >

    AS A CODE

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

    (GlobalVarContainer.myXML is the place where is stored the xml file)

    var node:XMLNode = GlobalVarContainer.myXML.firstChild;
    var navItm:int = int (node.childNodes.length);
    for (i = 0; i < wheel; i ++) {}

    var temp_array:Array = new Array();
    var subnavCount:int = int (node.childNodes [i].childNodes.length);     subnav
    var obj:Object = new Object();
    obj.txt = node.childNodes [i] .attributes ['txt ""]
    obj. Frame = node.childNodes [i] .attributes ["frame" "]
    trace (node.childNodes [i]. Attributes ['txt'])

    for (var j: int = 0; j < subnavCount; j ++)
    {
    trace (node.childNodes [i] Sublst.ChildNodes(1).ChildNodes(0) [j]. Attributes ['txt'])
    obj.subtxt = node.childNodes [i] Sublst.ChildNodes(1).ChildNodes(0) [j]. Attributes ['txt'];
    obj. Subframe = node.childNodes [i] Sublst.ChildNodes(1).ChildNodes(0) [j]. Attributes ['frame'];
    temp_array.push (obj);
    }
    GlobalVarContainer.my_array.push (temp_array);

    }

    If I add - trace (GlobalVarContainer.my_array); -to code the outout is

    [object Object], [object Object], [object Object]
    [object Object], [object Object], [object Object],.
    [object Object], [object Object], [object Object],.
    [object Object], [object Object], [object Object], [object Object]

    but trace (.txt [i] GlobalVarContainer.my_array + "array"); or trace (GlobalVarContainer.my_array [i] [0] .txt + "array"); no results.

    need advice to move forward from here.

    Thank you

    AYUSH

    What I meant is that if you load the XML e4x, you have to analyze in a table to use it. You can retrieve the syntax of e4x XMLList and use it directly in your code. You can treat the XMLList almost as you treat any array using a for each loop for example.

    Take the code below as an example and adapt it to your needs:

    var mainMenu:XMLList = this.testXML.menu;

    for each {var menu: XML (in mainMenu)}

    trace ("Menu:" + menu.@txt);

    You can use your logic to create menu main point here

    var mynavItem:Navitem = new Navitem (0, spatie * i, GlobalVarContainer.my_array [i] [0], [i, 0], false, true);

    this.holder.addChild (mynavItem); ABLE TO VIEW THE MAIN MENU

    var items: XMLList = menu.children ();

    If (items.length () > 0) {}

    for each {var point: XML (in the points)}

    trace ("point:" + item.@txt);

    Logic of creation of subitem here

    var mySubnavItem:Navitem = new Navitem (dash, spatie * (i + 1 + j), GlobalVarContainer.my_array [i] [2], [i, j], true);

    this.holder.addChild (mySubnavItem);        DISPLAYS ONLY THE LAST ENTRY IN THE SUBMENU

    }

    }

    }

  • How to get data from one or several times of perticuler dates

    (1) how can we get data from one or more dates perticuler.
    for example. date of 01/01/2011 and time is 00:00:00 to 23:59:59

    and

    (2) how can we get data from one or more dates perticuler.
    from date 01/01/2011 to 01/02/2011 date and time e.g. is from 00:00:00 to 23:59:59.

    can we?

    Hello

    Use a WHERE clause to include only certain lines.
    For example:

    SELECT     *
    FROM     table_x
    WHERE     dt     BETWEEN TO_DATE ( '01/01/2011 00:00:00'
                        , 'DD/MM/YYYY HH24:MI:SS'
                        )
              AND     TO_DATE ( '01/01/2011 23:59:59'
                        , 'DD/MM/YYYY HH24:MI:SS'
                        )
    ;
    

    In this example, the first date (before the keyword AND) and second (after the keyword AND) lie on the same calendar day. It's just a coincidence, they can be on different dates.
    The first date must not be later than the date of the second; If this is the case, you will get 0 found lines.

    I hope that answers your question.
    If not, post a small example of data (CREATE TABLE and only relevant columns, INSERT statements) for all tables and also post the results desired from these data.
    Explain, using specific examples, how you get these results from these data.
    Always tell what version of Oracle you are using.

  • Save user data in an XML file

    Hello

    In my application, I want the user to be able to generate content (in a TextField or TextArea), then save it somehow and be able to view the next time it opens the application. I know how to display data that is stored in an XML file and I know how to get a string to a TextField or TextArea. Is there a way to store these data in a XML file and therefore also change the size of the XML file?

    The XML file looks like this:


        
            
            
            
            
        

    I want to thank this file as it has more data in a collection and there more collections as well. Is it possible to do in QML?

    If there are other technologies that are easy to learn (I'm not good at C++ so please suggest something which is usable with QML) and more sense in my case please let me know.

    Concerning

    JSON is another option if you are just writing data on when you're done and read in when you start again. It really depends on what exactly your usecase.

    SQL is very good to change your database on the fly. QSettings is good for small pieces of configuration data (mute Audio setting, things like that.)

    JSON is good for something to read that you just read or write once. You won't be build and write a JSON file, whenever you change data.

    XML is in the same boat as JSON, except that it is more difficult to work with in most of the cases (which is an element, and what is an attribute?). I really wouldn't recommend it unless you get the XML from somewhere else or if you really need the power and flexibility, it provides (you don't almost certainly)

  • With the help of several xml files to complete the 1 form.

    Hi all

    Thank you for reading this.

    My scenario is that I have a form which is the inspection report for a product.

    Once the technician has completed its inspection they fill out the form and send it (which saves the form as xml data in a specific folder on our network.

    Now 1 customer may have up to 10 items to be inspected on a single order. What I have to do is to create a customer report showing them the necessary work on their items.

    Basically, I need to be able to import up to 10 xml files of inspection report in 1 report form.

    I was looking for this with the authorities, but I'm wrong.

    I can get 1 data file imported by using xfa.host.importdata("filename")

    but this method seems to reset the form after the first call to the second instance of the form in the form of report receives all the data. (if this makes no sense at all)

    How can I configure my report form so I can fill different instances of the subform from different xml files?

    that is my xml files names are formatted with call number and line number, e.g. 42E11134 - 5.xml would call no. 42E11134 line 5.

    the folder on the network would have to be 42E11134-10 42E11134-1 (not superior because we cap the maximum points on the same order)

    I need to figurentsur instance subform 1, 42E11134-5 42E11134-1 data displayed on the subform instance 5 etc etc and also recognition of the number of necessary instances (but this could be selected by the user).

    If the authorities do not work I am happy to have 10 separate subforms with different names, but must exist within a single form.

    You can only import a single XML file. You have an xml file that has multiple instances of data, but it must be a single xml file.

    So you should find a way to combine all these into a single xml files then do the import.

    Paul

Maybe you are looking for

  • I have an empty box on my bookmarks toolbar, I can't get rid of that.

    As of today, I have an empty box on my personal bar that I can't get out. It comes after the > > icon where I see more bookmarks, but it is related to the bookmarks toolbar that it disappears when I uncheck this bar. I tried to customize, and I can't

  • Audio drivers

    Hello!I'm under win xp professional and I don't have driver sound. Can someone help me please?http://h20000.www2.HP.com/bizsupport/TechSupport/document.jsp?objectID=c00796351 & lang = to & CC = US & taskI...(This is all specifications of May)Please d

  • Qosmio G40: Can I use the infrared receiver SMSCIR with other devices?

    My Qosmio G40 was a "SMSCIR infrared receiver" to be used by the remote controller. I wonder if it is possible to use this receiver with other software. For my non polar, I need an infrared receiver to send data from the watch to the laptop. On my ol

  • I forgot password welcome screen xp

    original title: POSSIBLE to FIND WELCOME WINXP SP2 LOST PASSWORD? IVE FORGOT SCREENPASSWORD WELCOME TO OEM XP SP2 WITHOUT DISC. ALL SUGGEST?

  • Copy of precision

    I just installed Photoshop elements 14I'm trying to copy from a picture and paste it in another. The problem I have is that I can't align the part copy precisely.ex: if I copy a line of text and copy it, the line may not be aligned properlyin the tex