Tuesday 26 September 2006
Journal
Dear journal :)
After fighting 3 days with the XML libraries I found a solution. It uses cElementtree like previously mentioned. SIS package is available for versions up to S60 2nd edition. Read this thread for more info http://discussion.forum.nokia.com/forum/showthread.php?t=90292.
Download SIS package is here. Or what I advice is to download the project package because it includes sources and different libraries used on the emulator.
To install cElementTree on the emulator (S60 2nd edition):
- unzip cElementTree-pys60-v1.0.5.zip
- copy binaries\wins\udeb\CELEMENTTREE.PYD to C:\Symbian\8.0a\S60_2nd_FP2\epoc32\release\wins\udeb\z\system\Libs
- copy "elementtree" folder to to C:\Symbian\8.0a\S60_2nd_FP2\epoc32\release\wins\udeb\z\system\Libs
- then test the installation with a little script like:
import cElementTree as et e=et.fromstring("<hello>world</hello>") print e.tag, e.text
- you should get:
... Version 1.3.1 final hello world
There is an *untested* alpha release for S60 3rd edition:
- Installation for 3rd ed: http://ssalmine.googlepages.com/pys6....20060925.sisx
- Source for 3rd ed: https://svn.sourceforge.net/svnroot/...enttree/trunk/