Subject: XML to PDB?
From: Lance Drake <[EMAIL PROTECTED]>
Date: Wed, 9 Nov 2005 12:48:55 -0700

Hi Palm Development Folks,

        Is there a suggested way/library/app/sample available anywhere that
allows/demonstrates/describes conversion of an XML 'database' to be
converted to a PDB file?

        The strategy I have (so far) starts with a FileMaker database which
can be exported as XML.  The XML text file is then sent to whatever was
the mechanism that would support the conversion to a PDB file.  The
plan was then that the PDB would be HotSynced to the handheld and thus
be available to my app.

Hi [EMAIL PROTECTED],

An XML file is just an ascii text file, so write a trivial conduit to send it down with one ascii text record in each PDB record. I'd recommend you terminate each record with a line feed and a zero-byte character to make subsequent processing easier.

Just make sure that no record has more than 65000 bytes, which in my experience shouldn't be a problem with XML.

        The PDB format doesn't care what is in its records.


Roger Stringer
Marietta Systems, Inc. (www.rf-tp.com)


--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to