Last active
September 4, 2015 12:52
-
-
Save ilkeryilmaz/df5cd4641d027f78c59f to your computer and use it in GitHub Desktop.
XSL Code Snippets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* If else | |
*/ | |
<xsl:choose> | |
<xsl:when test="$language"> | |
</xsl:when> | |
<xsl:otherwise> | |
</xsl:otherwise> | |
</xsl:choose> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Değişken oluşturma kısa if gibi kullanılabilir | |
*/ | |
<xsl:variable name="veriable_name"> | |
<xsl:if test="Data">Veriable Data</xsl:if> | |
</xsl:variable> | |
{$veriable_name} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment