cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamara Cameron <>
Subject RE: Serializer for HDML output
Date Thu, 27 Jul 2000 19:05:24 GMT
Thanks for the guidance.  I have been looking into the serialization process
in Xerces, and trying to extend cocoon to include an HDMLFormatter.

Like you, I have reservations about investing too much time in HDML for the
reasons you suggest, but it has been a good way for me to begin looking at
the source code for Cocoon and Xerces.


-----Original Message-----
From: I-Chung Young []
Sent: Wednesday, July 26, 2000 3:14 PM
To: ''
Subject: Re: Serializer for HDML output


	Based on my limited understanding, Serializer is
developed in Xerces. The current SerializerFactory only
allows XML/HTML/XHTML/TEXT. If you change the xerces,
then you could check how HTMLSerializerin Xerces is and
check HTMLFormatter in Cocoon to duplicate one. Or you
could check FO2PDFFormatter in cocoon and write your
own serializer on Document object.

	The problem I see is HDML syntax is even looser
than HTML regarding end tag. It may not be worth developing
it for this to-be-retired language. For a dirty hack, you
could treat HDML as text output and use TextFormatter in
cocoon. The advantage is it works (somewhat) The disadvantage
is all HDML tags (angle brakets) has to be enclosed in
<xsl:text><![CDATA[<]]></xsl:text> and

Hope this helps.
I-Chung Young

On Tue, 25 Jul 2000, Tamara Cameron wrote:

> Hey All--
> I am trying to generate HDML using cocoon and can only find one unanswered
> question in the archives about creating a serializer to do this.
> I am wondering if an HDML Formatter has already been created by someone.
> Alternatively, I am hoping that there is  information, documentation or
> pointers for creating new Formatters that someone can point me to.
> Thanks,
> Tamara
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message