forum for navit navigation tool
It is currently 26 Sep 2022, 00:30
View unanswered posts | View active topics

All times are UTC

Forum rules

Feel free to ask anything here related to the installation and configuration of Navit.

Some notes before your first post:

Please provide as much informations as possible:

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: XML Entity Undefined
PostPosted: 26 May 2018, 04:51 

Joined: 26 May 2018, 04:33
Posts: 4
Hello everybody, I'm new to Navit and am trying to change the road colors, but I don't want to have to go through and update the 12 different highway entries every time I want to try a different color. I'm also not super knowledgeable in XML, but after googling I decided to try Entities, but I'm getting an error.

I have tried defining the entity in the top of the document and also just above "streets" layer, but no matter what I try, I still get "error:navit:main_real:Error parsing config file "/navit/navit.xml" on line 1575: Entity name "highway" is not known at line 1575, char 34." I can't find anything like it on google, so is this something to do with the parser that navit is using?

The definition (above "streets") is as follows:

<!DOCTYPE layer [
    <!ENTITY highway "#49639A">

and the usage is:
<polyline color="&highway;" width="1"/>

Am I just doing things wrong?

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Silver Orange 2.0.6 for IPB Designed by Skins and Hosting
Converted for phpBB3, based on Royal Blue template by BigB © 2007 2008 AEON KINGS