About Arbortext Styler > Extending Stylesheets > Editing FOSI Resource Description Source
  
Editing FOSI Resource Description Source
Arbortext Styler enables you to edit the FOSI resource description to affect display in Arbortext Editor and Print and PDF outputs (if your stylesheet uses FOSI for print and PDF).
There are two types of edits you can make:
Add a new charfill, counter, floatloc, hyphrule, or stringdecl element.
Modify one of the above elements that is generated by Arbortext Styler.
To add a new element to the FOSI resource description
1. Choose View > Source > FOSI, and review the contents of the generated rsrcdesc element so you can avoid a name conflict with Arbortext Styler generated elements. The following table shows the attributes that serve as keys for each rsrcdesc element.
Element
Key Attribute
charfill
cfid
counter
enumid
floatloc
floatid
hyphrule
language
stringdecl
textid
You can leave the FOSI Source window open during the following steps.
2. Choose Tools > Advanced Edited Source > Edit FOSI Resource Description.
3. In the Source Editor, insert the elements you need, using values for the key attributes that do not conflict with Arbortext Styler generated keys.
4. Choose File > Apply and Close.
5. In Arbortext Styler, choose View > Source > FOSI to verify that your edits were correctly merged with Arbortext Styler's generated resource description.
* 
The order among each of the types of elements is random.
To modify an element in the FOSI resource description
1. Choose View > Source > FOSI, and review the contents of the generated rsrcdesc elements to find the keys of the elements you wish to modify. The table in To add a new element to the FOSI resource description above shows the attributes that serve as keys for each rsrcdesc element.
You can leave the FOSI Source window open during the following steps.
2. Choose Tools > Advanced Edited Source > Edit FOSI Resource Description.
3. In the Source Editor, insert the elements you need to modify, using values for the key attributes that match the Arbortext Styler generated keys.
4. Choose File > Apply and Close.
5. In Arbortext Styler, choose View > Source > FOSI to verify that your edits were correctly merged with Arbortext Styler's generated resource description.
* 
The order among each of the types of elements is random.