Trying to work out how to escape a hyphen in an XML Tag in Azure SQL Analytics working with Kusto / KQL to try and parse the deadlock xml in Azure SQL Analytics and getting stuck with escaping the tag name process-list as follows
So the deadlock xml looks like
&lt;deadlock&gt;
  &lt;process-list&gt;
  ...

I want to get one of the attributes under process-list but KQL chokes on the hyphen and I don't know how to escape it to make it work - see the bold section in the last line
AzureDiagnostics
| where (Category == &quot;Deadlocks&quot;)
| where ResourceId contains &quot;/SERVERS/&quot;
| where ResourceId contains &quot;/DATABASES/&quot;
| where Resource contains &quot;Analytics&quot;
| project Resource = strcat(extract(&quot;.+/SERVERS/([^/]+)/.+&quot;, 1, ResourceId), &quot;.&quot;, extract(&quot;.+/DATABASES/(.+)&quot;, 1, ResourceId)).tolower(), TimeGenerated, deadlock_xml_s
| extend DeadlockXML = parse_xml(deadlock_xml_s)
| extend KeyDeets = DeadlockXML.deadlock.process-list.waitresource
...but KQL chokes on the hyphen and I don't know how to escape it to make it work

Please see: https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/schema-entities/entity-names#identifier-quoting
for example: DeadlockXML.deadlock['process-list'].waitresource