Hi Esteban.If pdlua works on your system and if you are willing to write a bit of Lua code, you can make your own custom parser.Here's an example where I have done that:This uses an existing Lua XML library (https://github.com/Phrogz/SLAXML) which I've just copied to the same directory.I was receiving my XML data from a network socket. If you want to read your data from an XML file, you'll have to add that functionality.I guess you could do a similar thing with Python, if you prefer that language.cheers,MatthiasOn Thu, Aug 2, 2018 at 12:21 AM, Esteban Viveros <emviveros@gmail.com> wrote:Thanks guys for your responses!!--@Lucas Cordiviola, I found PDcontainer in deken for mac win linux but not for arm (I want to use a RPi for this project), anyway I tried but could not load the xml files with the [h_map] and [h_multimap].@Matt Davey, Pof seems cool, but it crashes pd anytime I tried to parse the files using [pofxml].the patch are like that:and the xml sample can be downloaded here.I tried other ways without success... If you want see pdpatchrepo tread xml-parsing-in-pdI tried [text] object, but it truncated some data.. Values like 30003042 turn to 3.0003e+07 and pd freeze when I tried to load a 16mb xml file.Any advance are welcomed!!CheersEm qua, 1 de ago de 2018 às 01:23, Matt Davey <hard.off@gmail.com> escreveu:There is pofxml in the pof library.On Tue, 31 Jul 2018 at 22:25, Lucas Cordiviola <lucarda27@hotmail.com> wrote:You can try with PDcontainer. It's up on Deken.
Iirc it was for XML.
--
Mensaje telepatico asistido por maquinas.On 7/31/2018 12:32 PM, Esteban Viveros wrote:
Hi! I'm looking for a solution for XML parsing. I found jasch_lib [detox] but it crashes pd in OSx and don't have RPi binary disponible in deken. I tried [jasch_lib/detox] in purr data and it still crash.--
My goal is to recognize some identifiers and make it disponible in some matrix or vector for sonification purposes.
There are other external or vanilla way can it be done?
Cheers
N �n�r����)em�h�yhiם�w^��
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list