[PEAK] ZConfig question

Roché Compaan roche at upfrontsystems.co.za
Tue Jul 27 07:50:34 EDT 2004

How do I do I the following in a peak ini file:

SCHEMA = "/home/roche/work/jack/schema.xml"
config_file_name = "/home/roche/work/jack/jack.conf"

schema = ZConfig.loadSchema(SCHEMA)
cfg, nil = ZConfig.loadConfig(schema, config_file_name)

In other words, how do I load the schema file, parse the config file and 
  assign the output to a configuration root?

Roché Compaan
Upfront Systems                 http://www.upfrontsystems.co.za

More information about the PEAK mailing list