 |
Anaristos Sorcerer
Joined: 17 Jul 2007 Posts: 821 Location: California
|
Posted: 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. |
|
|
 |
chamenas Wizard

Joined: 26 Mar 2008 Posts: 1547
|
Posted: 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? |
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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.
|
|
|
|
 |
|
|
|