Russell Gold wrote:

> I note that ecs supports XML and RTFas well as HTML. Are these considered

Actually it supports xml ( kind of ) rtf ( kind of ) html and wml ( not sure
of the level here )

>
> essentially independent capabilities? Is there, for example, an intent that
> one day a developer could create a document and afterwards decide whether
> to emit it in HTML or RTF?

Yes and Yes.  I created the rtf stuff ( alot more work needs to be done to
encapsulate all the different rtf elements ) as part of a project i am working
on here. It involves xsl and xslt.  What I have done is create a
transformation engine for transforming formating objects to either html or rtf
using ecs. ( wml could be added as well but since the wml elements wern't part
of ecs at the time i didn't do it. )

I call it FORCE as it forces one format into another format.  I used an older
version of the spec and so it isn't in sync with the current proposal by the
w3c, but it does seem to work fairly well.  We are creating 100+ page reports
in both html and rtf using the exact same stylesheet.  I hope to release it to
the community fairly soon, I just need to decide on a license, and do _a
little_ documentation.

> What is the XML.PI class? I didn't see a class

<?xml version="1.0"?> is an example of an xml processing instruction thus the
xml pi class.  I didn't really understand xml very well when i started
creating the xml stuff, and haven't looked at it sents brett fixed some things
in that tree.

-stephan



--
------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to