Don't use the parent to choose XML node names.

Use the model for this record, rather than the parent record, for generating XML nodes.