title: Xpath - Selecting attributes using starts-with
body: <p>I am trying to write an xpath expression that selects all div tags that have an attribute id that start with CompanyCalendar. Below is a snippet of the HTML that I am looking at:</p>
  
  <pre><code>&lt;td class="some class" align="center" onclick="Calendar_DayClicked(this,'EventCont','Event');"&gt;
          &lt;span class="Text"&gt;&lt;/span&gt;
          &lt;div id="CompanyCalendar02.21" class="Pop CalendarClick" style="right: 200px; top: 235px;"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>There are multiple divs that have an id like CompanyCalendar02.21 but for each new month in the calendar, they change the id. For example, the next month would be CompanyCalendar02.22. I would like to be able to select all of the divs that are equal to CompanyCalendar*</p>
  
  <p>I am rather new at this so I was using some example off the net to try and get my xpath expression to work but to no avail. Any help would be greatly appreciated.</p>