Use a Variable for "label" Attribute?
Hi, all.
I am using FM 12.0.4.445. I am required to have the label attribute populated in section, subsection, figure, and table elements. The label attribute is what is used to build the table of contents, therefore, I have to have the label be the section, figure, etc. number. As I'm sure you can imagine, this makes it very difficult to add a section at the beginning because then I have to go back in and rename all of my labels because the sections numbers increment by one. It wouldn't matter if I was only using FM to convert to .pdf, but I have to round trip this to XML to be kept in a database.
Is there a way to make the label attribute of the section, figure, etc. pull the number of that section, figure, etc. with something like <$paranum>? I've tried several different ways and when I save the file as XML, the section number doesn't come in as the label attribute. It comes in as the text "<$paranum>.
Any help would be greatly appreciated. I'm stuck with my DTD and schemas (from 2001). I am not permitted to modify them.
Thanks!
