in reply to Parsing XML Simple Output

You could just loop through the hash while( my( $key, $product)= each %{$xml->{product}) { ... }, or you could change the options for XMLin. I guess ORANGE MOTO V545 is in an attribute that's considered a key by XMLin ( name, key or id by default). Look at the KeyAttr option to change this.

Replies are listed 'Best First'.
Re^2: Parsing XML Simple Output
by webchalkboard (Scribe) on Apr 15, 2005 at 16:42 UTC

    Thanks! I think that's put me on the way to working this one out ;)

    Learning without thought is labor lost; thought without learning is perilous. - Confucius
    WebChalkboard.com | For the love of art...