Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Anaristos
Sorcerer


Joined: 17 Jul 2007
Posts: 821
Location: California

PostPosted: Tue Feb 15, 2011 11:27 pm   

New Feature Request
 
%xml

Syntax: %xml(var)

This function returns the XML format of the indicated variable.

Though not very useful in normal scripting, this function would be very convenient when pushing settings to external XML readers.
_________________
Sic itur ad astra.
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Wed Feb 16, 2011 4:00 pm   
 
Would be interesting. If I recall correctly, the only way to actually get the XML of a variable, currently, is through a parent container's XML.

However, if you're using it as a function to push to external XML stuff, why not include more settings as arguments for it?
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Feb 16, 2011 4:51 pm   
 
I'll consider that for the future, but I'll probably not use the %xml name since that implies more XML parser functionality rather than converting a setting to it's xml copy/paste format.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net