i'm transforming xml with xslt to docbook with which i'm going to make
rtf, but having a few problems.

The idea is to create printed code documentation.

please find example xml below.


i'm tring to insert the docbook header using a CDATA section

<![CDATA[
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
]]>

but when parsed with saxon gives the following:

&lt;!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN"&gt;

anyone know how to turn the &lt; to <  and &gt; to > ??

cheers

alan




------xml snippet-------


<ixDoc:spec xmlns:ixDoc="ILEX" package="Business Logic" module="ixSite">

<ixDoc:design>
<ixDoc:class id="ixSite" src="ixSite.js"/>

<ixDoc:functions>

        <ixDoc:function id="disconnect" partOf="ixSite">
                <ixDoc:description>Closes the connection to the data
source.</ixDoc:description>
                <ixDoc:parameter id="_retval" type="void"
description=""/>
        </ixDoc:function>

        <ixDoc:function id="getProjectsByUser" partOf="ixSite">
                <ixDoc:description>selects projects assigned to a
user</ixDoc:description>
                <ixDoc:parameter id="_retval" type="conn"
description="returns a record set from the database"/>
        </ixDoc:function>
        
        <ixDoc:function id="getHomeProjectID" partOf="ixSite">
                <ixDoc:description>Gets the ID of the users home
project</ixDoc:description>
                <ixDoc:parameter id="_retval" type="int"
description="Logged in Users home project id"/>
        </ixDoc:function>
        
        <ixDoc:function id="getUnusedProjects" partOf="ixSite">
                <ixDoc:description>returns the unused projects within an
instance</ixDoc:description>
                <ixDoc:parameter id="_retval" type="recordset"
description="returns a record set of unused projects"/>
        </ixDoc:function>
        
        <ixDoc:function id="addProj" partOf="ixSite">
                <ixDoc:description>Adds a Project to the
database</ixDoc:description>
                <ixDoc:parameter id="_retval" type="int"
description="New Project ID"/>
                <ixDoc:parameter id="oProj" type="object"
description="Project object"/>
        </ixDoc:function>       
        
</ixDoc:design>
</ixDoc:spec>




------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: [EMAIL PROTECTED]

Reply via email to