I am trying to write an xpath expression that selects all div tags that have an attribute id that start with CompanyCalendar.
The following expression is perhaps what you are looking for:
//div[starts-with(@id,'CompanyCalendar')]
What it does, in plain English, is
Return all
divelements in the XML document that have an attributeidwhose attribute value starts with “CompanyCalendar”.