title: How Can remove 'italic' element inside the 'pub-id', 'italic' element not allowed inside the 'pub-id'
body: <pre><code>Input:
  &lt;DOINUM&gt;10.1080/14772019.2016.1274343&lt;/DOINUM&gt;
  
      Output:
  No needed 'italic' element inside the 'pub-id' element
      &lt;pub-id pub-id-type="doi"&gt;&lt;italic&gt;10.1080/14772019.2016.1274343&lt;/italic&gt;&lt;/pub-id&gt;
  </code></pre>
  
  <p>Xslt Code:</p>
  
  <p>we creat 'pub-id' element below code</p>
  
  <p></p>
  
  <pre><code>&lt;pub-id pub-id-type="doi"&gt;
  
    &lt;xsl:apply-templates/&gt;
  
  &lt;/pub-id&gt;
  </code></pre>
  
  <p></p>
  
  <p>we create 'italic' element here, but 'italic' element not allowed inside the 'pub-id element, please give suggestion how can remove 'italic' element inside the 'pub-id' element.</p>
  
  <pre><code>  &lt;xsl:template match="IT" mode="demote"&gt;
      &lt;xsl:param name="content"/&gt;
      &lt;xsl:apply-templates select=".." mode="demote"&gt;
        &lt;xsl:with-param name="content"&gt;
          &lt;xsl:choose&gt;
            &lt;xsl:when test="normalize-space($content)"&gt;
              &lt;!-- providing 'italic' only if there's something
              to put into italics --&gt;
              &lt;italic&gt;
                &lt;xsl:copy-of select="$content"/&gt;
              &lt;/italic&gt;
            &lt;/xsl:when&gt;
            &lt;xsl:otherwise&gt;
              &lt;xsl:copy-of select="$content"/&gt;
            &lt;/xsl:otherwise&gt;
          &lt;/xsl:choose&gt;
        &lt;/xsl:with-param&gt;
      &lt;/xsl:apply-templates&gt;
    &lt;/xsl:template&gt;
  </code></pre>