cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frey, David" <>
Subject DOCTYPE declaration with an external entity
Date Thu, 17 Mar 2005 22:44:59 GMT
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"?>
<!ENTITY % nitf SYSTEM "">

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>
<!-- 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?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message