xxx.params[param] = xxxParam(elem)
# Find place to put new element: first present element after param
found = False
xxx.params[param] = xxxParam(elem)
# Find place to put new element: first present element after param
found = False
for p in paramStyles[paramStyles.index(param) + 1:]:
# Content params don't have same type
if xxx.params.has_key(p) and p != 'content':
for p in paramStyles[paramStyles.index(param) + 1:]:
# Content params don't have same type
if xxx.params.has_key(p) and p != 'content':