I neglected to add that I agree with Paul Nagai about being careful with system-funcs in a FOSI. For best performance, utilize FOSI whenever possible and resort to ACL only when there is no alternative. FOSI is compiled, which makes it faster than a run-time language such as XSL. However, FOSI attribute rules, including those with a system-func that calls ACL, are executed at run-time for each formatting pass, which slows down the formatting process (although ACL on its own can be very fast). BTW, dozens of attribute rules without system-func in an e-i-c can can slow formatting to a crawl, as well.
Good luck!
Suzanne