Skip to main content
1-Visitor
March 16, 2015
Question

viewing final index markup

  • March 16, 2015
  • 16 replies
  • 3598 views

Hi,


I'm trying to troubleshoot some index issues and would like to be able to view the final index markup in the edit window.


I followed the instructions in the Help file for this and I can see the preliminary index markup, but the _final pseudo tags contain no content. Do I need to code something extra special in my fosi in order to see the final index generated text?


Thanks,


KM


    16 replies

    1-Visitor
    March 18, 2015
    You can use two appended strings for the numerical index. One is for numerical entries, the other for alphabetical entries.
    Part numbers for the numerical string must have a "sortas" attribute for correct numerical sorting(as described in my book and in AE Help). So if an element has a value for the "sortas" attribute, save to the numerical string; otherwise save to the alphabetical string.


    kmccain1-VisitorAuthor
    1-Visitor
    March 18, 2015

    Suzanne,


    I did read about the sortas attribute, but my partno elements do not have an attribute for that and I can't alter the DTD to add one. Can I create a pseudo attribute for this?


    By the way, is your book now published? is it available?


    Thanks,


    Kim

    1-Visitor
    March 18, 2015
    You will need to add a pseudo-attribute for correct numerical sorting. The section on pseudo-attributes from my not-yet-published book is attached. Actually, most of the content of the book is available in PDF files at
    kmccain1-VisitorAuthor
    1-Visitor
    April 13, 2015

    I am back again with one more question. I have my final index markup sorting the way I want it, but now I need to be able to insert a text break or blank line after every ten items listed as per military spec. Is there any way to do that with just FOSI, or FOSI and an ACL script, or do I need to export the index to accomplish this?


    Thanks, KM

    1-Visitor
    April 13, 2015
    Hi Kim,
    You can use #FOSI to do the counting. This is covered in Chapter 4 at
    kmccain1-VisitorAuthor
    1-Visitor
    April 14, 2015

    Suzanne,


    Thanks for this! After a liddle fiddling, it works like a charm.


    KM