Re: For an "XML" fieldtype

2008-02-07 Thread Frédéric Glorieux (École nationale des chartes)
Thanks Chris, this idea has been discussed before, most notably in this thread... http://www.nabble.com/Indexing-XML-files-to7705775.html ...as discussed there, the crux of the isue is not a special fieldtype, but a custom ResponseWriter that outputs the XML you want, and leaves any field va

Re: For an "XML" fieldtype

2008-02-06 Thread Chris Hostetter
: > Is there anything wrong with just using string or text fieldType? : > If you use the XML writer, it will get returned xml encodedd (> becomes > : > etc). : : This is quite the only change I done to StrField, so I get back the original : XML string stored, and could directly transform it with

Re: For an "XML" fieldtype

2008-02-04 Thread Frédéric Glorieux
Hi Ryan Thanks for answer, Depends what you are trying to do. Is there anything wrong with just using string or text fieldType? If you use the XML writer, it will get returned xml encodedd (> becomes > etc). This is quite the only change I done to StrField, so I get back the original XML

Re: For an "XML" fieldtype

2008-02-04 Thread Ryan McKinley
Depends what you are trying to do. Is there anything wrong with just using string or text fieldType? If you use the XML writer, it will get returned xml encodedd (> becomes > etc). I think if you use the JSON writer, it is only escaped for json. what is missing? what problem are you hitting