Link to home
Start Free TrialLog in
Avatar of ethar turky
ethar turkyFlag for Saudi Arabia

asked on

xsl to xslt

Dear all,
 Need to convert this:
 <xsl:if expr="((bNW || bNWC) &amp;&amp; bUCSQ) || !bUCSQL">
AND
<xsl:if test="context()[index() $ne$ 0]">
 to valid xslt expression

 Thanks
Avatar of Gertone (Geert Bormans)
Gertone (Geert Bormans)
Flag of Belgium image

<xsl:if expr="((bNW || bNWC) &amp;&amp; bUCSQ) || !bUCSQL">
becomes
 <xsl:if test="((bNW | bNWC) and bUCSQ) or not(bUCSQL)">
in XSLT1
<xsl:if test="(exists(bNW | bNWC) and exists(bUCSQ)) or not(exists(bUCSQL))">
in XSLT2
Avatar of ethar turky

ASKER

ASKER CERTIFIED SOLUTION
Avatar of Gertone (Geert Bormans)
Gertone (Geert Bormans)
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial