I have one question regarding xsl:for-eachif there are list of codeCOMPXXXXCOMPXXXXCOMPXXXXLAWSXXXXLAWSXXXXXXXX (are numbers 2383)and if I just want to display code that starts with COMP,how should I do this??I tried to have xsi:course
Code:
but it did not work (of course I guess..)\[code\] <xsl:for-each select="xsi:catalogue/xsi:course[code='COMP']"> <xsl:apply-templates select="xsi:code" /> <br /> <xsl:apply-templates select="xsi:title" /> <br /> <xsl:apply-templates select="xsi:year" /> <br /> <xsl:apply-templates select="xsi:science" /> <br /> <xsl:apply-templates select="xsi:area" /> <br /> <xsl:apply-templates select="xsi:subject" /> <br /> <xsl:apply-templates select="xsi:updated" /> <br /> <xsl:apply-templates select="xsi:unit" /> <br /> <xsl:apply-templates select="xsi:description" /> <br /> <xsl:apply-templates select="xsi:outcomes" /> <br /> <xsl:apply-templates select="xsi:incompatibility" /> </xsl:for-each>\[/code\]