Get items by template ID in XSLT

Sitecore

If you are trying to get an item by template ID in XSLT, the correct attribute is @tid – not templateid, or templatekey.

<xsl:variable name="itinerary" select="$sc_item/descendant-or-self::item[@tid = '{EC705A7F-B1DD-46AC-9EEF-0E377B31A740}']" />