Problem creating an xhtml Document in ecs 1.4.2

"Jim McMaster" <[email protected]> Tue, 11 May 2004 10:30:03 -0600
Newsgroups gmane.comp.jakarta.ecs.user
Message-ID <01f801c43775$3653f630$6401a8c0@MAIN>
I want to use ecs to create xhtml.  I can create a
org.apache.ecs.Document...great.  Now I create a
org.apache.ecs.xhtml.html..also great.

Now, though, there does not seem to be a way to add this html element to the
Document.  Document.setHtml wants an org.apache.ecs.html.Html element, not
org.apache.ecs.xhtml.html.  The latter directly extends
org.apache.ecs.Multipart element, is not a subclass of
org.apache.ecs.html.Html.

How am I supposed to get around this?
--
Jim McMaster
mailto: [email protected]