Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have this element in XML:

<ImageURL>https://ganjaseeds.cz/wp-content/uploads/2020/01/amnesia_3.jpg|https://ganjaseeds.cz/wp-content/uploads/2020/01/file_42_23-scaled.jpg</ImageURL>

How can I select first value before "|", then second value after "|", then next value if exist.

I try:

ImageURL[!@]|[1]
ImageURL[!@]|[2]
ImageURL[!@]|[3]

But this option is not function

question from:https://stackoverflow.com/questions/65946870/how-to-select-first-and-next-value-from-element-xpath

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
348 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...