microsoftgraph / msgraph-sdk-dotnet-auth

Archived - use the TokenCredential classes provided by Azure.Identity. https://docs.microsoft.com/en-us/dotnet/api/overview/azure/identity-readme
https://graph.microsoft.com
MIT License
78 stars 19 forks source link

Update increment script #41

Closed MIchaelMainer closed 5 years ago

MIchaelMainer commented 5 years ago

Querying an element that can occur one or more times is a bit inconsistent. For example, if there is an xml document <H1><H2/><H2/></H1>, the first element is queried by $xmldoc.H1.H2[0]. If there is a single element, <H1><H2/></H1>, $xmldoc.H1.H2[0] is no longer valid. The valid query is now $xmldoc.H1.H2