For standard library string template
in Python, is there a function to get a list of all identifiers?
For example, with the following xml file:
<Text>Question ${PrimaryKey}:</Text>
<Text>Cheat: ${orientation}</Text>
the function will return something like PrimaryKey, orientation
You can use string.Formatter.parse