Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hi,
I think I must be overlooking something simple..... again....
My list items after a nested list are starting back at 1 like a reset has happened, but I only reset the counter at the begininng of the list.
Example:
(a) list item
(b) list item
(1) nested list item
(2) nested list item
(a) list item should be (c) the XML is coded correctly, because the screen displays it correctly with another FOSI
What am I forgetting to check? I feel silly this should be a simple 101 FOSI coding.
Thanks Ellen
Ellen,
It appears from your example that you're using multiple counters to track the different levels of your list. However, it also appears that you are inadvertantly resetting the first level counter when you start your second level.
In general, you only want to reset the "new" level counter at the "first" occurrance of the item within the new level. That way it obviously doesn't continue from the last use of the counter. You don't want to reset the counter above it since the next use of the upper level will now be from your reset value. Hence, as shown in your example, you have (a), (b), (1), (2), [reset upper counter], (a)...
Hope this helps,
Bob
In Reply to Ellen Headrick:
Hi,
I think I must be overlooking something simple..... again....
My list items after a nested list are starting back at 1 like a reset has happened, but I only reset the counter at the begininng of the list.
Example:
(a) list item
(b) list item
(1) nested list item
(2) nested list item
(a) list item should be (c) the XML is coded correctly, because the screen displays it correctly with another FOSIWhat am I forgetting to check? I feel silly this should be a simple 101 FOSI coding.
Thanks Ellen
Ellen,
There are things still missing in the code you wrote here. I'm sure it's because you were trying to stay brief, but I can't see enough to tell me what is triggering the levels, when the counters are called by the charsubset's, or when the levels are reset.
In your example here, I'm also seeing an ID reference of "list.item.indent", but the ID is just "list.item". Like I said, there's too many missing pieces. I'm sure that the issue is something simple and could be nothing more than a single character mis-typed. If you're willing to share some more information, I'd be glad to try to help.
Bob