W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2001

Re: XML & CreateProcessingInstruction

From: Jayashree Krishnamoorthy <jayashree.krish@mphasis.com>
Date: Mon, 2 Jul 2001 04:46:14 -0400 (EDT)
Message-ID: <012f01c102d3$f2db5520$561fa19b@ne.telecom.fedex.com>
To: "Joseph Kesselman" <keshlam@us.ibm.com>
Cc: <www-dom@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:49 GMT