> At this point I'm not allowed by my teacher to process the xml file on a computer and send only the instruction to pleo.
Sounds like a contrived constraint IMHO.
If the project goal is to learn about XML parsing and write your own parser, then I don't recommend Pleo/Pawn. The Pawn primitives are very limited for parsing strings. Pleo normally doesn't do anything interesting with strings (the PDK uses XML for various things, but all those tools run on a PC, and create binary data to go on the SD card)
If the project goal is to create a simple robot language, then there are many other options.
Pleo is NOT a general programming platform. It is a robot with many features and many limitations.
-----
If still interested in writing and XML parser in Pawn, you can try the Pawn compiler running on your PC (ie. makes it much easier to test/debug and it has an IDE).
http://www.compuphase.com/pawn/pawn.htmThat's a start. Pleo has a few more limitations (even fewer string functions, no ability to add your own primitives, very little free memory)
IMHO: If you try it, I predict you will get frustrated and come to the same conclusion ;->
-----
> ...Is it possible to send a file via usb cable to be saved on the sd card?
Yes. The Pleo (USB cable) supports "OBEX" for object exchange.
There is also an old 'xmodem' protocol. See the Pleo PDK documentation for terse details.
NOTE: OBEX only works with the USB cable, not the hardware serial port. This will limit your options if you want to go wireless.
This approach also requires a custom program to run on the PC to transfer the file.