> >
> >You're on Windows?  Notepad will do just fine.
> >
Agreed.. Notepad is great for creating plain text files under windows;
easy to use and can be found everywhere.

> >-c
> >
> Thought so, I cut and paste the contents of another xml file into Notepad > including the XML version header and deleted the unnecessary lines, changed
> the AC file reference and saved the result as hanger.xml. When I went to
> open it up (in Internet Explorer) IE complained it couldn't load it. It must
> have been a formating issue rather than contents. Never mind, will forge
> ahead and see if I can get the hanger to load into FG.
>

Dene,

I had the same issue of validating the xml at work last night. I ended
up searching Google for validating xml.

George


Bugger!!! created a xml file with contents

 <?xml version="1.0" ?>
- <PropertyList>
 <path>hanger.ac</path>
 </PropertyList>

edited the appropiate stg file thus

OBJECT_BASE 5803051.btg
OBJECT NZWN.btg
OBJECT_SHARED Models/Airport/beacon.xml 174.80798 -41.32667 9.1 0
OBJECT_SHARED Models/Structures/radio-medium.xml 174.801361 -41.30125 166.8377612 0 OBJECT_SHARED Models/Airport/windsock_lit.xml 174.8079063 -41.31730438 3.825988854 0
OBJECT_SHARED Models/Airport/tower.xml 174.8039369 -41.32129656 19.864977 0
OBJECT_SHARED Models/Airport/hanger.xml 174.804402 -41.32574708 7.034213815 0

when I ran FG I got

WARNING: ssgLoadAC: Failed to open 'C:/Program Files/FlightGear098/data/Models/Airport/hanger.ac' for reading
Failed to load 3D model

verified Hanger.xml format by loading it into IE ok

what am I doing wrong?

_________________________________________________________________
Shop ‘til you drop at XtraMSN Shopping http://shopping.xtramsn.co.nz/home/



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to