I'm finding that while this test returns true:
test="string-length(foo) = 0"
However, for some reason, both of these tests are returning false:
test="foo = ''"
test="foo = null"
Any idea what might be going on? Is there some other state that foo could be in that would result in a 0 length, while still not being equal to '' or null?
Additionally - if I output:
X<xsl:value-of select="foo" />X
outputs: XX