Navigate trough different 'levels' in the XML file from the known item?

I am quite new to this, so I have to ask even if it's a stupid question...

I am trying to build a generic oracle procedure that can insert data into a table from a file XML so that message that it contains, but of course the messages has the same structure.

I need to find the first item after data, in this case "CUS_ORD_HEAD", but it could be any message as PO_HEAD.
So I need to somehow find the element without knowledge is the name of the element. It goes same for CUS_ORD_LINE that might be PO_LINE. Is it possible to navigate through the different 'levels' in the XML file from a known element.

< CustomerOrder >
< metadata >
< TransActionIdentity > 1 < / TransActionIdentity >
< / metadata >
< data >
< Client CUS_ORD_HEAD = 'ABC' CustomerOrderNumber '1234' = >
< CUS_ORD_LINE CustomerOrderNumber = "1234" OrderedQuantity = "10" ProductNumber = "1001403" CustomerOrderLinePosition = "1" / >
< HAPI_CUS_ORD_LINE CustomerOrderNumber = "1234" OrderedQuantity = "1" ProductNumber = "2530" CustomerOrderLinePosition = "2" / >
< CUS_ORD_LINE_TEXT CustomerOrderLinePosition = '2' Text = "Test" CUSTOMERORDERNUMBER = "1234" / >
< / HAPI_CUS_ORD_HEAD >
< / data >
< / CustomerOrder >

the tablename parameter is identical to the XML element and attributes are the same as the columns

OK, understood.

You can retrieve the name of the element and attribute names in the same time by using something like the following.
Attribute names are stored in a collection that is accessible iteratively in order to build the dynamic parts of the query:

SQL> CREATE OR REPLACE TYPE TColumnList IS TABLE OF VARCHAR2(30);
  2  /

Type created

SQL> set serveroutput on
SQL>
SQL> DECLARE
  2
  3   xmldoc   xmltype := xmltype('
  4  
  5  
  6  1
  7  
  8  
  9  
 10  
 11  
 12  
 13  
 14  
 15  
 16  
 17  ');
 18
 19   --t_column_list TColumnList := TColumnList();
 20   --v_table_name  VARCHAR2(30);
 21
 22   tmp_cols      VARCHAR2(1000);
 23   tmp_paths     VARCHAR2(1000);
 24   tmp_qry       VARCHAR2(4000);
 25
 26  BEGIN
 27
 28    FOR r IN (
 29      SELECT table_name
 30           , set(cast(collect(column_name) as TColumnList)) as column_list
 31      FROM XMLTable(
 32           'for $i in /CustomerOrder/Data/descendant::*
 33              , $j in $i/attribute::*
 34            return element e
 35            {
 36              element TABLE_NAME {name($i)}
 37            , element COLUMN_NAME {name($j)}
 38            }'
 39            passing xmldoc
 40            columns
 41              table_name   varchar2(30)
 42            , column_name  varchar2(30)
 43           )
 44      GROUP BY table_name
 45    )
 46    LOOP
 47
 48      tmp_cols := NULL;
 49      tmp_paths := NULL;
 50
 51      --dbms_output.put_line(r.table_name);
 52
 53      FOR i in 1 .. r.column_list.count LOOP
 54
 55        tmp_cols := tmp_cols || ', ' || r.column_list(i);
 56        tmp_paths := tmp_paths || ', ' || r.column_list(i) || ' varchar2(35) path ''@' || r.column_list(i) || '''';
 57
 58      END LOOP;
 59
 60      tmp_cols := ltrim(tmp_cols, ', ');
 61      tmp_paths := ltrim(tmp_paths, ', ');
 62
 63      tmp_qry := 'INSERT INTO ' || r.table_name || ' (' || tmp_cols || ') ' ||
 64                 'SELECT ' || tmp_cols ||
 65                 ' FROM XMLTable(''/CustomerOrder/Data/descendant::' || r.table_name || '''' ||
 66                 ' PASSING :1 ' ||
 67                 'COLUMNS ' || tmp_paths ||
 68                 ')';
 69
 70      dbms_output.put_line(tmp_qry);
 71
 72    END LOOP;
 73
 74  END;
 75  /

INSERT INTO CUS_ORD_HEAD (CustomerOrderNumber, Customer) SELECT CustomerOrderNumber, Customer FROM XMLTable('/CustomerOrder/Data/descendant::CUS_ORD_HEAD' PASSING :1 COLUMNS CustomerOrderNumber varchar2(35) path '@CustomerOrderNumber', Customer varchar2(35) path '@Customer')
INSERT INTO CUS_ORD_LINE (CustomerOrderNumber, OrderedQuantity, ProductNumber, CustomerOrderLinePosition) SELECT CustomerOrderNumber, OrderedQuantity, ProductNumber, CustomerOrderLinePosition FROM XMLTable('/CustomerOrder/Data/descendant::CUS_ORD_LINE' PASSING :1 COLUMNS CustomerOrderNumber varchar2(35) path '@CustomerOrderNumber', OrderedQuantity varchar2(35) path '@OrderedQuantity', ProductNumber varchar2(35) path '@ProductNumber', CustomerOrderLinePosition varchar2(35) path '@CustomerOrderLinePosition')
INSERT INTO CUS_ORD_LINE_TEXT (CUSTOMERORDERNUMBER, Text, CustomerOrderLinePosition) SELECT CUSTOMERORDERNUMBER, Text, CustomerOrderLinePosition FROM XMLTable('/CustomerOrder/Data/descendant::CUS_ORD_LINE_TEXT' PASSING :1 COLUMNS CUSTOMERORDERNUMBER varchar2(35) path '@CUSTOMERORDERNUMBER', Text varchar2(35) path '@Text', CustomerOrderLinePosition varchar2(35) path '@CustomerOrderLinePosition')

PL/SQL procedure successfully completed
 

Tags: Oracle Development

Similar Questions

  • Cannot load the local xml file from swf

    Hello!

    I have next construction

    (1) in ai3r app to load the SWF by HTMLLoader

    (2) I'm trying to load local xml file in swf. No error and no results.

    Application of AIR-> SWF-> load xml

    When I load xml file site, everything is ok, but when I load just from local file , nothing happens

    and when I load the local file with swf but everything is ok in the browser (firefox)

    for loading xml in a I use the following path: file:///folder_name/xml_file_name.xml

    Help me please!

    Did you write the SWF?  Some sovereign wealth funds will remove errors.

    Why use HTMLLoader?  Who can load it with different security rules.  Content browser often cannot access local content.

  • I NEED SOMEONE FOR ME THROUGH NAVIGATE TO DIFFERENT THINGS ON THE COMPOUTOR

    I need help I want to learn different things about the compoutor and I can't understand them. I want to how to activate the free navagation slider

    Hi Reginagaddis

     

    Welcome to the community Microsoft and thanks for posting the question.

    According to the description, it seems you are trying to find the knowledge for the Windows XP operating system.

    Navigation are what cursor you referring?

    I suggest you to consult the following Microsoft article and check if it helps.

    6 tips for Windows: http://www.microsoft.com/athome/setup/windowstricks.aspx#fbid=ZvqnnmVgCT0

    Windows XP frequently asked Questions: http://support.microsoft.com/gp/winxpfaq

    If you need Windows guru, do not hesitate to post your questions and we will be happy to help you.

  • Need help to read the xml file and place it in a table.

    Nice day!

    Here is the configuration. I have a xml file from another source which will call a stored procedure in my database (which I am supposed to create). This is a first for me, I've never done development pl/sql or worked with xml. :(

    That's what I hoped to accomplish, if there is a better way, that I am open to him.
    In short, to have a stored procedure that takes the xml file (transmitted by third parties via the call, no url must be a file), creates a temporary table and populates the two columns needed. Then, the SP will make a select join with the temporary table and other data available in another schema. Once the completed table selection will be truncated and dropped. SP farm.

    Details:
    DB: Oracle 11.2.0.1 RAC.
    Charset: AL32UTF8
    Example of XML: (nearly 10,000 lines like this in production)
    "< MerchantID report =" "#" name = 'Conversion detail report' ReportStartDate = '2011-09-27 12:00:00GMT' ReportEndDate = '2011-09-27 21:38:13GMT"Version ="1.1"> < Conversion = '1234567891234567 D' MerchantReferenceNumber Convertingdate =" 2011-09-27 13:39:02 "RequestID ="1234567891234567891234"> < OriginalDecision > REVIEW < / OriginalDecision > < NewDecision > ACCEPT < / NewDecision > < Reviewer > testusr < / examiner > < ReviewerComments > no reason to reject. < / ReviewerComments > < Notes > < Note Date = "2011-09-27 13:39:02" AddedBy = "testusr" comment = "Took possession" / > < / Notes > < queue > Digital Review < / queue > < profile > Digital orders QA < / profile > < / Conversion > "
    ...
    < / report >

    What I tried.
    I found a tutorial: http://it.toolbox.com/blogs/oracle-guide/oracle-and-xml-in-action-a-real-world-example-5319 I tried and was able to make it work. But I could not duplicate the results with my xml file. So I looked away and have had no success. :( I'm not a developer, so I'm really bad...

    I found a note of support: (how to load an XML file into a Database Table using DBMS_XMLSave unaided Bfile [227476.1 ID]) and couldn't make it work.

    I found some online then Odie son xml and tried these but slipped and couldn't get my versions of these great answers to work for me.

    Then... I'm here now and hoping that someone could walk me through this.


    I tinkered this SP (it doesn't have to be that way, the suggestions are greatly appreciated)

    create or replace procedure xml_to_table (call_1 call_2) as

    Start
    run immediately "CREATE GLOBAL TEMPORARY TABLE XMLType IMRPT
    --(clé primaire contrainte-imrpt_pk (MerchantReferenceNumber))
    XmlType store as xml binary basicfile
    -(high compression)
    virtual columns
    (MerchantReferenceNumber as (xmlcast (xmlquery ('/ Conversion/MerchantReferenceNumber ' from object_value content back) as VARCHAR2 (32))))
    , NewDecision as (xmlcast (xmlquery ('/ Conversion/NewDecision ' from object_value content back) as VARCHAR2 (10)))
    )
    -ON COMMIT PRESERVE ROWS

    run immediately 'save xml as a file on the local system?'

    insert into IMRPT (MerchantReferenceNumber, NewDecision)

    run immediately "join select statement.
    run immediately 'truncate table IMRPT.
    run immediately "drop table IMRTP.

    end;
    /

    On my last test, I tried to select just in the xml file using this:

    DECLARE
    indomdoc DBMS_XMLDOM. DOMDocument;
    innode DBMS_XMLDOM. DOMNode;
    myParser DBMS_XMLPARSER.parser;
    buf VARCHAR2 (2000);
    BEGIN
    myParser: = DBMS_XMLPARSER.newParser;

    DBMS_XMLPARSER.setBaseDir (myparser, 'XML_DIR');
    DBMS_XMLPARSER. Parse (myParser, "test.xml");

    indomdoc: = DBMS_XMLPARSER.getDocument (myParser);

    -just to test content
    innode: = DBMS_XMLDOM.makeNode (indomdoc);
    DBMS_XMLDOM.writeToBuffer (innode, buf);
    Dbms_output.put_line (BUF);

    dbms_xmldom.freeDocument (indomdoc);
    dbms_xmlparser.freeParser (myParser);
    END;
    /

    It was another accident and burn.

    Any help would be appreciated.

    Thank you

    Like I said:

    Here is an example using a REF CURSOR variable ( you will need to declare a plus for your actual procedure )

    Your procedure has two parameters, you must declare two variables to hold the two REF CURSOR ;)

    DECLARE
    
      v_filename      VARCHAR2(50) := 'DMReport.xml';
      v_rc1            SYS_REFCURSOR;
      v_rc2            SYS_REFCURSOR;
    
      v_order_name       VARCHAR2(100);
      v_reason_text      VARCHAR2(100);
    
    BEGIN
    
      xml2table(v_filename, v_rc1, v_rc2);
    
      commit;
    
      loop
        fetch v_rc1 into v_order_name;
        exit when v_rc1%notfound;
        dbms_output.put_line('ORDER_NAME='||v_order_name);
      end loop;
    
      close v_rc1;
    
      loop
        fetch v_rc2 into v_order_name, v_reason_text;
        exit when v_rc2%notfound;
        dbms_output.put_line('ORDER_NAME='||v_order_name||', REASON_TEXT='||v_reason_text);
      end loop;
    
      close v_rc2;
    
    END;
    /
    

    If you test this in SQL * Plus, do not forget to SET SERVEROUTPUT ON to see the result.

  • Generate the XML FILE OF APEX

    Hello

    I want to generate an XML file from APEX when one click on the button as an example below
    and all the "BOLD" number I want to receive them as parameters.

    <? XML version = "1.0" standalone = 'no '? >
    <! DOCTYPE tags SYSTEM "label.dtd" >
    < labels _FORMAT = "1" >
    < _QUANTITY label = "" * 5 * ">"
    < variable name = "PARAMPRICE" > * 12.99* < / variable >
    < variable name = "NEWPRICE" > * 9.99* < / variable >
    < variable name = "SKU" > * 12345 * < / variable >
    < variable name = "COLOR" > * 010 * < / variable >
    < / label >
    < / Label >


    Thank you
    Jade

    Edited by: Jade04 May 21, 2009 12:21

    Jade:

    The steps are

    Create page 1 with a region with so many elements you want settings
    Create a button on page 1 that submits the page and branches to page 2
    Page 2 create one page with the following code processes before

    declare
    v_file_name   VARCHAR2 (2000) := 'Xmlfile.xml';
    begin
    OWA_UTIL.mime_header ('application/txt', FALSE);
    htp.p('Content-Disposition:attachment;filename="'|| v_file_name|| '"');
    OWA_UTIL.http_header_close;
    htp.p('
    
    
    
    
    
    ');
    apex_application.g_unrecoverable_error:=true;
    exception when others then
    null;
    end;
    

    CITY

  • When I use the socks proxy in firefox, I can travel only and can not download any file from the internet.

    When I use the socks proxy in firefox, I can only navigate through internet and cannot download any file from the internet.

    I have no problem when using HTTP proxy servers and have no problem managing which connection to internet without proxy.

    I found this problem due to the integration of the browser evolved in the idm software, and when I turn this option off in idm problem will be solved

  • Access restriction configuration network devices with the level of the ACS 5.0 user

    Hi Experts,

    I have some configuration tasks TACAC with level of different user for all routers and switches,

    To further develop, I engineer, analyst and site engineers, so I want to configure centralized authentication with Annie tacac different levels for the various categories of network engg. Analyst, site engineer,

    can someone explain about how to proceed with ACS 5.2 and what configuration is required at the peripheral level.

    I'm particularly looking for the 5.2 acs configuration procedure.

    Looking forward to get the answer.

    http://www.Cisco.com/en/us/docs/net_mgmt/cisco_secure_access_control_system/5.2/user/guide/policy_mod.html#wp1076053

    In "default device admin" just create authorization rules.

    They should look like "If the user/group type = site engineer, then assign the shell profile X.

    You then define the profile of shell in the elements of policy and put in there all the privileges of your engineer to site.

    And so on for the other roles

  • java.io.FileNotFoundException for newly created XML file

    Hello

    I created an xml file called config.xml under public_html\WEB-INF.

    When I tried to read this xml from the java class file, I make
    java.io.FileNotFoundException: public_html\WEB-INF\config.xml
     (The system cannot find the path specified.)
    My version of Jdev is
    10.1.3.04
    How can I solve this? What is the correct path to call my newly created xml file from anywhere in the project is java JSP?

    Concerning

    Published by: Chackochen on August 2, 2010 01:48

    Published by: Chackochen on August 2, 2010 01:58

    Hi Chackochen,

    Try this and see...

    FacesContext context = JSFUtils.getFacesContext ();
    ServletContext servletContext = (ServletContext) context.getExternalContext () .getContext ();
    Path String = servletContext.getRealPath("/WEB-INF/config.xml");
    = New File (path);

    Kind regards
    Suganth.G

  • Can I use BI Publisher integrated with EBS to treat my own xml file?

    Thank you for your help in advance.
    Our company has several need to convert a related xml files, xml files come not directly from the EBS and we EBS 11i version of BI publisher is integrated 5.6.3 in EBS. Is there anyway that we can leave the BEEP integrated to convert the xml into PDF/RTF format?

    -Bill

    License issues aside, yes you can. As long as the files are accessible.
    you could build a competing program of java which picks up the XML files from a location (file/web), and then calls the appropriate XMLP API function to process the document with a template (this can be stored in the model or the Disk Manager) to generate the output.
    Simultaneous java program is the key to leave the concurrent Manager processes the request and handle the output. For more information on check-PCE, link: link: [http://blogs.oracle.com/xmlpublisher/2007/05/howto_java_concurrent_programs.html]
    You can also search metalink for more examples.

    To return to the authorization, if the data comes from the EBS schema delivered, are you in the terms of the license. If this isn't the case, then you should get a full license of Publisher.

    Tim

  • Write several bays in one xml file at different times without overwriting the old file?

    Hi my name is Dustin,

    I am new to labview and teststand... I try several tables of data in a single XML right. I can do this with a cluster but I need to create a variable for each of these pictures (21 pictures) and I was hoping to use the same variable for each table. Which means that I get my data table write in an xml file and replace this table in this variable with a new table and then call my VI who writes this table in an xml file and write to the same file xml under the first table without crushing. My VI I created to write a table to an xml file is attached. Yet once I wonder if there is a way to write several berries in a single at different times xml file, without overwriting the old file xml.

    Thank you

    Hi dlovell,

    See the attached example. I think he can help you.

    Kind regards
    Nitz

    (Bravo to give good answers, mark it as a Solution If your problem is resolved)

  • backgroundImage to different resolutions in the config.xml file

    each mobile has within the config.xml file and different screen resolutions, we can change the images according to the resolutions like this

    
    

    but in my case, it always uses "StartUpScreen.png".

    what I am doing wrong?

    why it gets correct resolution image?

    I use the Simulator to blackberry 9700 (screen resolution 480 x 360)

    BlackBerry plugin - 2.5.1.2 Webworks... Version

    BlackBerry Webworks SDK plugin - 1.5.1.2. Version

    Version of the OS - 5.0.0.680

    This post is actually tim it would be great IF we had something like that. Unfortunately we do not have

  • Different sound level on the exported audio files?

    Today, I opened Audition, created a session multitrack with sampling frequency 44100KHz, 2 channels (stereo) and 32-bit depth.

    I tried to merge a part of a song with the rest of another song, but I realized that the hearing has a low sound level as Windows Media Player or any other media player.

    I looked for any configuration that could make WMP change the original sound, but he did play the song with the original sound level

    If I have the low sound of hearing was something that wouldn't stay in the exported file.

    But he did! And it was always like that, not just today.

    What should I do?

    It is not entirely clear as to where is your lower level, but if you're talking about level hearing on the mixing being 3dB lower than what happens when you play multitrack, then the answer is simple - you need to reset the pan law-3dB center left/right cut (logarithmic) - this option is in the preferences > multitrack at the top of the pane. This will give you the same level on a file drop-down mixed or exported as you see on the screen.

    But if you talk of levels of listening about, then it is very difficult to make useful comparisons to all levels of output. WMP and hearing use drivers and completely different engines, to the sounds of Windows via the Windows mixer - which changes even when reading levels. Hearing, if it goes directly to an audio device via an ASIO driver, don't get disturbed by the operating system in the slightest (that is the idea...), but if she gets plugged into the operating system for the output, then once more, the level can be changed through the Windows mixer.

    But in the final analysis, it's not really important. Hearing files can be standardized so that the peaks are just below 0 dBFS, and if you do that, they will play correctly on any other player. If they seem to be more silent, it will be because of the overall volume of the file, and it is a decision of mix - nothing to do with the format of file at all. And this is often a problem with the mixture of two songs from different sources together - if it is been compressed a lot to make it sound louder and the other does not, while the levels will never match perfectly to the join, whatever you do. Your only recourse here would be to compress the most calm one more to match the first - but that 's going to change the sound, probably in ways you might not like.

    So, quite a lot of options, really.

  • 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

    }

    }

    }

  • The index.xml file required is missing. Cannot open documents. 10.10.5 sys

    The index.xml file required is missing. Cannot open documents. 10.10.5 sys

    You have two versions of installed Pages, where the Pages ' 09 document format use it internal document index.xml, and all Pages v5 releases use a different document format that does not incorporate the index.xml file. If you have Pages ' 09 running without window, and double-click a v5 document Pages, you will get a Pages ' 09 dialog box indicating that the index.xml file is missing.

    Exit Pages ' 09 and then double click on the document to open correctly in your version of v5 Pages.

  • 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

Maybe you are looking for

  • Are superposition of the images on the website. I do not get own page as I do in Explorer.

    I have a site I visit (codingcertification.org). When I go to the forum now page is all messed up. This started about 6 or 7 days ago. Now when the page loads, it is as if it were in diapers. Instead of the forum containing the side left of the page

  • Deleting FTP

    Hello! I chose to use ftp to transfer files between a compact RIO and a Windows 7 Pro customer.  Windows client software is developed in 2012 of LabVIEW.  The ftp "embedded," VI perform open, connection, put, get, and list.  I understand that there i

  • If its really bad for the uninitialized value register offset

    Hi all! Just two questions short and probably fictitious, hoping u pls answer it and thx a lot! 1. is it really not good to offset a record without initializing it? What will be the result? Since then, I've read fr a lot of books and they all said th

  • Windows Photo Gallery saves the image as a bitmap instead of jpeg

    each picture is saved bitmap bmp instead of jpeg three days now library saved all my images as bmp bitmap without title instead of jpeg as it uses to.how do save it as jpeg?

  • PlayBook and SQLite

    Can someone tell me please in the right direction?  I'm looking for the samle on creating a WebWorks for the PlayBook application using SQLite.  I can't find much info.  I would like to bind a control lixtbox to a sql result set.  Can you get it some