On Sun, Jan 9, 2011 at 5:16 PM, Richard Fairhurst <[email protected]> wrote:
> map_features.xml is currently 3742 lines. That's quite horrible.
>
> I've added support for includes, so we can split it into several files. It
> works like this:
>
>        [...beginning of map_features.xml...]
>        <include file="map_features/roads.xml" />
>        [...rest of map_features.xml]

This is awesome. Did you try the standard syntax e.g. <!ENTITY roads
SYSTEM "map_features/roads.xmll"> ? I hadn't got round to seeing if
the adobe XML parser could handle that kind of thing. I'm also hoping
at some point to do the same with the .css files and the @import
url("base.css"); syntax, but again I don't know if the parse will
accept this.

Anyway, it's awesome.

Cheers,
Andy

_______________________________________________
Potlatch-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/potlatch-dev

Reply via email to