« Return to Thread: Problem in Converting XSD to Document

Re: Problem in Converting XSD to Document

by niamul :: Rate this Message:

Reply to Author | View in Thread

I want to put some complex Type is the list.
Is it possible?
Also can u suggest me the use of xs:ENTITIES and xs:NMSTOKENS ?
There are little abount it in the internet .
Thanks in advance....

Jacob Danner-2 wrote:
Are you referring to the use of xsd:list?
Then as far as I know there is no way to do this because xsd:list is limited
to simpleTypes, built-in, and derived types.
Here is some more information on this type including what built-in types are
supported.
http://www.w3.org/TR/xmlschema-0/#ListDt

Also, out of curiousity, how do you want your content represented? Items in
a list are usually something like:
<list>a b c</list>
How is your content type supposed to match this?
Hope this helps,
-jacobd

On 10/3/07, niamul <niamulqs@gmail.com> wrote:
>
>
> My requirement is as follows :
>
> I want to write a xsd which will contain a list of ComplexType.Butpresently
> I m getting error while trying to write this xsd. Is there any way to put
> complexType in a list?
> --
> View this message in context:
> http://www.nabble.com/Problem-in-Converting-XSD-to-Document-tf4560153.html#a13013844
> Sent from the Xml Beans - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
> For additional commands, e-mail: user-help@xmlbeans.apache.org
>
>

 « Return to Thread: Problem in Converting XSD to Document