XML

Posted:
Fri May 06, 2022 5:55 am
by PeterZ
Hello,
I have a dynamic XML file where file names are added, I want Hazel to check this XML, and if the name matches the file name, it will take action on it.
How can I do that?
Any data from the MySql database.
Well thank you.
Re: XML

Posted:
Fri May 06, 2022 9:20 am
by Mr_Noodle
It depends. Can you post a sample from the xml?
Re: XML

Posted:
Fri May 06, 2022 9:59 am
by PeterZ
I tested it with this sample XML
https://www.w3schools.com/xml/simple.xmlThis contains the file name in the
<name> French Toast </name> tag
The file name in the watched folder is
French Toast.jpgI applied the rule:

The XML will change and I need to move the file from the watched folder if its name appears in the XML
Thanks for help
Re: XML

Posted:
Mon May 09, 2022 9:20 am
by Mr_Noodle
Oh, you want to use XML for the list feature. That isn't support. It needs to be a flat list with a consistent separator between items.