Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
No replies
MHMZ
MHMZ
1 Post
ACCEPTED ANSWER

Pinned topic reading the structure

‏2011-10-25T18:27:31Z |
I want to enter the xsd structure as an input and I want to specify complex and simple element 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