RE: FW: Schema question

2006-11-09 Thread Kedar, Shahar
Thanks! -Original Message- From: Bhatra, Junaid [mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2006 8:07 PM To: axis-user@ws.apache.org Subject: RE: FW: Schema question Yes, like Jeff said, you reference an element using "ref" attribute and you reference a type (simp

RE: FW: Schema question

2006-10-16 Thread Bhatra, Junaid
d complexType. - Junaid -Original Message- From: Jeff Greif [mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2006 9:46 AM To: axis-user@ws.apache.org Subject: Re: FW: Schema question A complex type is referenced in schemas using type="ns:my-type-name" where ns is a prefix b

Re: FW: Schema question

2006-10-16 Thread Jeff Greif
ce to an {element} and to a {complexType} if they have the same name? Thanks, Shahar -Original Message- From: Kedar, Shahar [mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2006 2:30 PM To: axis-user@ws.apache.org Subject: RE: Schema question Hi Ann, Thanks for the quick answer. A

FW: Schema question

2006-10-16 Thread Kedar, Shahar
-user@ws.apache.org Subject: RE: Schema question Hi Ann, Thanks for the quick answer. Another question: The {ref} attribute is used only to refer to a global {element}? Can it be used to refer to a {complexType}? If so, then is it possible to define an {element} and a {complexType} with the same

RE: Schema question

2006-10-16 Thread Kedar, Shahar
- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2006 1:25 PM To: axis-user@ws.apache.org Subject: Re: Schema question You may define a particular element only once in a schema, so if the element is used in multiple places, you must define it as a global and reference

Re: Schema question

2006-10-16 Thread Anne Thomas Manes
You may define a particular element only once in a schema, so if the element is used in multiple places, you must define it as a global and reference it from the various types that use it. (Only global elements can be referenced.) Or perhaps you want to allow the element to be used both as a root

Schema question

2006-10-15 Thread Kedar, Shahar
Hi,   Can someone explain to me when and where the {ref} attribute should be used inside an XML schema? Also, is it valid for an {element} to refer to a different {element} and not a {type}?   Thanks, Shahar.