Re: WOXMLCoder
Re: WOXMLCoder
- Subject: Re: WOXMLCoder
- From: Chuck Hill <email@hidden>
- Date: Fri, 21 Jan 2005 16:07:08 -0800
Perhaps I have missed something, but I was under the impression that
the relative order of attributes was not relevant nor defined in XML.
It sounds like the other system is not very standards compliant and has
some very fragile dependancies on the tools they have used. Perhaps
you could ask them to provide an actual XML interface and not just
something that looks vaguely like XML but isn't?
I'd guess that you are going to have to use something else to generate
the XML.
Chuck
On Jan 21, 2005, at 1:05 PM, Mark W. Shead wrote:
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
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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