Are you sure you have the case right? That is generally what bites in the a**.
-Dgg -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of bruce Sent: Saturday, June 05, 2004 6:55 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: installing perl mods... hi... a quick question... in trying to use libxml.. i see that other nods might be used/required.. i'm looking/trying to use xml:libxml::node... when i go to cpan, and try to install.. it states that it can't find the mod. in searching googl.. i don't really find a way to download the item in question, simply references to it.. in fact, i migh talready have it as part of xml::libxml.. so basically, how do i find xml::libxml::node and how do i install it??? thanks... -bruce -----Original Message----- From: bruce [mailto:[EMAIL PROTECTED] Sent: Saturday, June 05, 2004 11:04 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: libxml questions... mark, the following is close. i played around with a number of different approaches, and i have a basic question... ####################### my @sectionTRs = $doc->findnodes('//[EMAIL PROTECTED]"sectionheading"]]'); foreach $section (@sectionTRs) { my $nextTR = $section->nextSibling(); my @keys = $nextTR->findnodes('td/strong'); my @values = $nextTR->findnodes('td/text()'); # save keys and values } ####################### how do i view the actual underlying html for the nextTR/key/value... when dealing with libxml, how can i display/print out/dump what i'm looking at. various methods produce XML::LibXML::NodeList, XML::LibXML::Element, etc... but i can't find any way to print/display the underlying html/text for a given element. my question, is there a way to "convert" the node/nodelist/element to html... or am i essentially hosed!! the basic reason for the question is to try and be able to switch between using libxml/xpath and treebuilder methods as i'm parsing html docs... searches of google/cpan haven't turned up a working solution... thanks.. -bruce _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs