OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK: XML to docbook


/ Alan Short <ashort@ilexgroup.com> was heard to say:
| i'm tring to insert the docbook header using a CDATA section
| 
| <![CDATA[
| <!DOCTYPE book PUBLIC 
| ]]>

Try this in your stylesheet instead:

  <xsl:output
       doctype-public "-//OASIS//DTD DocBook XML V4.1.2//EN"
       doctype-system "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"/>

| 
| 
| &lt;!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN"&gt;
| 
| anyone know how to turn the &lt; to <  and &gt; to > ??

That's what it should do. You can use disable-output-escaping, but as
a general rule, it's a bad idea.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | The years teach us much which the
http://www.oasis-open.org/docbook/ | days never knew.--Emerson
Chair, DocBook Technical Committee |


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC