
| Visual Basic (Declaration) | |
|---|---|
Public NotInheritable Class XmlFieldBuilder Inherits SimpleFieldBuilder | |
| C# | |
|---|---|
public sealed class XmlFieldBuilder : SimpleFieldBuilder | |
Allows to define how to extract data values from an XML document using an XPath expression.
The following code demonstrates how to create and modify the XmlFieldBuilder instance:
| C# | Copy Code |
|---|---|
SchemaBuilder sb = new SchemaBuilder("MySchema").SetCaption("My Schema"); sb.AddQueryField(new XmlFieldBuilder("City").SetXPath("./city")); | |
System.Object
GrapeCity.ActiveAnalysis.Schema.SimpleFieldBuilder
GrapeCity.ActiveAnalysis.Schema.XmlFieldBuilder
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2