File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change 418
418
</xsl : element >
419
419
</xsl : template >
420
420
421
+ <xsl : template match =" isNotEmpty" >
422
+ <xsl : element name =" if" >
423
+ <xsl : attribute name =" test" >
424
+ <xsl : if test =" substring-before(@property, '.')" >
425
+ <xsl : value-of select =" substring-before(@property, '.')" /><xsl : text > != null and </xsl : text >
426
+ </xsl : if >
427
+ <xsl : value-of select =" @property" /><xsl : text > != null and </xsl : text >
428
+ <xsl : value-of select =" @property" /><xsl : text > != ''</xsl : text >
429
+ </xsl : attribute >
430
+ <xsl : value-of select =" @prepend" />
431
+ <xsl : apply-templates />
432
+ </xsl : element >
433
+ </xsl : template >
434
+
435
+ <xsl : template match =" isEmpty" >
436
+ <xsl : element name =" if" >
437
+ <xsl : attribute name =" test" >
438
+ <xsl : if test =" substring-before(@property, '.')" >
439
+ <xsl : value-of select =" substring-before(@property, '.')" /><xsl : text > != null and </xsl : text >
440
+ </xsl : if >
441
+ <xsl : value-of select =" @property" /><xsl : text > == null or </xsl : text >
442
+ <xsl : value-of select =" @property" /><xsl : text > == ''</xsl : text >
443
+ </xsl : attribute >
444
+ <xsl : value-of select =" @prepend" />
445
+ <xsl : apply-templates />
446
+ </xsl : element >
447
+ </xsl : template >
448
+
421
449
<xsl : template match =" isGreaterThan" >
422
450
<xsl : element name =" if" >
423
451
<xsl : attribute name =" test" >
550
578
</xsl : message >
551
579
</xsl : template >
552
580
553
- </xsl : stylesheet >
581
+ </xsl : stylesheet >
You can’t perform that action at this time.
0 commit comments