[libxml-devel] Libxml directory structure
Sean Chittenden
sean at chittenden.org
Wed Jul 16 19:21:30 EDT 2008
> One can always do the include.
Brevity should, generally speaking, always win.
> But I
> understand that it can be a pain to have to type 'include LibXML' when
> you want it at the toplevel. That's why I suggested a second require
> 'libxml/xml' which seems fitting since that is what you are asking for
> too, LibXML::XML.
I missed the semantic difference here, but get it now.
require 'libxml' # LibXML::XML::*
require 'libxml/xml' # XML::*
That concept works for me... though I'd invert it.
require 'libxml' # XML::*
require 'ilbxml/app' # LibXML::XML::*
Where 'libxml.rb' does the include, and libxml/app ('gem', or
whatever), does not. ??
--
Sean Chittenden
sean at chittenden.org
More information about the libxml-devel
mailing list