|
Re: xsd file [message #75907 is a reply to message #75889] |
Wed, 01 October 2008 10:44 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Ed Merks![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=ed.merks%40gmail.com) Messages: 33205 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------060302030706010707080401
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Gitanjali,
Comments below.
Gitanjali Punj wrote:
> Hi,
> In the following snippet of an xsd file
>
> <xsd:schema xmlns:bank="bank" xmlns:xmi="http://www.omg.org/XMI"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="bank">
> <xsd:import namespace="http://www.omg.org/XMI"
> schemaLocation="XMI.xsd"/>
> <xsd:complexType name="banker">
> <xsd:choice maxOccurs="unbounded" minOccurs="0">
> <xsd:element name="issuesaccountto" type="bank:client"/>
> <xsd:element ref="xmi:Extension"/>
> </xsd:choice>
> <xsd:attribute ref="xmi:id"/>
> <xsd:attributeGroup ref="xmi:ObjectAttribs"/>
> <xsd:attribute name="bankername" type="xsd:string"/>
> <xsd:attribute name="issuesaccountto" type="xsd:string"/>
> </xsd:complexType>
>
> does Schema,element,import,complexType represent classes in the
> metamodel of xsd?If yes then what are the properties and associations
> between these classes?
Isn't that answered by the Javadoc showing the XSD model?
http://download.eclipse.org/modeling/emf/emf/javadoc/xsd/2.4 .1/org/eclipse/xsd/package-summary.html#details
--------------060302030706010707080401
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Gitanjali,<br>
<br>
Comments below.<br>
<br>
Gitanjali Punj wrote:
<blockquote
cite="mid:8079f4e0b3e3209f04f9c795b927cd3a$1@www.eclipse.org"
type="cite">Hi,
<br>
In the following snippet of an xsd file
<br>
<br>
<xsd:schema
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: xsd file [message #603348 is a reply to message #75889] |
Wed, 01 October 2008 10:44 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Ed Merks![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=ed.merks%40gmail.com) Messages: 33205 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------060302030706010707080401
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Gitanjali,
Comments below.
Gitanjali Punj wrote:
> Hi,
> In the following snippet of an xsd file
>
> <xsd:schema xmlns:bank="bank" xmlns:xmi="http://www.omg.org/XMI"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="bank">
> <xsd:import namespace="http://www.omg.org/XMI"
> schemaLocation="XMI.xsd"/>
> <xsd:complexType name="banker">
> <xsd:choice maxOccurs="unbounded" minOccurs="0">
> <xsd:element name="issuesaccountto" type="bank:client"/>
> <xsd:element ref="xmi:Extension"/>
> </xsd:choice>
> <xsd:attribute ref="xmi:id"/>
> <xsd:attributeGroup ref="xmi:ObjectAttribs"/>
> <xsd:attribute name="bankername" type="xsd:string"/>
> <xsd:attribute name="issuesaccountto" type="xsd:string"/>
> </xsd:complexType>
>
> does Schema,element,import,complexType represent classes in the
> metamodel of xsd?If yes then what are the properties and associations
> between these classes?
Isn't that answered by the Javadoc showing the XSD model?
http://download.eclipse.org/modeling/emf/emf/javadoc/xsd/2.4 .1/org/eclipse/xsd/package-summary.html#details
--------------060302030706010707080401
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Gitanjali,<br>
<br>
Comments below.<br>
<br>
Gitanjali Punj wrote:
<blockquote
cite="mid:8079f4e0b3e3209f04f9c795b927cd3a$1@www.eclipse.org"
type="cite">Hi,
<br>
In the following snippet of an xsd file
<br>
<br>
<xsd:schema
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03693 seconds