Xml Options (c) 2004 - by scriptol.com Licence: OSS - Freeware open-source Requirement: - solp the Scriptol to php compiler + the PHP interpreter - or solc the Scriptol to C++ compiler Syntax: opt2xml [-light][-xml] sourcefile [targetfile] - sourcefile is an option file. - targetfile will be a xml document. - option -light for a light xml Scriptol source. - -xml for an xml extension (default uc). The initial option file has a format as: [title] name=value, value, value etc... name=etc...... The generated file may be a pure xml file or a light xml source for the Scriptol compiler. Example: The input is: [php] time = 1000, 2000 size = 8M, 16M The output is: In light xml, the output is: xml php / entry name="time" option value='1000' / option value='2000' / /entry entry name="size" option value='8M' / option value='16M' / /entry /xml The default target extension is ".uc" or ".sol", it is added to the node of the source filename if no target is specified.