Has anyone managed to solve this issue using Descendants("ConnectedHardwareLibrary")
?
I'm trying to do this with the goal of exporting the descendant elements and their attributes in a current project, but I keep getting an empty result. The XML structure has a default namespace (xmlns="CBOpenIFSchema3_0"
), and I understand that this affects the query. However, I’m looking for a practical way to work around this without having to explicitly declare the namespace in every query.
If anyone has found a solution or workaround, I’d really appreciate it if you could share it.