XPath | Result of XPath Evaluation |
---|---|
insert-before((1,3,4,5,6,7,8,9),2,2) | 1 2 3 4 5 6 7 8 9 |
insert-before((1,3,4,5,6,7,8,9),1,2) | 2 1 3 4 5 6 7 8 9 |
insert-before((1,3,4,5,6,7,8,9),10,2) | 1 3 4 5 6 7 8 9 2 |
insert-before(('a','b','c','e'), 4, 'd') | a b c d e |
insert-before(1 to 10, count(1 to 10) + 1, 2) | 1 2 3 4 5 6 7 8 9 10 2 |
insert-before((1,3,4,5,6,7,8,9),2,(2,3)) | 1 2 3 3 4 5 6 7 8 9 |