Jump to content
Sign in to follow this  
Guest tdragger

Approach .xml file

Recommended Posts

Guest tdragger

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...