cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthieu Benéteau <m.benet...@quaternove.fr>
Subject RE: have serialized xml use doctype?
Date Mon, 06 May 2002 09:12:24 GMT
This is a very good idea. I had the same need, and you have solved my
problem.
Thanks !!

Matthieu

PS : here is a Xalan/C2 bug which may be related to this problem :
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1121


>
> Thanks for the link.  Xalan/C2 doesn't seem to like <xsl:output
> doctype-public="..."> too much. However, the page you posted let me to
> another solution that works as well:
>
> <xsl:text disable-output-escaping="yes">
> <![CDATA[
> 	<!DOCTYPE ...>
> ]]>
> </xsl:text>
>
> ...hope that helps anyone that might be having the same problem.
>
> -Zack
>
>
> -----Original Message-----
> From: J.Pietschmann [mailto:j3322ptm@yahoo.de]
> Sent: Sunday, May 05, 2002 3:43 PM
> To: cocoon-users@xml.apache.org
> Subject: Re: have serialized xml use doctype?
>
> Zack Angelo wrote:
> > I'm generating XML that is to be fetched by an external browser. In
> the
> > serialized XML file, I need it to specify a DTD to use.how do I do it?
>
>
> Check the xsl:output element
>   http://www.w3.org/TR/xslt#output
> add doctype-system and doctype-public as needed.
>
> J.Pietschmann


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message