Xml Schema Inference
LINQ to Xml and Xml literals are both powerful features but they have a limitation: Within embedded expressions or when using the literals symbols in queries, IntelliSense support is not as good as usual, especially when you need to invoke Xml attributes. This means that in most situations you need to remember and manually write code that maps attributes with no IntelliSense support. This can lead to errors, because elements and attributes within Xml documents are case-sensitive, so typing age instead of Age results in a runtime error. To solve this issue, Visual Basic offers a nice feature known as the Xml Schema Inference Wizard that is a tool integrated in the IDE and that is specific for Visual Basic. The tool allows ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access