1 Reply Latest reply: Sep 29, 2011 12:43 AM by Willam van Weelden RSS

    Modifying DocBook XML Output?

    wasatech Community Member

      Howdy.,

      I know very little about XML, so my questions may be a bit bewildering as my old friend Davy Crockett used to say.

       

      I am wondering how to modify what Single Source XML spits out. As far as I understand at this point, it uses DocBook (not sure of version).

       

      Looking for it to generate something like this:

       

          <data name="Topic1.Help" xml:space="preserve">

          <value><![CDATA[

          <p class="helpheader"><b>Topic H1 Header</b></p>

          <p class="helpcontent">Topic contend would go here.</p>

          <p class="helpcontent">Topic contend would go here.</p>

          <p class="helpcontent">Topic contend would go here.</p>

          <p class="helpcontent">Topic contend would go here.</p>

          ]]>

          </value>

          </data>

       

       

      Thanks

      Lyle

        • 1. Re: Modifying DocBook XML Output?
          Willam van Weelden CommunityMVP

          Hi,

           

          Try Tools > XML Handler Manager. You should be able to create/modify custom handlers for the docbook export. I've never used it, just seen it sitting there in the menu. Never used DocBook for that matter... Perhaps another forum member used the export and XML Handler Manager.

           

          Another method might be to use ExtendScript in order to modify the output to suit your needs.

           

          Greet,

           

          Willam