Re: simple search on an XML file

From: FISH (joeking_at_merseymail.com)
Date: 02/26/04


Date: 26 Feb 2004 10:09:37 -0800


"sal achhala" <none@none.com> wrote in message news:<c1kje7$ai5$1@news5.svr.pol.co.uk>...
> Is there a simple search method, using java, for a XML document.
>
> The search does not need to be based on element values, but if it is thats
> fine too.
>
> thanks

What do you mean by 'simple search'? XML documents are structured, so
by specifying that particular format are we to assume that you want the
search to be in some way constrained by the XML structure?

Try searching on Google for documentation on Java and XPath.

-FISH- ><>



Relevant Pages

  • Re: Question re XPS format
    ... - but in Java you would need to recreate a lot of complex rendering logic, which already exists as ready-to-call APIs in .NET. ... If you can intercept the data before it is committed to XPS - say, as an XML document - then you can use any XML parser you like, and Java might be a good choice. ... Once the data is encoded as an XPS document, it's pretty much a creature of the .NET world. ...
    (microsoft.public.windows.vista.general)
  • Re: Writing Java Webservice for a given .NET client
    ... In comp.lang.java.advocacy, Oliver Wong ... I want to write a Java webservice that could be consumed by the ... request, and the server sends an XML document in response, right? ...
    (comp.lang.java.advocacy)
  • xml to Hibernate beans
    ... I have xml document with data to populate Hibernate (Java) objects. ... there good strategy to do this other than manually mapping data from xml ... tree to Java objects? ...
    (comp.lang.java.programmer)
  • Re: Writing Java Webservice for a given .NET client
    ... I want to write a Java webservice that could be consumed by the ... same client w/o changing any code. ... So just have your Java program/servlet/JSP script/whatever produce an XML document in the same format. ...
    (comp.lang.java.advocacy)
  • simple search on an XML file
    ... Is there a simple search method, using java, for a XML document. ... The search does not need to be based on element values, but if it is thats ...
    (comp.lang.java.help)