AnsweredAssumed Answered

How to avoid empty nodes using xsl

Question asked by Fred(CH) on Jan 31, 2019
Latest reply on Jan 31, 2019 by beverly



I did not find a simple way to ignore empty fields for the whole xml using xlst sheet, exporting XML FMPDSORESULT.


Actually i am working around by using this technique on the xsl file which is, i am sure, a bad way to go, although it is working  :


<xsl:if test="//fmp:Field != ''">


          <xsl:value-of select="//fmp:Field"></xsl:value-of>




THANKS for your help !