Skip navigation
Currently Being Moderated

Modifying DocBook XML Output?

Sep 28, 2011 11:18 AM

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

 
Replies
  • Currently Being Moderated
    Sep 29, 2011 12:43 AM   in reply to wasatech

    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

     
    |
    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