User Profile

Collapse

Profile Sidebar

Collapse
SeniorSE
SeniorSE
Last Activity: Mar 17 '08, 04:52 PM
Joined: Mar 11 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • SeniorSE
    replied to Deleteing null tags in XML file with perl
    in Perl
    Can you please supply your current code and the input file? This would allow us to see what you are doing and possible help. Thanks.

    Mark...
    See more | Go to post

    Leave a comment:


  • SeniorSE
    replied to arguments problem
    in Perl
    there is a good promptUser script that I found on the internet. I am copying it here. You'll figure out how to use it.

    Good luck,
    Mark

    Code:
    #!/usr/bin/perl
    #----------------------------------------------------------------------#
    #  Copyright 1998 by DevDaily Interactive, Inc.  All Rights Reserved.  #
    #----------------------------------------------------------------------#
    ...
    See more | Go to post

    Leave a comment:


  • SeniorSE
    replied to SOAP::Lite XML hash
    in Perl
    You could use something like the following code to get at the data:

    Code:
    ...
    @items = $xml->valueof('//Message/Deliveries/Delivery');
    
    foreach my $item (@items) {
      print "Delivery to: $item->{'DeliveryName']";
      print "Delivery Status is: $item->{'DeliveryStatus']";
    };
    ...
    I might be a little off in the 'valueof' statement, based on your XML. ...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...