Thank you.  That did the trick.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 28, 2001 3:40 AM
To: [EMAIL PROTECTED]
Subject: Re: DOMImplementation.createDocumentType ()


"Swanson, Brion" wrote:

> I'm trying to create an empty doctype that looks like:
>
> <!DOCTYPE foo SYSTEM "uri://location">
>
> ...but all I can manage to create is:
>
> <!DOCTYPE foo PUBLIC "uri://location" "">
>
> using DOMImplementation.createDocumentType ().
>
> Is is possible to create a 'SYSTEM' doctype like this, or can you only
> create 'PUBLIC' doctypes with DOMImplementation?
>

Here is how I create new documents, if it can help :

    DocumentType documentType = new DocumentTypeImpl(null, null, null,
dtdName);
    document = new DocumentImpl(documentType);

It creates documents with a "SYSTEM" keyword.

Sebastien


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

Reply via email to