You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Gabriel Daty <ga...@bitflash.com> on 2001/11/08 22:57:28 UTC
Extending the XML DOM
What is the proper way of setting the Xerces parser to create elements from
my own Document ?
Gabriel
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
Re: Extending the XML DOM
Posted by Andy Clark <an...@apache.org>.
Gabriel Daty wrote:
> What is the proper way of setting the Xerces parser to create
> elements from my own Document ?
DOMParser parser = new DOMParser();
parser.setProperty("http://apache.org/xml/properties/dom/document-class-name",
"org.example.dom.MyDocument");
--
Andy Clark * IBM, TRL - Japan * andyc@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org