79719188

Date: 2025-07-29 20:46:52
Score: 0.5
Natty:
Report link

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.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: TCI DCUI15