Allow for title substitution at XML generation