Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Choose

Provides a way to select transformation to perform based on an expression. Specify the condition in the `when` element as an XPath expression. You can optionally specify an `otherwise` condition for processing all elements that do not meet any of the specified `when` conditions.

## XSLT Equivalent

The following determines if the node set for FilesTransferred contains any files, and if so, performs an action. If the node set is empty (no files were transferred), a different action is performed.

    <ns0:choose xmlns:ns0="http://www.w3.org/1999/XSL/Transform">
       <ns0:when test="$FTP-Put/FTPPutOutputFile/FileTransferred" >
          < something here ... >
       </ns:0when>
       <ns0:otherwise>
          < something here ...>
       </ns0:otherwise>
    </ns0:choose>

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.