Commits

Joe Townsend committed d4516b4

changing the priority for the compchem convention template to prevent clashes

  • Participants
  • Parent commits 82392e3

Comments (0)

Files changed (1)

File src/main/resources/org/xmlcml/www/compchem-rules.xsl

     </xsl:template>
 
     <xsl:template
-            match="cml:*[@convention and namespace-uri-for-prefix(substring-before(@convention, ':'),.) = $conventionNS and substring-after(@convention, ':') = $conventionName]" priority="1">
+            match="cml:*[@convention and namespace-uri-for-prefix(substring-before(@convention, ':'),.) = $conventionNS and substring-after(@convention, ':') = $conventionName]" priority="-1">
         <xsl:choose>
             <xsl:when test="self::cml:module">
                 <xsl:call-template name="compchem-template"/>