Skip to main content
September 28, 2011
Question

Modifying DocBook XML Output?

  • September 28, 2011
  • 1 reply
  • 1083 views

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

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Willam van Weelden
Inspiring
September 29, 2011

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