Is it possible to get whole xpath through powershell if we pass select all attribute with the given name?My xml file has an attribute named lang. I use to find the attribute value by //@lang.If i can get full xpath [ like /root/child/@attribute ) it will avoid confusion.