Thanks for the reply but the suggestion doesn't seem to work. When running it in UNIX I get the following response:
Pseudo-hashes are deprecated at pmonks.pl line 9. Pseudo-hashes are deprecated at pmonks.pl line 9. Found key 'LookAt' with value $VAR1 = undef; Pseudo-hashes are deprecated at pmonks.pl line 10. Pseudo-hashes are deprecated at pmonks.pl line 10. Argument "#SGStyle" isn't numeric in each at pmonks.pl line 10. Bad index while coercing array into hash at pmonks.pl line 10.
Am I correct in saying that % denotes a hash as opposed to @ denoting an array? Also would the code suggested return all child nodes of the placemark element? What I really want to do is return out the
<Point> <coordinates>-3,55</coordinates> </Point>
so that I can run them in another SQL query. Surely to do this I would have to identify the lement I desire e.g. Placemark->Point->coordinates?? I appreciate your help on this one, I am just a little unsure as to the significance of Key and Value Cheers, Niall

In reply to Re^2: XML::Simple troubles by Anonymous Monk
in thread XML::Simple troubles by carterniall

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.