title: XSLT: Check if tag exists on the outputted XML
body: <p>How can I check if a tag exists using xslt?
  The difference being that i want to check the XML that I am creating (not the input XML).</p>
  
  <p>Kinda like <code>&lt;xsl:when test="phone"&gt;</code> but for the output instead.</p>