Page 1 of 1

XML

PostPosted: 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

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

Re: XML

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

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

PostPosted: 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.