XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Paul SpencerSubject: Restriction of complex types
Author: Paul Spencer
Date: 02 Apr 2003 08:37 AM
I have just started evaluating Stylus Studio, and am trying to apply xs:restriction to a complex type to derive another complex type that does not allow its attributes.

This is allowed in XML Schema, but I can't see how to do it in diagram view and it is shown as an error if I type it in text view.

The code in question is:














Postnext
Paul SpencerSubject: Restriction of complex types
Author: Paul Spencer
Date: 02 Apr 2003 08:46 AM
Don't know why the code disappeared - it was in the preview. Probably the angle brackets. I can mail it to anyone interested.

Posttop
(Deleted User) Subject: Re: Restriction of complex types
Author: (Deleted User)
Date: 02 Apr 2003 08:49 AM
Hi Paul,
I tried entering the schema fragment you pasted into the text view and
validating it, and it validated fine. However, I had to guess how the
TelephoneStructure complex type was defined; can you post (or send it to my
e-mail) the entire schema?

Thanks,
Alberto

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.