Sign in to follow this  
Guest tdragger

Approach .xml file

Recommended Posts

Hi,I need help because my source .xml file doesn't generate the relative .bgl file.What's wrong with this file?Thanks G.Franco

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

There are numerous problems with the file. Here's a start:1. There is a space between "http://" and "www" in the first line that needs to be removed.2. XML attributes need to be *inside* the brackets for an element. For example:name="foo"should be:Both the AIRPORT and APPROACH elements in your file exhibit this problem.3. Airports do not have a "long" attribute. It should be "lon".4. Attribute names are case sensitive, so "Type", "gpsoverlay" and "Heading" should be "type", "gpsOverlay" and "heading".5. Enumerations are also case sensitive so "None" and "Terminal_NDB" should be "NONE" and "TERMINAL_NDB".Making these changes will get the file to compile, though the approach still has no legs defined so it will not be very useful.I'd suggest getting a good reference on XML and/or using an XML editor such as XMLSpy that can enforce a schema as you create an XML file since all of the errors above would have been avoided.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this