Topic
  • 1 reply
  • Latest Post - ‏2011-10-25T20:54:28Z by MatthiasNicola
MHMZ
MHMZ
1 Post

Pinned topic read the structure as variables

‏2011-10-25T19:22:14Z |
I want to enter the xsd structure as an input and I want to determine complex and simple element by VB code and load them as variables to deal with these variables later. for example I enter the following

<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="schemaRead" targetNamespace="http://tempuri.org/schemaRead.xsd" elementFormDefault="qualified" xmlns="http://tempuri.org/schemaRead.xsd" xmlns:mstns="http://tempuri.org/schemaRead.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">

<xs:complexType name="addresstype">
<xs:sequence>
<xs:element name="Name" type="xs:string" />
<xs:element name="Street" type="xs:string" />
<xs:element name="Sity" type="xs:string" />
<xs:element name="postalcode" type="xs:integer" />
</xs:sequence>
</xs:complexType>
</xs:schema>
I want to determine CE1=addresstype
then determine SE1=Name, SE2=Street, SE3=Sity, and so on
Updated on 2011-10-25T20:54:28Z at 2011-10-25T20:54:28Z by MatthiasNicola