How do i perform an inclusion based on an if statement. I tried looking around and could not find much relevant information. Please look at the if statements below
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="iso-8859-1" omit-xml-declaration="yes" doctype-system="about:legacy-compat" />
<xsl:include href="../xsl/ads.xsl" />
<xsl:include href="../xsl/templates.xsl" />
<xsl:include href="../xsl/pagemenu.xsl" />
<xsl:include href="templates_jobs.xsl" />
<xsl:if test="/*/isperformer=1">
<xsl:include href="nd2.xsl" />
</xsl:if>
<xsl:if test="/*/isperformer=0">
<xsl:include href="nd1.xsl" />
</xsl:if>
</xsl:stylesheet>