langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
9
Task/Boolean-values/XSLT/boolean-values.xslt
Normal file
9
Task/Boolean-values/XSLT/boolean-values.xslt
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<xsl:if test="true() or false()">
|
||||
True and false are returned by built-in XPath functions.
|
||||
</xsl:if>
|
||||
<xsl:if test="@myAttribute='true'">
|
||||
Node attributes set to "true" or "false" are just strings. Use string comparison to convert them to booleans.
|
||||
</xsl:if>
|
||||
<xsl:if test="@myAttribute or not($nodeSet)">
|
||||
Test an attribute for its presence (empty or not), or whether a node set is empty.
|
||||
</xsl:if>
|
||||
Loading…
Add table
Add a link
Reference in a new issue