Menu

#2 Test ticket #2

1.0
closed
testclosed (1)
2015-07-30
2015-07-30
No

This is a test ticket I'm going to reply to, then close. This has some XML <tag>s in it, and a block of code:

  <xsl:template match="rng:text" mode="simple">
      <xsl:choose>
         <xsl:when test="parent::tei:content/parent::tei:dataSpec">
            <xsl:text> CDATA</xsl:text>
         </xsl:when>
         <xsl:when test="parent::tei:content/parent::tei:macroSpec[@type='dt']">
            <xsl:text> CDATA</xsl:text>
         </xsl:when>
         <xsl:when test="parent::tei:content/parent::tei:macroSpec[@type='pe']">
            <xsl:text>#PCDATA</xsl:text>
         </xsl:when>
         <xsl:when test="parent::tei:content and not(following-sibling::rng:*) and not (preceding-sibling::rng:*)">
            <xsl:text>(#PCDATA)</xsl:text>
         </xsl:when>
         <xsl:when test="parent::tei:content and not(following-sibling::rng:*) and not (preceding-sibling::rng:*)">
            <xsl:text>(#PCDATA)</xsl:text>
         </xsl:when>
         <xsl:otherwise>
            <xsl:text>#PCDATA</xsl:text>
         </xsl:otherwise>
      </xsl:choose>
  </xsl:template>

Discussion

  • Martin Holmes

    Martin Holmes - 2015-07-30

    Responding and closing the ticket.

     
  • Martin Holmes

    Martin Holmes - 2015-07-30
    • status: open --> closed
     

Log in to post a comment.