Skip navigation
Currently Being Moderated

Is anyone using xDocBook with index entries?

Jul 24, 2012 4:15 PM

I've never done more than just briefly mess around with the xDocBook structure application in FM. Seemed to work fine, but never used it for real work so didn't get into it too deeply.

 

I was asked about using FM and DocBook specifically around indexing, so took a look at the indexterm element. If I create a very basic document .. title, para, and index entry, then save .. I get an error about mismatched tags. Looking at the resulting file I see this for the indexterm ..

 

<indexterm/><primary>level one</primary><secondary>level two</secondary></indexterm>

 

Notice the initial indexterm element, is EMPTY. This obviously hoses the entire document.

 

The same thing happens in FM8 through FM11.

 

When I try the SGML DocBook app, it works fine, which creates the correct structure of ..

 

<indexterm><primary>level one</primary><secondary>level two</secondary></indexterm>

 

Am I missing something very obvious here? Is there some setting that properly creates this structure? Or has no one tried to use DocBook (XML) in Frame for many years?

 

Cheers,

 

...scott

 
Replies
  • Currently Being Moderated
    Jul 25, 2012 8:30 AM   in reply to saprentice

    I haven't used it myself, but it would appear that they have made an error in having your opening tag be a closed element when the application creates the doc, but the DTD must be fine or you wouldn't have gotten the error... Can you use the SGML DocBook app to structure the doc, and then save it as XML? My XML docs can use either SGML or XML DTDs because the tagging structure is identical.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 26, 2012 7:59 AM   in reply to saprentice

    Have you had a look at Steve Whitlatch's page on FrameMaker's Docbook for XML? http://www.swhitlat.com/docbook.php. He has downloads available of his entire app, scripts, XSL,, customization layers, etc.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points