Using fn:sum in XSLT with node-set containing null-values?

Explicitly test that the nodes have content: sum.

Explicitly test that the nodes have content: I think that what you mentioned: does not work, because the node is empty - it does not contain a text node at all, whereas value! = '' tests for an empty string - that is, a text node having data of length 0.

To sum just the elements that contain numbers: The result of number() will be NaN for empty elements, or elements whose string value is not a number. MSDN reference - msdn.microsoft.com/en-us/library/ms25621....

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions