in reply to Generating XML documents based on a schema
I suggest XML::AutoWriter or Petal (with its replace and omit-tag features), depending on how complex the necessary logic to generate the document actually is.
Makeshifts last the longest.
Fruit and Vegetables
Me, that's why I'm so cool
Logic (separated into Horror and Brilliance)
Results (244 votes). Check out past polls.