I want my HTML to only output images if the element <NavigationGraphic> is present. Else i want to output content of <title>.
How do i test if the element NavigationGraphic is empty?
In fact "<NavigationGraphic> is present" is quite different from "NavigationGraphic is empty". So, here are that 2 XPath expressions:
NavigationGraphic element is absent
<xsl:if test="normalize-space(NavigationGraphic) = ''">
NavigationGraphic element's content is empty