This site is no longer active and is available for archival purposes only. Registration and login is disabled.

XML-RPC


XML-RPC

Postby Gar » Jul 3, 2008 @ 8:42am

Hi Edge,

I understand the sample xml-rpc, since the xml file is regular. If I got the file as following, how can I get the value of model, name, and so on?
Thanks.

Gar

<?xml version="1.0" ?>
<composar os="nt" utc="Thu, 22 May 2008 12:30:47 +0000" version="0.1">
<scene>
<videos />
<trackers />
<markers>
<marker model="C:\model\cow.osg" name="C:\Data\patt.hiro" position="0.000000 0.000000 20.000000" rotation="0.000000 0.000000 14.000000" scale="4.000000 4.000000 4.000000" script="C:\Scripts\hello.py" />
</markers>
</scene>
</composar>
good good study, day day up!
open heart every day ^!^
Gar
pm Member
 
Posts: 14
Joined: Mar 13, 2008 @ 2:03am


Postby edge » Jul 3, 2008 @ 10:26am

Hi Gar,

Unfortunately, you can't parse your example file with the XML-RPC class. You need to use ClassEXml, more information is available here: http://www.edgelib.com/index.php?node=1208

A more advanced XML class is planned for the upcoming EDGELIB release, this new class is able to store xml nodes (like ClassEXmlRpc).
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron