On Wed, Dec 03, 2003 at 09:27:47PM -0500, James deBoer wrote:
> 
> However, why does Blackbox need to have an XML library built in? Another 
> option would be to have your XML config files and build the Blackbox config 
> files from them using an external program. You could even go as far as have 
> blackbox compile its config files on the fly at startup. That could easily be 
> a compile-time, or even run-time, option.
> 

and such an option would only require that the xml->bbconfig conversion 
relied on any xml-related libs...not a bad idea, however if someone (ie: 
blackbox itself) then modified the bbconfig version of the file, how 
would the changes get back into the xml version? it'd be trivial to 
write an XSLT file to go from xml->bbconfig, but not quite as trivial to 
go back... you'd either need to make blackbox know how to also write an 
xml version of the config. that shouldnt be too hard, and could be done 
without relying on any xml libs being linked into blackbox. this would 
add the complexity that someone would have to maintain the conversion 
tools (in both directions) and their integration (while small) with 
blackbox.

it'd probably be easier to write a separate prog that can go back and
forth between an xml and bbconfig version of the file... then anyone who
wants to play with it via xml can "export" an xml version of the config
and then "import" it back into the native bb format. this could be done
pretty easily with a small perl script. i play with perl/xml/xslt at
work every day, so putting this together would be easy. would anyone be
interested in such a beast?

Russ

-- 
=======================================================================
| Russ Burdick | "What do the good know...except what the             |
|===============  bad teach them by their excesses?" -Clive Barker    |
| [EMAIL PROTECTED]                     http://extrapolation.net |
=======================================================================

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]

Reply via email to