XSL concatenation with nested if conditions

Here should go questions about transforming XML with XSLT and FOP.
sokol1273
Posts: 1

XSL concatenation with nested if conditions

Thu Oct 22, 2015 1:17 pm

I have following xml

<string1>Y</string1>
<string2>aaabbbcccddd</string2>
<string3>I have to concatentate this</string3>
<string4>string4</string4>

I have to concatenate those four elements as follows. If flag Y exists for string1 then hard code 'Flag Y exists' + string2 (if exists) + string3 + string4 (if not empty) hardcode 'String4 not empty'. Please help me with the xsl phrase Thank you in advance

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 0 guests