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
Robert BuckSubject: xsd:list as character data
Author: Robert Buck
Date: 22 Apr 2002 04:17 PM
Minollo et al,

I would like to be able to create a schema for the following fragment:


34.5 54.2 12.1 87.8


,where dimensions is of type xsd:list of integer, restricted to cardinality of 2. The character data content is a list, restricted to type xsd:double.

What I have tried is:















maxOccurs="unbounded"
base="mct:double-scalar"/>










But this does not seem to work for me. When I validate it (the xml) with Stylus it indicates problems. So I am positive I have it wrong somehow. Do you guys have an idea of how I can accomplish creating a schema for the fragment I showed you?

Thanks.

Bob Buck

Postnext
Robert BuckSubject: xsd:list as character data
Author: Robert Buck
Date: 22 Apr 2002 04:19 PM
Ooops, check the source in the pane to see the xml content (there is actually more there than you see). If it would be easier to just email the files to you, let me know. I have your email addresses.

thx.

Posttop
Ivan PedruzziSubject: RE: list as character data
Author: Ivan Pedruzzi
Date: 22 Apr 2002 05:06 PM

Bob,

try this
























type="dimensions"/>








Ivan Pedruzzi
eXcelon Corporation
http://www.stylusstudio.com



> -----Original Message-----
> From: stylus-studio-tech Listmanager [mailto:listmanager]
> Sent: Monday, April 22, 2002 4:29 PM
> To: Recipients of 'stylus-studio-tech' suppressed
> Subject: xsd:list as character data
>
>
> From: "Robert Buck"
>
> Minollo et al,
>
> I would like to be able to create a schema for the following fragment:
>
>
> 34.5 54.2 12.1 87.8
>

>
> ,where dimensions is of type xsd:list of integer, restricted
> to cardinality of 2. The character data content is a list,
> restricted to type xsd:double.
>
> What I have tried is:
>
>
>
>

>
>
>
>

>
>
>
>

>
>
>
> > maxOccurs="unbounded"
> base="mct:double-scalar"/>
>

>
>
>
>
>

>

>

>

>
> But this does not seem to work for me. When I validate it
> (the xml) with Stylus it indicates problems. So I am positive
> I have it wrong somehow. Do you guys have an idea of how I
> can accomplish creating a schema for the fragment I showed you?
>
> Thanks.
>
> Bob Buck
>
>
>
> To reply: mailto:stylus-studio-tech.4985@edn.exceloncorp.com
> To start a new topic: mailto:stylus-studio-tech@edn.exceloncorp.com
> To login: http://edn.exceloncorp.com/~SSDN
>
>

 
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.