We are creating a NewsML/NITF doc out of our process.  The header of this
document needs to contain an entity statement.  The very top of this
document should look like this:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE NewsML SYSTEM "http://nationaljournal.com/dtd/NewsML_1.2.dtd"; [
<!ENTITY % nitf SYSTEM "http://nationaljournal.com/dtd/nitf-2-5.dtd";>
%nitf;
]> 


Currently I have been pulling the <!DOCTYPE> in by using a <doctype-system>
child tag of serializer:


<!-- 03.09.05.df newsml serializer -->
    <map:serializer logger="sitemap.serializer.xml" mime-type="text/xml"
          name="newsml" src="org.apache.cocoon.serialization.XMLSerializer">
        <cdata-section-elements>p ul</cdata-section-elements>
        <doctype-system>
           http://nationaljournal.com/dtd/NewsML_1.2.dtd
        </doctype-system>
        <encoding>UTF-8</encoding>
    </map:serializer>
<!-- 03.09.05.df END newsml serializer -->

I've scoured the web looking for an answer, but have come up short.  Any
ideas on how to accomplish this?

Best,
David



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to