Re: question about parsing XML using Xerces

2006-12-21 Thread Stanimir Stamenkov
/legolas wood/: but the Xerces distro that i download from apache site does not conitan org.apache.xpath.XPathAPI As Michael Glavassevich already pointed it is found in Xalan [1], not Xerces. [1] http://xml.apache.org/xalan-j/ -- Stanimir -

Re: question about parsing XML using Xerces

2006-12-21 Thread legolas wood
Thank you for reply. I searched more and i find : http://marc.theaimsgroup.com/?l=xerces-j-dev&m=97802463826410&w=2 very usefull . but the Xerces distro that i download from apache site does not conitan org.apache.xpath.XPathAPI Do you know where i should get it? thanks Prashant wrote: > Yes

Re: question about parsing XML using Xerces

2006-12-21 Thread Prashant
Yes, you can use XPath API to return NodeList instead of evaluating to a text value. http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/xpath/XPath.html#evaluate(java.lang.String,%20java.lang.Object,%20javax.xml.namespace.QName) -Prashant legolas wood wrote: Thank you for reply. I looked at Xpa

Re: question about parsing XML using Xerces

2006-12-21 Thread legolas wood
Thank you for reply. I looked at Xpath API, but it just return an string as the result of evaluation. while I need it to return a NodeList or something similar to it. imagine that i want to pars something like : ABC BBC CBC ACB ABC BBC CBC ACB . If i

Re: question about parsing XML using Xerces

2006-12-20 Thread Michael Glavassevich
legolas wood <[EMAIL PROTECTED]> wrote on 12/20/2006 09:37:54 AM: > Thank you for reading my post. > I have some question about parsing XML, > > -does XSD and DTD has the same role? They're different schema languages. Wikipedia [1] has a fairly good comparison of the two. > -I know that if i w