You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Richard Heintze <si...@yahoo.com> on 2002/08/31 18:44:44 UTC

Deriving from complex types

I see in Rusty E Harold's book "XML Bible" that one
can derive from Simple types.

I find my-self cutting-and-pasting a lot of complex
types. 

Can I derive (or inherit) from complex types?

        Siegfried

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: Deriving from complex types

Posted by Mark Woon <mo...@SMI.Stanford.EDU>.
Richard Heintze wrote:

>xsd:extension does not appear to be in the XML Bible
>or Professional XML 2nd Edition.
>
>Where can I find an example of how to use it?
>  
>

Google is your friend.

http://www.zvon.org/xxl/xmlSchema2001Reference/Output/DTD/el_extension.html

-Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: Deriving from complex types

Posted by Richard Heintze <si...@yahoo.com>.
xsd:extension does not appear to be in the XML Bible
or Professional XML 2nd Edition.

Where can I find an example of how to use it?

       Siegfried

--- Mark Woon <mo...@SMI.Stanford.EDU> wrote:
> Richard Heintze wrote:
> 
> >I see in Rusty E Harold's book "XML Bible" that one
> >can derive from Simple types.
> >
> >I find my-self cutting-and-pasting a lot of complex
> >types. 
> >
> >Can I derive (or inherit) from complex types?
> >
> 
> Yes.  Look up <xsd:extension />
> 
> 
> -Mark
> 
> >  
> >
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> xerces-j-user-help@xml.apache.org
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: Deriving from complex types

Posted by Mark Woon <mo...@SMI.Stanford.EDU>.
Richard Heintze wrote:

>I see in Rusty E Harold's book "XML Bible" that one
>can derive from Simple types.
>
>I find my-self cutting-and-pasting a lot of complex
>types. 
>
>Can I derive (or inherit) from complex types?
>

Yes.  Look up <xsd:extension />


-Mark

>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org