Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 15th, 2004, 11:54 PM
Registered User
 
Join Date: May 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to mehdi_979
Default Java & Xml

Hello

I use following line in my code.

import com.sun.xml.tree.XmlDocument;

but i have not jar file or liberary for aading to my project.

where I can find this jar file;

I use j2sdk1.4.1_04

help me Please

 
Old May 20th, 2004, 11:47 PM
Registered User
 
Join Date: May 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to shahjee
Default

Hi,
So you wana process XML in java.
Ok, No problem. Just try to find out "parser.jar" file
and set classpath on your system.
Where to find it???
OK, if you get a copy of "Sun Forte 4 Java" you can install it
and this package will automatically be copied on your system.
If due to any reason Forte4J doesn't work on your machine due
to any reason then just go to the lib folder under your forte4j folder
and copy the parser.jar file anywhere you want.
You can place it in jdk's lib folder.
Then you can set classpath.
Even then if you face some problem setting classpath, just install Kawa and then go to the menu Packages>>Classpath...
here you can set path by clicking new button and then
typing the path in the below text box
as c:\jdk\lib\parser.jar now click ok

Now you would be able to import that class
Hay, It's that simple!!!
Ok, Take Care.





Similar Threads
Thread Thread Starter Forum Replies Last Post
JavaScript & XML & NN lmod Javascript How-To 0 August 18th, 2005 03:16 PM
XML from a DB recordset (removal of <>) Thodoris XML 3 July 13th, 2004 12:28 AM
about XML receive by tomcatand XML parse by java taianmhzy Servlets 0 May 20th, 2004 01:59 AM
Java & Xml mehdi_979 J2EE 1 May 15th, 2004 06:03 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.