[Potlatch-dev] Splitting map_features.xml into separate files
Andy Allan
gravitystorm at gmail.com
Mon Jan 10 11:33:56 GMT 2011
On Sun, Jan 9, 2011 at 5:16 PM, Richard Fairhurst <richard at systemed.net> 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
More information about the Potlatch-dev
mailing list