XSL concatenation with nested if conditions
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 1
- Joined: Thu Oct 22, 2015 1:13 pm
XSL concatenation with nested if conditions
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
<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
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service