>
>
> Cool. So I assume you want this to be a drop in replacement for whatever
> Rails is using now (REXML I assume?). Does Rails have a test suite for
> outputting xml that you can test against?
>
Rails uses a wrapper around REXML. Just the other day I stumbled on a
project which replaces som
Hey Tim,
Here is what I came up with. It mimics the rails method in that it
does not deal with attributes. It also doesn't do anything with
namespaces either. Frankly I don't quite know how I would deal those
issues anyway.
Cool. So I assume you want this to be a drop in replacement for
what
> Would probably be pretty easy to see how Rails does it, and then just
> modify it as needed to use libxml. Patches always welcome :)
>
> Charlie
>
Hey Charlie.
Here is what I came up with. It mimics the rails method in that it
does not deal with attributes. It also doesn't do anything with
na
Hey Tim,
It would be very nice to have these methods in the respective objects.
Rails has a Hash.from_xml method but it uses REXML and is slow.
Would probably be pretty easy to see how Rails does it, and then just
modify it as needed to use libxml. Patches always welcome :)
Charlie
It would be very nice to have these methods in the respective objects.
Rails has a Hash.from_xml method but it uses REXML and is slow.
___
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel