Seth Ladd wrote:
> 
> > The problem is that by default, Document's constructor adds in a head,
> > title, and body element.  So I can't append, I have to replace them with
> 
> Sounds cool, but can I ask why you need to interface through it via a
> Document object?  I understand why you might want to treat an HTML page
> as a Document, but with an XML document I would suggest using the
> awesome DOM interfaces from W3C.  That way you can really treat it as a
> document.

Sure, but I:

(1) don't want to instantiate a DOM interface/object until I have too,
because it is a memory hog
(2) don't want to be tied to DOM.  Cocoon2 and many applications are
moving completely away from DOM, as in won't need it anymore, so why
should I have to use it just to create output.
(3) I like ECS, and and am used to it.  Why should ECS be limited in
that it cannot create a well-formed XML document with a prolog?
(4) I like Jon ;-) and want to help make ECS even better
(5) My other developers who don't know SAX or DOM or JAXP, and barely
XML, can easily create XNL documents that I can render through
processors, and they don't have to learn a more difficult interface
(6) Honestly, I don't think the DOM interfaces are that spectacular. 
Level 2 helps a lot, but the support for them is sparse.

But I understand where you are coming from - however, I see ECS as a one
stop shop for rendering *ML.  I would like to add XML to that *, as well
as HTML.

> 
> my two cents,
> Seth

-Brett


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