FORMAT:
Yeah I agree the {}/[] issue complex and after going another round with
xotree I have to say I really like the 'force_array' map it optionally
allows. That said the asArray() solution works and I might like it even
better once I'm using it becuase I'm totlly Lazy ;)
ATTRIBUTES:
if you wan
Oh and now that I'm reading my response I forgot to mention these characters
in xml names, '-' (minus) and '.' (dot). Obviously not legal tender in the
js arena. The only thing I can think of here is to not map to a legal js
name and force the associative array usage, eg via foo['bar-goop']
Ugh
Hi Chris,
FORMAT:
I set the 'simple mode' (arrays only when necessary) as default
because it suited my usage of the plugin. I completely see the
argument of always using arrays so the format of the output is always
known (ie.: in arrays), but I do have a reservation about that. I
think in most ca
On Tue, Jul 15, 2008 at 4:01 PM, Diego A. <[EMAIL PROTECTED]> wrote:
> Hi Chris,
>
> AJAX:
>> Yeah actually I think it's normally sufficient to let the user use jquery
>> ajax as usual but just provide easy functions to unmarshal/marshal into the
>> format they need where ever they need it. It re
Hi Chris,
AJAX:
> Yeah actually I think it's normally sufficient to let the user use jquery
> ajax as usual but just provide easy functions to unmarshal/marshal into the
> format they need where ever they need it. It reduces the size of the plugin
> and I've sort of found most ajax-convenience fu
On Tue, Jul 15, 2008 at 10:18 AM, Diego <[EMAIL PROTECTED]> wrote:
>
> Hi Chris,
>
> I'd be glad to work on this with you. Unfortunately, I'm completely
> tied up with a couple of other projects for the next few days. I won't
> have a chance to work on the next version, but I'll let I know as soon
Hi Chris,
I'd be glad to work on this with you. Unfortunately, I'm completely
tied up with a couple of other projects for the next few days. I won't
have a chance to work on the next version, but I'll let I know as soon
as I make some changes.
AJAX:
Although I released this as a jQuery plugin, i
yeah it would be great to see it ported to a jQuery plugin in combination
with your work and then you could actually use jQuery ajax and it would be
cleaner. I've used it a lot and for me the big thing is the ability to easy
set what elements are treated as array's even if only one is present
(bec
Hi Chris,
I hadn't seen xotree before, but I found it...
http://www.kawa.net/works/js/xml/objtree-e.html
...and looking at the examples, it seems to behave exactly like my
plugin but it's more flexible with options and built-in ajax support.
It's definitelly a good base for future development of
Hi Alexsandro,
Yeah, that could work. Watch this thread. I will post back here when
I've done it...
Cheers,
Diego A.
On Jul 7, 3:30 pm, Alexsandro_xpt <[EMAIL PROTECTED]> wrote:
> Hi Diego,
>
> I mean ( 1 )
>
> I Know, but would be something like that Diego name> already great. :)
>
> Nice plug
Have you looked at xotree.js ? Nice work.
On Mon, Jul 7, 2008 at 10:30 AM, Alexsandro_xpt <[EMAIL PROTECTED]> wrote:
>
> Hi Diego,
>
> I mean ( 1 )
>
> I Know, but would be something like that Diego name> already great. :)
>
>
> Nice plugin.!!
>
>
>
> On 5 jul, 00:06, Diego <[EMAIL PROTECTED]> w
Hi Diego,
I mean ( 1 )
I Know, but would be something like that Diego already great. :)
Nice plugin.!!
On 5 jul, 00:06, Diego <[EMAIL PROTECTED]> wrote:
> Hi Alexsandro,
>
> Do you mean
> (1)"convert the generate JSON back to XML"?
> OR...
> (2)"define a javascript object and convert it
Hi Mike,
I actually wrote this to use with your form plugin (to process xml
responses of a CMS).
Really appreciate your feedback...
Cheers,
Diego
Mike Alsup wrote:
> > See the documentation page for more examples and demos.
> > XML to JSON Plugin -http://fyneworks.com/jquery/xml-to-json/
> >
>
Hi Alexsandro,
Do you mean
(1)"convert the generate JSON back to XML"?
OR...
(2)"define a javascript object and convert it to XML"?
If (1):
I initially built this plugin for my personal use (for my
"convenience") so I could easily process XML data. Because of that, I
didn't bother to differe
> See the documentation page for more examples and demos.
> XML to JSON Plugin -http://fyneworks.com/jquery/xml-to-json/
>
> As always, feedback is welcome!
>
> Cheers,
> Diego
Very nice, Diego!
Very good!!!
Are possible to do reverse?
--
Alexsandro
www.alexsandro.com.br
On 4 jul, 12:34, Diego <[EMAIL PROTECTED]> wrote:
> I wrote this a few months but didn't have the time to share it. Now
> that I've re-done the documentation for 2 of my plugins I thought I'd
> give it a few hours, k
16 matches
Mail list logo