docbook-apps

  • 1.  Escape DTD snippet

    Posted 01-06-2011 09:16
    Hello,

    I really enjoy writing specifications with DocBook, currently using
    dblatex for transformation to PDF.

    I searched for a possibility to quote DTD snippets that aren't parsed
    but integrated "as is". I didn't find some appropriate hints.

    <quote></quote>

    Is there a possibility to put some "escape" around the DTD snippet?

    <programlisting> doesn't help.

    <textdata> doesn't fit. I don't snip from DTD files, but from a Word
    Document with DTD comments.

    If there is an XSLT opportunity I will switch to the XSL toolchain.

    Thanks for any suggestions in advance.

    read you ...
    Susi



  • 2.  Re: [docbook-apps] Escape DTD snippet

    Posted 01-06-2011 22:47
    Use CDATA sections:

    http://www.w3schools.com/xml/xml_cdata.asp

    <quote>]]></quote>


    On Thu, 06 Jan 2011 10:15:43 +0100, Susanne Wunsch
    <docbook-apps@uriah.heep.sax.de> wrote:

    > Hello,
    >
    > I really enjoy writing specifications with DocBook, currently using
    > dblatex for transformation to PDF.
    >
    > I searched for a possibility to quote DTD snippets that aren't parsed
    > but integrated "as is". I didn't find some appropriate hints.
    >
    > <quote></quote>
    >
    > Is there a possibility to put some "escape" around the DTD snippet?
    >
    > <programlisting> doesn't help.
    >
    > <textdata> doesn't fit. I don't snip from DTD files, but from a Word
    > Document with DTD comments.
    >
    > If there is an XSLT opportunity I will switch to the XSL toolchain.
    >
    > Thanks for any suggestions in advance.
    >
    > read you ...
    > Susi
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >