RE: WOXMLCoder
RE: WOXMLCoder
- Subject: RE: WOXMLCoder
- From: <email@hidden>
- Date: Mon, 24 Jan 2005 11:29:22 +0100
- Thread-topic: WOXMLCoder
Hi!
Doesn't a mapping like the following ensure the order?
<xs:complexType name="PROJECTINFO">
<xs:sequence>
<xs:element name="NAME" type="name"/>
<xs:element name="JOBITEM" type="name"/>
</xs:sequence>
</xs:complexType>
Pierre
-----Original Message-----
From: webobjects-dev-bounces+pierre.bernard=email@hidden
[mailto:webobjects-dev-bounces+pierre.bernard=email@hidden]On
Behalf Of Mark W. Shead
Sent: Friday, January 21, 2005 10:05 PM
To: email@hidden; email@hidden
Subject: WOXMLCoder
I am using WOXMLCoder to create an XML file. I'm using a model file
that contains the code fragment below:
<entity name="Project" xmlTag="PROJECTINFO">
<property name="projectName" xmlTag="NAME" />
<property name="childTasks" xmlTag="JOBITEM" />
</entity>
It works fine, but the system that is going to read the XML has to have
the NAME tag before the JOBITEM tag. Webobjects always seems to put
these in reverse order no matter what order they are in the mapping
file.
Is there any way to force the order of the elements in the XML file?
--Mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
**********************************************************************
This email and any files transmitted with it are intended solely for
the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the sender
of this message. (email@hidden)
This email message has been checked for the presence of computer
viruses; however this protection does not ensure this message is
virus free.
Banque centrale du Luxembourg; Tel ++352-4774-1; http://www.bcl.lu
**********************************************************************
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden