Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello,
I want to test multiple values in XSLT. Why is this not possible?
<xsl:if test="$currentPage/data [@alias='bodyImage1'] != '' AND $currentPage/data [@alias='bodyImage2'] != ''">
//Kalle
What do you mean, not possible?
You get an error?
Yes, I get Error reading XSLT file.
I can't imagine the error is in the specific line... Are you sure?
Try a lower case 'and' .
Rich
Yes. 100% sure. If I remove second testing its ok...
Incredible! lowercase did it! Why did I not try that! Thanks Rich.
zOMG
Absolutely increddible!
I did not know that XSLT was case sensitive, especially important in your XPATH statements.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
How Use XSLT to Test For Multiple Values?
Hello,
I want to test multiple values in XSLT. Why is this not possible?
//Kalle
What do you mean, not possible?
You get an error?
Yes, I get Error reading XSLT file.
I can't imagine the error is in the specific line... Are you sure?
Try a lower case 'and' .
Rich
Yes. 100% sure. If I remove second testing its ok...
Incredible! lowercase did it! Why did I not try that! Thanks Rich.
zOMG
Absolutely increddible!
I did not know that XSLT was case sensitive, especially important in your XPATH statements.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.