Generates the schema definition by XML data source.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Overloads Shared Function AutoGenerate( _
ByVal name As System.String, _
ByVal queryXPath As System.String, _
ByVal xmlSource As System.Xml.XmlReader _
) As SchemaBuilder |
Parameters
- name
- The name of the schema definition.
- queryXPath
- Query XPath value for selection from this path. Cannot be empty, at leas should be root value: "/"
- xmlSource
- XML data source
Return Value
The generated instance of the
SchemaBuilder for further schema modifications.
Requirements
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
See Also