How to get declaration in the order defined in XML Schema file [message #49735] |
Mon, 02 August 2004 14:09  |
Eclipse User |
|
|
|
Hi,
I noticed that XSDSchema.getAttributeDeclarations(),
getAttributeGroupDefinitions(), and getElementDeclarations() all return
the declarations in an alphabetic order, rather than the original order
defined in the XSD file. Is there a way to get those declarations
according to the order provided in the XSD file?
Thanks.
Joshua
|
|
|
Re: How to get declaration in the order defined in XML Schema file [message #49765 is a reply to message #49735] |
Tue, 03 August 2004 06:52  |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Joshua,
XSDSchema.getContents will return the physical declarations contained by
a given schema in source order.
Joshua Hui wrote:
> Hi,
>
> I noticed that XSDSchema.getAttributeDeclarations(),
> getAttributeGroupDefinitions(), and getElementDeclarations() all
> return the declarations in an alphabetic order, rather than the
> original order defined in the XSD file. Is there a way to get those
> declarations according to the order provided in the XSD file?
>
> Thanks.
>
> Joshua
>
|
|
|
Re: How to get declaration in the order defined in XML Schema file [message #589987 is a reply to message #49735] |
Tue, 03 August 2004 06:52  |
Eclipse User |
|
|
|
Joshua,
XSDSchema.getContents will return the physical declarations contained by
a given schema in source order.
Joshua Hui wrote:
> Hi,
>
> I noticed that XSDSchema.getAttributeDeclarations(),
> getAttributeGroupDefinitions(), and getElementDeclarations() all
> return the declarations in an alphabetic order, rather than the
> original order defined in the XSD file. Is there a way to get those
> declarations according to the order provided in the XSD file?
>
> Thanks.
>
> Joshua
>
|
|
|
Powered by
FUDForum. Page generated in 0.07268 seconds