Taking the first steps with .NET XDocument objects, you might encounter everything you try to select from the XML will be NULL.

In this case you have to take a look at the namespaces.

Methods like Descendants() seem to always need the exact namespace written before e.g. the XML tag you are searching for.

Example: Reading and modifying an SVG image

 

Advanced: Get and edit the attributes of an “<xlink-href> attribute” (referring to an internal or external binary/rasterized image)

 

 

Share This:

  [email protected]