What is XLM and how to use
Posted: Thu Jul 27, 2017 11:03 am
Sorry for asking such a basic question. All the explanations I see wander off into code and zillions of definitions....but no one seems to get down to basics and provide a how it works description....
I see a lot of XML creeping into my flight sim world where we are creating these xml routines...I have created this code because some one said I need it. But, lets start at the beginning. I have this xml routine. It is sitting in my documents structure where I got told to place it.
How does the computer know it is there?
what tells the computer to do some thing with this routine?
What do I do that triggers the computer to see this routine?
The routine I was told to create is below...
<SimBase.Document Type="AddOnXml" version="4,0" id="add-on">
<AddOn.Name>AI Traffic - Aircraft</AddOn.Name>
<AddOn.Description>AI Traffic - Aircraft</AddOn.Description>
<AddOn.Component>
<Category>SimObjects</Category>
<Path>D:\Prepar3D Add-on\AI Traffic - Aircraft</Path>
</AddOn.Component>
<AddOn.Component>
<Category>Effects</Category>
<Path>D:\Prepar3D Add-on\AI Traffic - Aircraft\effects</Path>
</AddOn.Component>
<AddOn.Component>
<Name>AI Traffic - Aircraft</Name>
<Category>Scenery</Category>
<Path>D:\Prepar3D Add-on\AI Traffic - Aircraft\scenery</Path>
</AddOn.Component>
<AddOn.Component>
<Category>Texture</Category>
<Path>D:\Prepar3D Add-on\AI Traffic - Aircraft\texture global</Path>
<Type>GLOBAL</Type>
</AddOn.Component>
</SimBase.Document>
Sorry if this is too basic...just curious..
Geoff
I see a lot of XML creeping into my flight sim world where we are creating these xml routines...I have created this code because some one said I need it. But, lets start at the beginning. I have this xml routine. It is sitting in my documents structure where I got told to place it.
How does the computer know it is there?
what tells the computer to do some thing with this routine?
What do I do that triggers the computer to see this routine?
The routine I was told to create is below...
<SimBase.Document Type="AddOnXml" version="4,0" id="add-on">
<AddOn.Name>AI Traffic - Aircraft</AddOn.Name>
<AddOn.Description>AI Traffic - Aircraft</AddOn.Description>
<AddOn.Component>
<Category>SimObjects</Category>
<Path>D:\Prepar3D Add-on\AI Traffic - Aircraft</Path>
</AddOn.Component>
<AddOn.Component>
<Category>Effects</Category>
<Path>D:\Prepar3D Add-on\AI Traffic - Aircraft\effects</Path>
</AddOn.Component>
<AddOn.Component>
<Name>AI Traffic - Aircraft</Name>
<Category>Scenery</Category>
<Path>D:\Prepar3D Add-on\AI Traffic - Aircraft\scenery</Path>
</AddOn.Component>
<AddOn.Component>
<Category>Texture</Category>
<Path>D:\Prepar3D Add-on\AI Traffic - Aircraft\texture global</Path>
<Type>GLOBAL</Type>
</AddOn.Component>
</SimBase.Document>
Sorry if this is too basic...just curious..
Geoff