Subject: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?
Subject: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.
> -----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
>
>