oreillymedia / docbook2asciidoc

XSL for transforming DocBook to AsciiDoc
MIT License
61 stars 33 forks source link

poor handling of funcsynopsis element and friends #66

Open gggeek opened 9 years ago

gggeek commented 9 years ago

I am a noob in asciidoc, and I don't even know how a function synopsis should be tagged in asciidoc.

But at the moment, what I get from converting a funcprototype is a long string with no whitespace separating the elements, which makes the result quite unreadable.

Example source:

        <funcsynopsis>
          <funcprototype>
            <funcdef><type>xmlrpcval</type>new
            <function>xmlrpcval</function></funcdef>
            <paramdef><type>string</type><parameter>$stringVal</parameter></paramdef>
          </funcprototype>

expected output:

xmlrpcval new xmlrpcval string $stringVal