Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hi,
I want to do some FOSI clean up and just wanted to run by someone what I am thinking to make sureI am not creating a mess. Also if you were having to modify this code which style is easier to maintain? I know everybody has there own style to FOSIs, but I was just curious which way more people do it. 🙂
Original FOSI:
<e-i-c gi="example" context="listitem" occur="all">
<charlist inherit="1">
<indent inherit="1" leftind="@" firstln="*"/">
<reset resetlist="admonishment.cnt"/">
</charlist>
<att>
<specval attname="role" attloc="example" attval="phraseology"/">
<charsubset>
<usetext source="phraseology.txt,!:!">
<subchars charsubsetref="block" bold=" prespace_force_2=" keep_next_col_7"=">
<indent inherit="1" leftind="@" firstln="*"/">
</subchars>
</usetext>
</charsubset>
</att>
<att>
<specval attname="role" attloc="example" attval="#NONE"/">
<charsubset>
<usetext source="example.txt,!:!">
<subchars charsubsetref="bold" keep_next_col_7"=">
<indent inherit="1" leftind="@" firstln="*"/">
</subchars>
</usetext>
</charsubset>
</att>
</e-i-c>
Clean up:
<e-i-c gi="example" context="listitem" occur="all">
<charlist inherit="1" charsubsetref="bold" keep_next_col_7"=">
<indent inherit="1" leftind="@" firstln="*"/">
<reset resetlist="admonishment.cnt"/">
</charlist>
<att>
<specval attname="role"attval="phraseology"/">
<charsubset>
<usetext source="phraseology.txt,!:!">
<subchars charsubsetref="block" prespace_force_2"=">
</subchars>
</usetext>
</charsubset>
</att>
<att>
<specval attname="role" attval="#NONE"/">
<charsubset>
<usetext source="example.txt,!:!">
<subchars charsubsetref="">
</subchars>
</usetext>
</charsubset>
</att>
</e-i-c>
Thanks, Ellen
Hi,
Another clean up question. I would like to simplify the pagesets in the FOSI and I know I can use pageref, but I am not sure whichelements it reallycovers. Does anybody have an example? Can I define the intentionally left blank page once? There just seems like there is an easier way.
Thanks for all the help so far.
Ellen