Check if a string is null or empty in XSLT -


How can I check if a value is empty or empty?

For example, if category name is empty? For example:

  & lt; Xsl: select & gt; I am using      & lt; Xsl: when test = "categoryName! = Null" & gt; & Lt; Xsl: Select Value = "categoryName" /> & Lt; / XSL: When & gt; & Lt; XSL: otherwise & gt; & Lt; Xsl: Select Value = "Other" /> & Lt; / XSL: otherwise & gt; & Lt; / XSL: Select & gt;  

.

test = "categoryName! =

.

Edit : In my opinion, Zero [empty] "As it has been guessed from this question, it includes its initial experience with the pseudo-code and XSLT. Ie," What is the equivalent of the following Java? ":

! (CategoryName == blank) Name of the name. Aquarius ("").

For more information, for example, to identify empty versus empty, identify clearly, and / or Has adapted and which includes six possible explanations as well as the comments of Michael.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -