I is simple as long as there
aren't default namespaces in the XML document...<g>. Then it
gets UGGGLY! ;>
Hopefully the W3C will come
through with something in XSLT 2.X.
-----Original Message-----
From: Voytenko, Dimitry [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 18, 2002 9:37 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Extracting information from XML files
Hi Dima,You can try using org.apache.xpath.XPathAPI:It goes with Xalan 2 distribution, but as you can see it's in separate package.It's fairly easy to use and sounds like exactly what you want.You can check out Xalan's sample ApplyXPath, which uses this class:Thanks,Dmitry-----Original Message-----
From: Dima Gutzeit [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 17, 2002 20:15
To: [EMAIL PROTECTED]
Subject: Extracting information from XML filesHi ,What is the most elegant way of extracting information from XML files ?I have XML file which is a help file with a list of topics and etc... I am writing aplication that recieves topic as a parameter and outputs a portion of the XML file with the desired topic. How can I traverse XML files (using X-Path preferably) and search for the desired elements? (in Java ofcourse).Thanks in advance.
Regards ,
Dima Gutzeit.
---------------------------------
MailVision LTD.
R&D Team.
Phone: 972 - 4 - 8508020
Fax: 972 - 3 - 9285149
http://www.mailvision.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_____________________________________________________
Sector Data, LLC, is not affiliated with Sector, Inc., or SIAC
