09-18-2018 01:08 AM
Hi all,
I need to read the XML file and sort the content in that. but initially, I had a problem with the reading itself.
the error stating that file was empty. but the file has a content .
I read ( opened ) the content and verified using the MS access database.
expecting your ideas
09-18-2018 02:00 AM
audit date.vi is empty
09-18-2018 04:06 AM
Hi artem ,
pls find the attachment .
from the XML file, i need to extract the first column ( date ) and sort.
09-18-2018 04:39 AM
You can't read no-LV xml by LV-reader.
Do it manual
09-18-2018 06:01 AM
@Artem.SPb wrote:
You can't read no-LV xml by LV-reader.
Do it manual
although "parse XML fragments.vi" does take some amount of time to execute,
using "parse XML fragments" on "audit.xml" from the zip-file results in the following:
09-18-2018 01:36 PM
Hi artem ,
i am new to this domain .and expecting the guidelines
pls attach the vi file
More over ParseXML fragments.vi is available under which palette ? i dint have it
i opened by MS access database. for sample just see the format of the file . ( find attachment)
i need to sort the date ( first column ) . For that ? is it possible ?
09-19-2018 03:07 AM
Place Read From XML file.vi on BD and open it. You'll find how it works.
ParseXML fragments.vi is part of BD, I've taken it from here, not from menu.
My image is snippet, so you can save it and drag on your BD.
09-20-2018 02:00 AM
Thanks artem ,
but the vi taking so much time to list out the output . what was the reason and how to avoid this ?
09-20-2018 02:35 AM - edited 09-20-2018 02:36 AM
I think you can't avoid long waiting.
You source file too big for fast working.
If you need work with file many times, better resave it in binary format or into DB
09-20-2018 02:43 AM
If you really need to reduce your execution time [You need to develop your own LV code by invoking MSXML] which will reduce your execution time.