[OSM-dev] Split osm line with perl

Simone Cortesi simone at cortesi.com
Sun Nov 29 12:10:03 GMT 2009


On Sun, Nov 29, 2009 at 12:16, Maarten Deen <mdeen at xs4all.nl> wrote:
> I've tried a few things, but I'm not fluent in perl. My problem at the moment is
> that splitting a line on the space character seems logical, but you run into
> problems if a value has a space in it.

wouldnt be wiser to use a DOM/XML parser. which is native able to interpret XML?

i did something like the thing you are trying to accomplish using PHP
XML parser a while ago.

-- 
-S




More information about the dev mailing list