Hi I am wondering is there any function in XSLT 1.0 and XPath 1.0 to behave like java's Appache StringUtils.isBlank(String str)
I use: Edited:
<xsl:variable name="attributeNameValue" select="$sourceObject/attr[@name = $sourceName]" />
<xsl:if test="$attributeNameValue and not($attributeNameValue='')">
<!-- Do something-->
</xsl:if>
but I have this check over 100 in all my templates and wonder how to remove it with something faster?