I have summerized some note about the string comparison via XSLT and XPATH.
Find specific string with “=”:
_Find specific Item with text “testITEM”.
_
Find specific string with “contains”:
Find specific Item which contain ”testITEM”.
Find specific string case-insensitivity “=”:
Find specific Item with text “testITEM” or “TESTITEM” or “TestItem” … ETC.
There is no way to compare it without transform, you need transform it to upper case(or small case) first.
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
Compare orderings with great-than:
_Find specific date which great than “20060419”:
_
If the date is ISO format (YYYY-MM-DD) it is easy to compare with follow code. ( >= is the same case.)
Compare orderings with less-than:
Find specific date which less than “20060419”:
It should be note, “<” can not in XPATH. Please use “<” to replace it. “<=” is the same code.
That is all, for more detail you can find some useful feedback in XSLT Questions and Answers.
快速記一下所有的行程:
開車到中正機場->下午到巴里島機場->Athena Villa Check-in->Kuta市區遊->Poppies晚餐->回Villa休息。
早上起床吃Villa早餐->包車Ubud之旅->買銀飾->看畫廊->Ubud傳統市場與皇宮->Indus午餐->看梯田->Bali Ratu SPA->Kuta Plaza 晚餐。
早上在Villa內SPA->換到InterContinental->海灘散步->游泳池旁邊曬太陽到天黑->回飯店小睡一番->游泳池旁的餐廳高級浪漫晚餐。
吃飯店高級早餐->睡回籠覺->Kuta市區KFC->去買Jomba Coffee->Kuta Plaza晚餐->回去拉肚子。
飯店早餐->睡回籠覺->到飛機->台北。
日程:4/13~4/17