User`s manual
59
record  A record object with specific subparameters. The subparameters will be passed to the 
record object’s constructor according to tag name. 
(See “Record Reference” on page 116.)
example:
<param type=”MagicRecord”>
 <foo>9000</foo>
 <bar type=”string”>You must bring us...</bar>
 <a_shrubbery type=”bool”>TRUE</a_shrubbery>
</param>
would generate:
param=MagicRecord(foo = 9000, bar = “You must bring us...”, 
a_shrubbery = TRUE)
xml A way to specify that the enclosed XML is to be preserved as XML and not parsed into 
types. The XML will be passed into the function as an ElementTree (a Python object that 
can parse and represent XML).
example:
<param type=”xml”>
 <dead>
 <parrot>This is a late parrot! It’s a stiff! Bereft of life, 
it rests in peace!</parrot>
 </dead>
</param>
would generate:
param=ElementTree.parsestring(“””<root><dead><parrot>This is a 
late parrot! It’s a stiff! Bereft of life, it rests in 
peace!</parrot></dead></root>”””)










