"Mukul Gandhi" <[EMAIL PROTECTED]> wrote on 01/14/2008 12:32:52 AM:

<snip/>

> I have further question related to this:
> I still have to use, Xerces specific class DocumentTypeImpl, which is
> deprecated, and I have a risk to loose this functionality in future
> Xerces releases. Can we ask for API enhancement to standard DOM APIs
> for this?

You can but I wouldn't expect much of a response. I believe the DOM Working
Group disbanded shortly after the various DOM Level 3 Recommendations were
published.

> Or, Xerces preserve this API till we have DOM API enhancement?

Can't promise that it won't happen at some point in the (distant) future
but I think it's unlikely to change.

> On Jan 14, 2008 10:13 AM, Prashant Reddy <[EMAIL PROTECTED]> wrote:
> > Try this code :
> >
> > DocumentBuilder builder = factory.newDocumentBuilder();
> > final DOMImplementation domImplementation =
> > builder.getDOMImplementation();
> >
> > /* See this sttmt  */
> > final DocumentType documentType =
> > domImplementation.createDocumentType(rootName, /* this is null ?*/
> >                    xmlVersion.getPublicId(),
> >                    xmlVersion.getSystemId());
> >
> > documentType.setInternalSubset("...");
> > document = domImplementation.createDocument(null, rootName,
> > documentType);
> >
> > Then Serialize the document object...
> >
> > -Prashant
>
>
> --
> Regards,
> Mukul Gandhi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

Thanks.

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to