This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

re: mixed content styling problem


Thaks to all that replied: it was indeed too complicated an approach. The
final cut:

  <xsl:template match="A">
    <xsl:for-each select="B">
      <xsl:if test="@TYPE='PUB' or count(@*)=0">      
        <H2><xsl:apply-templates select="node()[not(self::C)]"/></H2>
      </xsl:if>
    </xsl:for-each>
  </xsl:template>

cheers,

-Bill


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]