![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with an (easy) parser | aristegui | Shell Programming and Scripting | 7 | 07-15-2008 05:17 AM |
| Text Parser | karthikn7974 | Shell Programming and Scripting | 8 | 04-22-2008 04:16 AM |
| Perl XML:Parser help | vincaStar | Shell Programming and Scripting | 0 | 03-31-2008 12:01 AM |
| xml parser in perl | zedex | Shell Programming and Scripting | 1 | 03-29-2008 11:37 AM |
| string parser | flextronics | Shell Programming and Scripting | 8 | 08-28-2006 03:39 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
xml-parser with perl
Hello
I want to write an xml- parser with perl an i use the libary XML::LibXML. I have a problem with the command getElementsByTagName. If there is an empty tag, the getElementsByTagName method returns a NodeList of length zero. how can i check if this is a nodelist of lenght zero?? i wanted to use a if loop if($var eq "") but then i get the error: Operation "eq": no method found, left argument in overloaded package XML::LibXML::NodeList, right argument has no overloaded magic at ./conv line 284. does anyone knows a solution to my problem? thx |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|