Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » ComplexType: Obtain elements of a sequence
ComplexType: Obtain elements of a sequence [message #62070] Tue, 28 June 2005 15:35 Go to next message
Eclipse UserFriend
Originally posted by: sa840.soi.city.ac.uk

This is a multi-part message in MIME format.

------=_NextPart_000_001C_01C57C07.D5035D70
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,
I have something like:
<complexType name=3D"InputAddress">

<sequence>

<element name=3D"address" nillable=3D"true" =
type=3D"xsd:string"/>

<element name=3D"cityName" nillable=3D"true" =
type=3D"xsd:string"/>



</sequence>

</complexType>

I also have the CompexType stored in a "XSDComplexTypeDefinition" =
variable. The question is: How can I access the elements of the =
sequence?
Thanks in advance....
------=_NextPart_000_001C_01C57C07.D5035D70
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2668" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV>Hi all,</DIV>
<DIV>I have something like:</DIV>
<DIV>
<P><FONT size=3D2><FONT color=3D#0000ff>&lt;</FONT><FONT=20
color=3D#800000>complexType</FONT><FONT color=3D#ff0000> =
name</FONT><FONT=20
color=3D#0000ff>=3D"</FONT>InputAddress<FONT =
color=3D#0000ff>"&gt;</P></FONT></FONT>
<P><FONT size=3D2><FONT color=3D#0000ff>&nbsp;&nbsp;&nbsp; =
&lt;</FONT><FONT=20
color=3D#800000>sequence</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT></FONT>
<P><FONT size=3D2><FONT color=3D#0000ff>&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&lt;</FONT><FONT color=3D#800000>element</FONT><FONT color=3D#ff0000>=20
name</FONT><FONT color=3D#0000ff>=3D"</FONT>address<FONT =
color=3D#0000ff>"</FONT><FONT=20
color=3D#ff0000> nillable</FONT><FONT =
color=3D#0000ff>=3D"</FONT>true<FONT=20
color=3D#0000ff>"</FONT><FONT color=3D#ff0000> type</FONT><FONT=20
color=3D#0000ff>=3D"</FONT>xsd:string<FONT =
color=3D#0000ff>"/&gt;</P></FONT></FONT>
<P><FONT size=3D2><FONT color=3D#0000ff>&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&lt;</FONT><FONT color=3D#800000>element</FONT><FONT color=3D#ff0000>=20
name</FONT><FONT color=3D#0000ff>=3D"</FONT>cityName<FONT=20
color=3D#0000ff>"</FONT><FONT color=3D#ff0000> nillable</FONT><FONT=20
color=3D#0000ff>=3D"</FONT>true<FONT color=3D#0000ff>"</FONT><FONT =
color=3D#ff0000>=20
type</FONT><FONT color=3D#0000ff>=3D"</FONT>xsd:string<FONT=20
color=3D#0000ff>"/&gt;</P></FONT></FONT>
<P>
<P><FONT size=3D2><FONT color=3D#0000ff></P></FONT></FONT><FONT =
size=3D2><FONT=20
color=3D#0000ff>&nbsp;&nbsp;&nbsp; &lt;/</FONT><FONT=20
color=3D#800000>sequence</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT></FONT>
<P><FONT size=3D2><FONT color=3D#0000ff>&lt;/</FONT><FONT=20
color=3D#800000>complexType</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I also have the CompexType stored in a=20
"XSDComplexTypeDefinition" variable. The question is: How can I access =
the=20
elements of the sequence?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in =
advance....</FONT></DIV></BODY></HTML>

------=_NextPart_000_001C_01C57C07.D5035D70--
Re: ComplexType: Obtain elements of a sequence [message #62093 is a reply to message #62070] Wed, 29 June 2005 10:20 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------080709030607040208020401
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Fran,

What have you tried so far? Even looking at the last append of the
message before this one in the newsgroup seems to answer your question.


Fran wrote:

> Hi all,
> I have something like:
>
> <complexType name="InputAddress">
>
> <sequence>
>
> <element name="address" nillable="true" type="xsd:string"/>
>
> <element name="cityName" nillable="true" type="xsd:string"/>
>
> </sequence>
>
> </complexType>
>
> I also have the CompexType stored in a "XSDComplexTypeDefinition"
> variable. The question is: How can I access the elements of the sequence?
> Thanks in advance....



--------------080709030607040208020401
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Fran,<br>
<br>
What have you tried so far?&nbsp;&nbsp;&nbsp; Even looking at the last append of the
message before this one in the newsgroup seems to answer your question.<br>
<br>
<br>
Fran wrote:
<blockquote cite="midd9ru9b$ucl$1@news.eclipse.org" type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2900.2668" name="GENERATOR">
<style></style>
<div>Hi all,</div>
<div>I have something like:</div>
<div>
<p><font size="2"><font color="#0000ff">&lt;</font><font
color="#800000">complexType</font><font color="#ff0000"> name</font><font
color="#0000ff">="</font>InputAddress<font color="#0000ff">"&gt;</font></font></p>
<p><font size="2"><font color="#0000ff">&nbsp;&nbsp;&nbsp; &lt;</font><font
color="#800000">sequence</font><font color="#0000ff">&gt;</font></font></p>
<p><font size="2"><font color="#0000ff">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;</font><font
color="#800000">element</font><font color="#ff0000"> name</font><font
color="#0000ff">="</font>address<font color="#0000ff">"</font><font
color="#ff0000"> nillable</font><font color="#0000ff">="</font>true<font
color="#0000ff">"</font><font color="#ff0000"> type</font><font
color="#0000ff">="</font>xsd:string<font color="#0000ff">"/&gt;</font></font></p>
<p><font size="2"><font color="#0000ff">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;</font><font
color="#800000">element</font><font color="#ff0000"> name</font><font
color="#0000ff">="</font>cityName<font color="#0000ff">"</font><font
color="#ff0000"> nillable</font><font color="#0000ff">="</font>true<font
color="#0000ff">"</font><font color="#ff0000"> type</font><font
color="#0000ff">="</font>xsd:string<font color="#0000ff">"/&gt;</font></font></p>
<p>
</p>
<font size="2"><font color="#0000ff">&nbsp;&nbsp;&nbsp; &lt;/</font><font
color="#800000">sequence</font><font color="#0000ff">&gt;</font></font>
<p><font size="2"><font color="#0000ff">&lt;/</font><font
color="#800000">complexType</font><font color="#0000ff">&gt;</font></font></p>
</div>
<div><font face="Arial" size="2">I also have the CompexType stored in
a "XSDComplexTypeDefinition" variable. The question is: How can I
access the elements of the sequence?</font></div>
<div><font face="Arial" size="2">Thanks in advance....</font></div>
</blockquote>
<br>
</body>
</html>

--------------080709030607040208020401--
Re: ComplexType: Obtain elements of a sequence [message #595873 is a reply to message #62070] Wed, 29 June 2005 10:20 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------080709030607040208020401
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Fran,

What have you tried so far? Even looking at the last append of the
message before this one in the newsgroup seems to answer your question.


Fran wrote:

> Hi all,
> I have something like:
>
> <complexType name="InputAddress">
>
> <sequence>
>
> <element name="address" nillable="true" type="xsd:string"/>
>
> <element name="cityName" nillable="true" type="xsd:string"/>
>
> </sequence>
>
> </complexType>
>
> I also have the CompexType stored in a "XSDComplexTypeDefinition"
> variable. The question is: How can I access the elements of the sequence?
> Thanks in advance....



--------------080709030607040208020401
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Fran,<br>
<br>
What have you tried so far?&nbsp;&nbsp;&nbsp; Even looking at the last append of the
message before this one in the newsgroup seems to answer your question.<br>
<br>
<br>
Fran wrote:
<blockquote cite="midd9ru9b$ucl$1@news.eclipse.org" type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2900.2668" name="GENERATOR">
<style></style>
<div>Hi all,</div>
<div>I have something like:</div>
<div>
<p><font size="2"><font color="#0000ff">&lt;</font><font
color="#800000">complexType</font><font color="#ff0000"> name</font><font
color="#0000ff">="</font>InputAddress<font color="#0000ff">"&gt;</font></font></p>
<p><font size="2"><font color="#0000ff">&nbsp;&nbsp;&nbsp; &lt;</font><font
color="#800000">sequence</font><font color="#0000ff">&gt;</font></font></p>
<p><font size="2"><font color="#0000ff">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;</font><font
color="#800000">element</font><font color="#ff0000"> name</font><font
color="#0000ff">="</font>address<font color="#0000ff">"</font><font
color="#ff0000"> nillable</font><font color="#0000ff">="</font>true<font
color="#0000ff">"</font><font color="#ff0000"> type</font><font
color="#0000ff">="</font>xsd:string<font color="#0000ff">"/&gt;</font></font></p>
<p><font size="2"><font color="#0000ff">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;</font><font
color="#800000">element</font><font color="#ff0000"> name</font><font
color="#0000ff">="</font>cityName<font color="#0000ff">"</font><font
color="#ff0000"> nillable</font><font color="#0000ff">="</font>true<font
color="#0000ff">"</font><font color="#ff0000"> type</font><font
color="#0000ff">="</font>xsd:string<font color="#0000ff">"/&gt;</font></font></p>
<p>
</p>
<font size="2"><font color="#0000ff">&nbsp;&nbsp;&nbsp; &lt;/</font><font
color="#800000">sequence</font><font color="#0000ff">&gt;</font></font>
<p><font size="2"><font color="#0000ff">&lt;/</font><font
color="#800000">complexType</font><font color="#0000ff">&gt;</font></font></p>
</div>
<div><font face="Arial" size="2">I also have the CompexType stored in
a "XSDComplexTypeDefinition" variable. The question is: How can I
access the elements of the sequence?</font></div>
<div><font face="Arial" size="2">Thanks in advance....</font></div>
</blockquote>
<br>
</body>
</html>

--------------080709030607040208020401--


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:ComplexType: Obtain elements of a sequence
Next Topic:Attribute in ComplexType
Goto Forum:
  


Current Time: Tue Apr 16 17:38:08 GMT 2024

Powered by FUDForum. Page generated in 0.02148 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top