0 Replies Latest reply on Aug 8, 2014 2:38 PM by KenWK

    Mapping styles to tags

    KenWK Level 1

      This FEELS like it might be a silly question and that I'm missing something, but here goes.

       

      I have an InD document into which I've loaded a DTD. From the Structure panel fly-out I've chosen Map styles to tags and mapped all my styles to my XML tags. Works great. For the next document I load the mappings from the first document. I was looking into scripting that load form the first document to the second document and have a disconnect somewhere with the mappings.

       

      On a document that has styles mapped to XML tags, the command ActiveDocument.ParaStyleMappings.Count (VB) yields zero.

       

      So, it would seem that the ActiveDocument.ParaStyleMappings is different from the "mappings" that are referenced and applied in the Structure panel. True?

       

      Thanks,

      Ken