Re: [xml] how to change value of an attribute not attached to element



On Wed, 23 Jan 2002, Petr Kozelka wrote:

There is several requirements behind the decision to wrap directly libxml2:
- compatibility with both windows and linux

actually libgdome runs on windows:
http://libgdome-ruby.berlios.de/build_on_windows.html

- minimum dependencies imposed

true, however libgdome is provided as a rpm, and it should be possible to 
generate a libgdome dll for windows.

- strict DOM compliance (which is quite hard to achieve with any code generator)

Well libgdome is working towards strict DOM compliance, and you'll have
a great head start.  It is currently mostly compliant with DOM Level 2.

- optimal reuse of wrapper objects created (some wrappers do not hesitate to create a new wrapper object 
upon every access to a
node, which results in having many wrappers for single node in some cases)

libgdome uses the _private member of the libxml structures to store
a references to the wrapper object, so there is at most one libgdome 
object per libxml object.

C++ (this looks interesting - can be extended to any language):
http://gmetadom.sourceforge.net/

Perl:
http://tjmather.com/xml-gdome/

Ruby:
http://libgdome-ruby.berlios.de/

Also, there are plans to add libxslt support directly into libgdome.

thanks for the pointers, I will check out, can be useful...

if you decide to continue to work on the libxml wrapper, it might also be 
useful for you to check out XML::LibXML (Perl wrapper to libxml).  See
http://search.cpan.org/search?dist=XML-LibXML




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]