XSD from a Django model (as per XML serializer)

2010-06-09 Thread Spaceman Paul
Is there a way to generate an XSD for the "simple xml dialect" produced by the XML serializer for a given Django model? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us

Re: output of XML serializer

2008-12-19 Thread bruno desthuilliers
pe and name are attributes, content is content ? What's your problem exactly ??? > or to have the XML > serializer just output something simpler? Sorry but I fail to see what could be simpler. --~--~-~--~~~---~--~~ You received this message because you

output of XML serializer

2008-12-18 Thread Mr. T
Can anyone help how to parse out a field, or to have the XML serializer just output something simpler? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

Re: XML serializer

2007-08-06 Thread Russell Keith-Magee
On 8/6/07, birkin <[EMAIL PROTECTED]> wrote: > > > The Django serializers accept any iterable, not just query sets. You > > can pass in any list or set of Django object instances, and they > > willserializefine. > > > I thought the same thing from this line in the serialization > documentation:

Re: XML serializer

2007-08-06 Thread birkin
Russ (and others), > The Django serializers accept any iterable, not just query sets. You > can pass in any list or set of Django object instances, and they > willserializefine. > > Yours, > Russ Magee %-) I thought the same thing from this line in the serialization documentation: (Actually,

Re: XML serializer

2007-06-26 Thread Russell Keith-Magee
On 6/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > Since serializer has query set as parameter. If data is not query > from database, How to construct data structure (query set) and pass to > serializer ? The Django serializers accept any iterable, not just query sets. You

XML serializer

2007-06-21 Thread meledictas
Hi, Since serializer has query set as parameter. If data is not query from database, How to construct data structure (query set) and pass to serializer ? Thank Chatchai --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: error using XML serializer with unicode data

2007-04-12 Thread Russell Keith-Magee
On 4/13/07, Saik <[EMAIL PROTECTED]> wrote: > > But i have no problem with json serializing (the ticket is about > that), what is the correct way in this case? do i add my problem with > xml serialize in that ticket? or do i have to open a new one? > > thx for the info, im a bit lost... I'd

Re: error using XML serializer with unicode data

2007-04-12 Thread Saik
But i have no problem with json serializing (the ticket is about that), what is the correct way in this case? do i add my problem with xml serialize in that ticket? or do i have to open a new one? thx for the info, im a bit lost... regards, Saik. On 12 abr, 02:36, "Russell Keith-Magee" <[EMAIL

Re: error using XML serializer with unicode data

2007-04-11 Thread Russell Keith-Magee
On 4/12/07, Saik <[EMAIL PROTECTED]> wrote: > > Hi people, > > I'm trying to use the serialize utils at > django.core.serializers.xml_serialize and > django.core.serializers.json, i don't have problems using json but i > have issues trying something like that: > > xml =

error using XML serializer with unicode data

2007-04-11 Thread Saik
Hi people, I'm trying to use the serialize utils at django.core.serializers.xml_serialize and django.core.serializers.json, i don't have problems using json but i have issues trying something like that: xml = serializers.serialize("xml", Anymodel.objects.all()) If the model data contains