Quantcast
Channel: Is it possible to ignore namespaces in c# when using xPath? - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Martin Honnen for Is it possible to ignore namespaces in c# when...

With XPath 1.0 all you can do is /*[local-name() = 'video']/*[local-name() = 'title']. With XPath 2.0 you can use a wildcard /*:video/*:title.

View Article



Is it possible to ignore namespaces in c# when using xPath?

I could be given either of the following xml:<?xml version="1.0" encoding="UTF-8"?><dc:video xmlns:dc="http://purl.org/dc/elements/1.1/"><dc:title> A vid with...

View Article
Browsing all 2 articles
Browse latest View live


Latest Images