Jeff,
Below is another example of writing an ILS-approach in XML with additional instructions. Jim Vile (a well known afcad-guru at the PAI-afcad forum) wrote it and I made a small change in the syntax of the xml-code, to get it working (with the approval of Jim). You can find the complete thread in which Jim published this example and more do's and dont's about afcad, approach and ILS with this address as a start:
http://www.flightsimmer.com/forums/showthread.php?t=25733&highlight=bruin)
Hope this helps,
Bert
===================================
The example XML at the bottom is the minimum you need for ATC to understand and use a new ILS runway.
You can use it as a model and change all the pertinent info to write your own ILS-approach.
Use AFCAD to set up the ILS and name the Ident. You will need this for the XML.
You need a new outermarker (VEWES in the example) and will have to make one up. Use AFCAD to get the coords by placing a fictious outermarker symbol (4 to 5 miles) from your runway then read the coord and make that the waypoint info.
Do the same thing for the IAF which is CF26 in the example. Because I assume you are making this up and it is not a published plate set your IAF about 15 to 20 miles from the threshold of your runway (closer if you want the plane to turn in sooner).
Fiqure the rho from the end of the runway and not the threshold. Example
If your runway is 10,560ft. or 2 miles long and IAF is 15 miles from threshold that = 17 miles
17 / .00054 is equal to a rho of 31481.4810
theta is the recip of your runway.
Make sure you have 2 new waypoints (minimum) at the bottom of the XML when you are done.
Below is the minimum xml-code for an instrument-approach:
<?xml version="1.0"?>
<FSData version="9.0"
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation="bglcomp.xsd">
<Airport ident="xxxx" // your airport-data , the same as in the afcad
region=""
country="xxxx"
state="xxxx"
city="xxxx"
name="xxxx"
lat="N19 43.21583" //your airport-lat
lon="W155 2.90817" //your airport-lon
alt="11.58M" //your airport-alt
magvar="349.50"> //your airport-magvar
<Approach type="ILS" runway="26" suffix="0" //your runway,, etc
gpsOverlay="FALSE"
designator="NONE"
fixType="TERMINAL_WAYPOINT"
fixRegion="PH"
fixIdent="VEWES"
altitude="1799.978F"
heading="270.05"
missedAltitude="2999.964F">
<ApproachLegs>
<Leg type="IF"
altitude1="1799.978F"
altitude2="1799.978F"
altitudeDescriptor="A"
theta="79.0000"
rho="29269.0859"
fixType="TERMINAL_WAYPOINT"
fixIdent="CF26"
fixRegion="PH"
recommendedType="LOCALIZER"
recommendedIdent="IITO" />
</ApproachLegs>
<MissedApproachLegs>
<Leg type="CA"
altitude1="449.995F"
altitudeDescriptor="+"
magneticCourse="259.00"
turnDirection="E" />
</MissedApproachLegs>
</Approach>
//Waypoints go here: Example
<Waypoint
lat="19.721300"
lon="-154.922619"
waypointType="NAMED"
magvar="-9.90"
waypointRegion="PH"
waypointIdent="VEWES" />
<Waypoint
lat="19.721180"
lon="-154.781633"
waypointType="UNNAMED"
magvar="-9.90"
waypointRegion="PH"
waypointIdent="CF26" />
</Airport>
</FSData>