C christianjeannot Member Licensed User May 19, 2021 #1 Hello Community, is there a library for xml where it is possible to read the bookmarks.plist from macOS? I saw threads about Xml2Map but I am not sure if this is possible. Best regards --Christian
Hello Community, is there a library for xml where it is possible to read the bookmarks.plist from macOS? I saw threads about Xml2Map but I am not sure if this is possible. Best regards --Christian
Erel B4X founder Staff member Licensed User Longtime User May 20, 2021 #2 Can you upload an example file? Upvote 0
C christianjeannot Member Licensed User May 22, 2021 #3 I have converted the Apple Safari bookmark.plist to a xml file. As it is a very large file I have created an example file. I want to create an App where I can read a bookmark xml file and create e.g. a sqlitedb file. Attachments Bookmarks_example.xml Bookmarks_example.xml 25.8 KB · Views: 374 Upvote 0
I have converted the Apple Safari bookmark.plist to a xml file. As it is a very large file I have created an example file. I want to create an App where I can read a bookmark xml file and create e.g. a sqlitedb file.
Erel B4X founder Staff member Licensed User Longtime User May 23, 2021 #4 The file you posted is not a valid xml file. You can test it with this tool: https://codebeautify.org/xmlvalidator It should end with: </dict> </array> </dict> </plist> This will indeed not work with Xml2Map. Use this: https://www.b4x.com/android/forum/threads/b4x-plistparser.130995/ Upvote 0
The file you posted is not a valid xml file. You can test it with this tool: https://codebeautify.org/xmlvalidator It should end with: </dict> </array> </dict> </plist> This will indeed not work with Xml2Map. Use this: https://www.b4x.com/android/forum/threads/b4x-plistparser.130995/
C christianjeannot Member Licensed User May 23, 2021 #5 Many thanks for the link and the class. I will test it. Upvote 0