Populate variable from XML file
Posted: Thu Feb 22, 2018 12:53 pm
Hi Steipal,
First of all, thank you for your hard work on your software, it's very helpful for me everyday !
I'm trying to populate a variable from a XML file that come with the video file and I can't figure this out. Here's is the string I've used :
$stripws($between("%s_original_name%.evs.xml", "<XT_IN_TC_str>", "</XT_IN_TC_str>"))
When I use a external file, I can't seem to get it working.
If I put the content of the XML file in the string like this :
$stripws($between("<XT_IN_TC_str>01:00:00;00 </XT_IN_TC_str>", "<XT_IN_TC_str>", "</XT_IN_TC_str>"))
It work great.
I've also tried to put the path directly in the string, but I can't seem to make it work.
When you have a chance, if you could help me on this one,
Thanks again !
First of all, thank you for your hard work on your software, it's very helpful for me everyday !
I'm trying to populate a variable from a XML file that come with the video file and I can't figure this out. Here's is the string I've used :
$stripws($between("%s_original_name%.evs.xml", "<XT_IN_TC_str>", "</XT_IN_TC_str>"))
When I use a external file, I can't seem to get it working.
If I put the content of the XML file in the string like this :
$stripws($between("<XT_IN_TC_str>01:00:00;00 </XT_IN_TC_str>", "<XT_IN_TC_str>", "</XT_IN_TC_str>"))
It work great.
I've also tried to put the path directly in the string, but I can't seem to make it work.
When you have a chance, if you could help me on this one,
Thanks again !