Hi, I need to filter a XPath expression to grab only a certain attribute as not empty.
I tried this:
<xsl:template match="DocumentElement/QueryResults[string(@FileName)]">
and this:
<xsl:template match="DocumentElement/QueryResults[string-length(@FileName)>0]">
but it did not work. I need the same kind of data returning from the folloing XPath expression...
<xsl:template match="DocumentElement/QueryResults">
... but filtered to avoid items with empty attribute @FileName.
Thanks!