Loading XML

Post Reply
CaptainCheerios
Posts: 1
Joined: Thu Jun 25, 2009 9:49 pm

Loading XML

Post by CaptainCheerios » Wed Jul 08, 2009 1:26 am

Does anyone know how to load XML onto the DS, or a way to just read in data from an outside file I would greatly appreciate the help.

WinterMute
Site Admin
Posts: 2003
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Loading XML

Post by WinterMute » Thu Jul 09, 2009 4:38 am

For accessing files on SD have a look at the libfat examples, it's basically a matter of

Code: Select all

#include <fat.h>

int main(int argc, char **argv) {
  if ( fatInitDefault() ){

    ...
    code uses stdio ( fopen, fread, fwrite etc )
    ...

  }
}
As for xml, I've uploaded an arm build of mxml which I'll link to later - the SF file release pages are being a bit slow atm.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 7 guests