Re: DOCTYPE declaration with an external entity

2005-03-18 Thread Frey, David
Thank you for the input Conal. That is definitely on way to handle the problem! We were hoping to have a solution that would generate the same output as the listing given since we have been generating content with that header - for consistency - but this would seem to definitely work. Thanks

Re: DOCTYPE declaration with an external entity

2005-03-18 Thread Geert Josten
Hi, Not an advisable approach in Cocoon (SAX) context, and only working in the case you don't need that doctype info inside Cocoon: Use an XSL to add prolog info with xsl:text disable-output-escaping=yes.. Not advisable because the text is not 'unescaped' until actually serialized. Cheers, Geert

RE: DOCTYPE declaration with an external entity

2005-03-17 Thread Conal Tuohy
David Frey wrote: 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