Re: XML & CreateProcessingInstruction

everything is fine.  But the instruction is not getting  included. The XML
is getting
generated with out the PI .


----- Original Message -----
From: Joseph Kesselman <keshlam@us.ibm.com>
To: Jayashree Krishnamoorthy <jayashree.krish@mphasis.com>
Cc: <www-dom@w3.org>
Sent: Saturday, June 30, 2001 12:32 AM
Subject: Re: XML & CreateProcessingInstruction


>
> The line you're asking about -- retrieving the DOMImplementation object --
> is specific to a particular implementation of the DOM. Since you're asking
> about the Xerces implementation, this really  belongs on the Apache
> Xerces-J mailing list.
>
> But I've just rechecked the current version of the Xerces code, and I
> believe the line I gave you really should work should work -- assuming, of
> course, that you have imported the DOM APIs
>
>    import org.w3c.dom.DOMImplementation;
>
>    DOMImplementation
>
domImpl=org.apache.xerces.dom.DOMImplementationImpl.getDOMImplementation
>    ();
>
> If you didn't do the import, try:
>
>    org.w3c.dom.DOMImplementation
>
domImpl=org.apache.xerces.dom.DOMImplementationImpl.getDOMImplementation
>    ();
>
> Either should fix your "DOMImplementation is not found" problem.
>
> ______________________________________
> Joe Kesselman  / IBM Research
>

Received on Monday, 2 July 2001 14:04:41 UTC