Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
ezfit:solutions_guide:xml_format_and_parameters [2009/05/22 10:56] smayr |
ezfit:solutions_guide:xml_format_and_parameters [2009/12/01 17:35] (current) ajdavis |
Sample File Structure: | Sample File Structure: |
<html> | <html> |
<table border="1" cellpadding="1" cellspacing="0" width="700"> | <table border="1" cellpadding="1" cellspacing="0" width="700" class="inline"> |
<tbody><tr> | <tbody><tr> |
<th>Sample File Structure</th> | <th>Sample File Structure</th> |
</tbody></table> | </tbody></table> |
</html> | </html> |
| |
=== Element Descriptions and Attributes === | === Element Descriptions and Attributes === |
<html> | <html> |
| |
<table width="100%" border="1" cellpadding="1" cellspacing="0"> | <table width="100%" border="1" cellpadding="1" cellspacing="0" class="inline"> |
<tr> | <tr> |
<th width="24%">Element</th> | <th width="24%">Element</th> |
<td>Code="<em>CircuitCode</em> <em>AdjName</em>"</td> | <td>Code="<em>CircuitCode</em> <em>AdjName</em>"</td> |
<td>Container for serveral adjustments. <em>CircuitCode</em> must the the | <td>Container for serveral adjustments. <em>CircuitCode</em> must the the |
same code defined in <CIRCUIT>. <em>AjdName</em> can be any string | same code defined in <CIRCUIT>. <em>AdjName</em> can be any string |
that best describes the adjustment.</td> | that best describes the adjustment.</td> |
| |
<td> Row="<em>RowNumber</em>" </td> | <td> Row="<em>RowNumber</em>" </td> |
<td>Row (order) where to display it. Row numbering starts with 0. Eg: Row="0"</td> | <td>Row (order) where to display it. Row numbering starts with 0. Eg: Row="0"</td> |
| </tr> |
| |
| <tr valign="top"> |
| <td> </td> |
| <td> Steps="<em>NumSteps</em>" </td> |
| <td>The number of time(s) to apply a step before moving to the next one.</td> |
</tr> | </tr> |
| |
</td> | </td> |
</tr> | </tr> |
| |
<tr valign="top"> | <tr valign="top"> |
<td> </td> | <td> </td> |
| |
<html> | <html> |
<table border="1" cellpadding="1" cellspacing="0" width="700"> | <table border="1" cellpadding="1" cellspacing="0" width="700" class="inline"> |
<tbody><tr> | <tbody><tr> |
<th>fittingguide.xml</th> | <th>fittingguide.xml</th> |
Example ''fittingguide.xml'' file: | Example ''fittingguide.xml'' file: |
<html> | <html> |
<table border="1" cellpadding="1" cellspacing="0" width="700"> | <table border="1" cellpadding="1" cellspacing="0" width="700" class="inline"> |
<tbody><tr> | <tbody><tr> |
<th>fittingguide.xml</th> | <th>fittingguide.xml</th> |
| |
* ADJUSTMENTS (plural) Code: Code string for a category of Adjustments, rather than a single adjustment. It cannot have other adjustment parameters. Note: This code string is composed of CircuitCode + IssueTitle, and it is case sensitive. For example: if the Circuit Code is "P2" (case sensitive), and the Issue Title is "Feedback" (case sensitive), then the Adjustments Code would be "P2 Feedback". See the code:<html> | * ADJUSTMENTS (plural) Code: Code string for a category of Adjustments, rather than a single adjustment. It cannot have other adjustment parameters. Note: This code string is composed of CircuitCode + IssueTitle, and it is case sensitive. For example: if the Circuit Code is "P2" (case sensitive), and the Issue Title is "Feedback" (case sensitive), then the Adjustments Code would be "P2 Feedback". See the code:<html> |
<table border="1" cellpadding="1" cellspacing="0" width="600"> | <table border="1" cellpadding="1" cellspacing="0" width="600" class="inline"> |
<tbody><tr> | <tbody><tr> |
<td><tt><CIRCUIT Code="P2" Title="Paragon 2"><br> | <td><tt><CIRCUIT Code="P2" Title="Paragon 2"><br> |
Example ''fittingguide.xml'' file: | Example ''fittingguide.xml'' file: |
<html> | <html> |
<table border="1" cellpadding="1" cellspacing="0" width="100%"> | <table border="1" cellpadding="1" cellspacing="0" width="100%" class="inline"> |
<tbody><tr> | <tbody><tr> |
<th>fittingguide.xml</th> | <th>fittingguide.xml</th> |
<p>Example:</p> | <p>Example:</p> |
| |
<table border="1" cellpadding="1" cellspacing="0" width="100%"> | <table border="1" cellpadding="1" cellspacing="0" width="100%" class="inline"> |
<tbody><tr> | <tbody><tr> |
<th>fittingguide.xml</th> | <th>fittingguide.xml</th> |
| |
| |
| == ezFIT 5.x Platform == |
| * Add support for localization. For example: |
| <html> |
| <table border="1" cellpadding="1" cellspacing="0" width="700" class="inline"> |
| <tbody><tr> |
| <th>Sample File Structure in ezFIT 5.x</th> |
| </tr> |
| <tr> |
| <td><?xml version="1.0" encoding="UTF-8"?><br> |
| |
| <PROJECT><br> <CIRCUIT Code="<em>circuitcode</em>" |
| Title="Instrument Model: <em>intrument model</em>"><br> |
| |
| <br> |
| <ISSUES Title="Subtitle 1"><br> |
| <ISSUE Title="Subtitle A of Subtitle 1 "><br> |
| <ADJUSTMENTS Code="<em>circuitcode</em> |
| Adjustments Set I"><br> |
| <ADJUSTMENT Row="0" Action="Y" Title="<em>Action |
| Description</em>" > <br> |
| </ADJUSTMENTS><br> </ISSUE><br> |
| </ISSUES><br> |
| <ISSUE Title="Subtitle B of Subtitle 1 "><br> |
| <ADJUSTMENTS Code="<em>circuitcode</em> |
| Adjustments Set II"><br> |
| <ADJUSTMENT Row="1" Action="Y" Title="<em>Action |
| Description</em>" > <br> |
| </ADJUSTMENTS><br> </ISSUE><br> |
| </ISSUES><br> <br> |
| <ISSUES Title="Subtitle 2"><br> |
| <ISSUE Title="Subtitle A of Subtitle 2"><br> |
| <ADJUSTMENTS Code="<em>circuitcode</em> |
| Adjustments Set III"><br> |
| <ADJUSTMENT Row="0" Action="Y" Title="<em>Action |
| Description</em>" > <br> |
| </ADJUSTMENTS><br> </ISSUE><br> |
| </ISSUES><br> <br> </CIRCUIT><br> |
| </PROJECT></td> |
| |
| </tr> |
| </tbody></table> |
| </html> |
| |
| <html> |
| <table border="1" cellpadding="1" cellspacing="0" width="700" class="inline"> |
| <tbody><tr> |
| <th>Sample File Structure in ezFIT 5.x</th> |
| </tr> |
| <tr> |
| <td> |
| <pre> |
| <code><span style="font: 10pt Courier New;"><span class="pas1-symbol"><?xml version="1.0" encoding="UTF-8"?> |
| <PROJECT> |
| <font color="#ff0000"><languages> |
| <lang id="en" name="English (US)">English</lang> |
| <lang id="fr" name="French">Français</lang> |
| <lang id="pt" name="Portuguese">Português</lang> |
| <lang id="es" name="Spanish">Español</lang> |
| <lang id="da" name="Danish">Dansk</lang> |
| <lang id="tr" name="Turkish">Türkçe</lang> |
| <lang id="ru" name="Russian">??????</lang> |
| <lang id="cn" name="Chinese (Mandarin)">??</lang> |
| </languages></font> |
| <CIRCUIT Code="circuitcode" Title="Instrument Model: intrument model"> |
| <font color="#ff0000"> |
| <native>Instrument Model: intrument model</native> |
| <lang id="es">Modelo de Audífono: Model de Audífono</lang> |
| <lang id="fr">...</lang> |
| ... |
| </font> |
| <ISSUES Title="Subtitle 1"> |
| <font color="#ff0000"> |
| <native>Subtitle 1</native> |
| <lang id="es">Subtítulo 1</lang> |
| <lang id="fr">...</lang> |
| ... |
| </font> |
| <ISSUE Title="Subtitle A </span><span class="pas1-reservedword">of</span><span class="pas1-space"> Subtitle 1"> |
| <font color="#ff0000"> |
| <native>Subtitle A </span><span class="pas1-reservedword">of</span><span class="pas1-space"> Subtitle 1</native> |
| <lang id="es">Subtítulo A de Subtítulo 1</lang> |
| <lang id="fr">...</lang> |
| ... |
| </font> |
| <ADJUSTMENTS Code="circuitcode Adjustments </span><span class="pas1-reservedword">Set</span><span class="pas1-space"> I"> |
| <font color="#ff0000"> |
| <native>Adjustments </span><span class="pas1-reservedword">Set</span><span class="pas1-space"> I</native> |
| <lang id="es">Ajuste Conjunto I</lang> |
| <lang id="fr">...</lang> |
| ... |
| </font> |
| <ADJUSTMENT Row="0" Action="Y" Title="Action Description" > |
| <font color="#ff0000"> |
| <native>Action Description</native> |
| <lang id="es">Descripción de Accción</lang> |
| <lang id="fr">...</lang> |
| ... |
| </font> |
| </ADJUSTMENTS> |
| </ISSUE> |
| </ISSUES> |
| <ISSUE Title="Subtitle B </span><span class="pas1-reservedword">of</span><span class="pas1-space"> Subtitle 1 "> |
| <ADJUSTMENTS Code="circuitcode Adjustments </span><span class="pas1-reservedword">Set</span><span class="pas1-space"> II"> |
| <ADJUSTMENT Row="1" Action="Y" Title="Action Description" > |
| </ADJUSTMENTS> |
| </ISSUE> |
| </ISSUES> |
| |
| <ISSUES Title="Subtitle 2"> |
| <ISSUE Title="Subtitle A </span><span class="pas1-reservedword">of</span><span class="pas1-space"> Subtitle 2"> |
| <ADJUSTMENTS Code="circuitcode Adjustments </span><span class="pas1-reservedword">Set</span><span class="pas1-space"> III"> |
| <ADJUSTMENT Row="0" Action="Y" Title="Action Description" > |
| </ADJUSTMENTS> |
| </ISSUE> |
| </ISSUES> |
| |
| </CIRCUIT> |
| </PROJECT> |
| </span></span> |
| </code></pre> |
| </td></tr></table> |
| </html> |
| * Modify behavior for Decrease (D) operator. |