System.IO.Path.Combine allows to combine paths like C:\Users\Peter and Desktop\photo.jpg into C:\Users\Peter\Desktop\photo.jpg. Smart handling of path separators during the concatenation is one of its main benefits: concatenation always works well regardless of whether \ is present at the end of the first path or not.
Is there some similar mechanism available for Xpath? Expected behavior:/Customer/Order + LineItem/Description/text() => /Customer/Order/LineItem/Description/text()
No comments:
Post a Comment