lfnetwork.com mark read register faq members calendar

Thread: Xml?
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 08-19-2002, 02:56 PM   #1
moebius
 
moebius's Avatar
 
Join Date: Mar 2002
Location: Galicia, Spain
Posts: 53
Question Xml?

I'm thinking about using XML for objects description in Lixoo.
For example:

Code:
<room "Test Room">
   <image "test_back.png" type="background" />
   <image file="test_z.png" type="z-plane" />
   <script file="test_room.lua" />
   <object name="Lamp">
      <image file="lamp.png" />
      <position x="250" y="100" />
   </object>
   ... (more stuff) ...
</room>
could be a definition of a room. I like XML because it's a well-defined, open standard. What do you think about using it?

I currently know two XML parsers: expat and libxml (from Gnome). libxml is too much bigger for Lixoo, expat could do the job. Does anyone know any other small XML parsers? Any other option for object descriptions? I know rooms and objects could be created in a programmatic way using scripts, but I want the two methods to be available in Lixoo. Suggestions are welcome.

Thanks in advance.


Moebius
Developer of the Lixoo engine
moebius is offline   you may: quote & reply,
Old 08-20-2002, 05:59 AM   #2
superqult
 
Join Date: Jul 2002
Location: stockholm, sweden
Posts: 12
i like the idea of using xml, since it is very well structured.


"but i better be quiet now
i'm tired of wasting my breath
carrying on and getting upset"
- Elliott Smith (1969 - 2003)
superqult is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Mixnmojo.com > Community Discussion Forums > SCUMM > Xml?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:34 AM.


LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.