Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# If

An if statement is used to surround other statements in an XSLT template to perform conditional processing. If the test attribute evaluates to true, the statements in the if are output, otherwise they are not output.

## XSLT Equivalent

The following if statement surrounds an attribute for processing order items.

    <ns:if xmlns:ns="http://www.w3.org/1999/XSL/Transform" test="not(position()=last())">
        <ns:attribute name="OrderItem">
            <ns:value-of select=
      "$GetOrderInformation/OrderInformation/OrderDetails/OrderItem"/>
        </ns:attribute>
    </ns:if>

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.