You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Satishkumar <sa...@foxboro.com> on 2001/06/27 14:46:41 UTC

Newbie to JAXP / Xerces / Xalan

Hi,
I want to use the JAXP interfaces only in my code without explicit imports
of specific parsers. The DOMEcho sample in JAXP served my purpose, but
documents stated that it will be using Crimpson as the default parser. The
JAXP spec mentions about changing the System Property in command line for
specifying the parser like:

	java
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBu
ilderFactoryImpl Sample1

Is there any other way to change the System Property?

Also, I want to use XPath too and I got a sample in Xalan, the ApplyXPath
sample. But there also, explicit import of Xalan package is done. Any
suggestions or links? 

Thanks & Regards,
Satish

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org