<
is lower than. 13 < 12
can't possible evaluate to true. I think you'll need either <=
in the form of <=
or >
in the form >
.
EDIT:次のコードは期待通りに機能しますので、表示されているコードの外に何か問題が残っている必要があります。変数の選択式が本当に何かに解決されていることを確認してください。
<?xml version="1.0" encoding="UTF-8"?>
123456789101112
123456
1234567891011121314
<?xml version="1.0" encoding="UTF-8"?>
: shorter than 12