Archived Forum Post

Index of archived forum posts

Question:

XML, FindChild(tag) with different prefix

Jan 27 '15 at 12:48

Hello,

is it possible to use special characters (asterisk, question mark) as a part of a tag name when searching for a tag? For example I have two XML received from two partners prepared on the basis of the same WDSL, but with different namespace/prefix for the same tag in their XML (first uses prefix1:tagname1, second prefix2:tagname1). How can I use loXml.FindChild(":tagname1") for searching tagname1 with different prefix? Is it possible to search for a tag (tagname1) I do not know a prefix or with different prefix? Something like "*:tagname1"

Thanks a lot for any help regarding this issue.