08-19-2018, 09:43 PM
Hello everyone, I often use text editing software (EmEditor) modify the file of plist type.
I think the plist file is actually an xml file. In the help of QM, I saw that qm can manipulate xml, but I don't know how to implement it.
Here's an example, I hope someone can help me write a sample code, thanks in advance
___________________________________________________________________________________
Look for the key20 in the full text, if not found, add a key key20 under the key5, its value: string20
Look for the key7 in the full text, if found, if its property value is false, then modify it to true
Look for the key9 in the full text, if found, delete its key and value
___________________________________________________________________________________
I think the plist file is actually an xml file. In the help of QM, I saw that qm can manipulate xml, but I don't know how to implement it.
Here's an example, I hope someone can help me write a sample code, thanks in advance
___________________________________________________________________________________
Look for the key20 in the full text, if not found, add a key key20 under the key5, its value: string20
Look for the key7 in the full text, if found, if its property value is false, then modify it to true
Look for the key9 in the full text, if found, delete its key and value
___________________________________________________________________________________