• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Is there a program to parse XML files and

Can you explain exactly what you are looking for? Are you asking for something that will create some sort of database from an XML file? If that file is the xml for a scenery bgl file then you could use my Scenery Design Engine - this extracts the information contained in the bgl file directly - it also makes the XML available for compilation with BGLComp. The build on my website is not complete but there will be a complete one in about one week's time.

Or maybe you want something else?
 
Can you explain exactly what you are looking for? Are you asking for something that will create some sort of database from an XML file? If that file is the xml for a scenery bgl file then you could use my Scenery Design Engine - this extracts the information contained in the bgl file directly - it also makes the XML available for compilation with BGLComp. The build on my website is not complete but there will be a complete one in about one week's time.

Or maybe you want something else?

Just a parsing program to pick out what I select to use from any XML file.
Going to a database would be nice too.
 
If you are looking for a really general parser, you can try MSXML from Microsoft. Search for it in the downloads section of microsoft.com. Don't forget to get the version with the SDK, not just the runtime.

Flight simulator uses version 4, but feel free to use any version you like. Just don't expect a magic bullet. It will still require a good amount of programming on your part.

Cheers,
Sean
 
Just a parsing program to pick out what I select to use from any XML file.
Going to a database would be nice too.

Take a look at SDE and see if that is doing the kind of thing you want. It provides a way to extract all the data. As mentioned above the current available build is not complete but the new one does almost everything (I am away from home so will not upload it until I return at the middle of next week),

Alternatively if you use a dotNET based programming language then I would recommend that you use one of the XML classes in there rather than MSXML. These classes provide the parsing tools needed to extract what you want from an XML file. There are full document processing classes as well as faster forward only XML reader classes.
 
If you are coding in C#/.Net, the .NET framework has a lot of XML parsing facilities built in (basically parses the XML file into a node tree structure in memory - pretty much the same thing that the MSXML SDK will do from a C/C++ program.

If you just want to READ an XML file on-screen, you can double click on an .XML file and it will load up in IE or you can just open it in Notepad (XML files are just text files with special formatting and tagging)
 
Back
Top