Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to use XML engine XQEngine

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 14-02-2010
Member
 
Join Date: Feb 2010
Posts: 530
How to use XML engine XQEngine
  

Hi everybody,

Recently I have been looking for XML search tools, I write applications that require regular search a number of associated XML documents, I was meant to see whether the document with the data I want to match the data, but there are time, I also want to find out the data output. so I carefully look forward to the implementation of various versions of XQL, just found a little tool called XQEngine to solve this problem. I would like to know how to use the XQEngine to XML files in my search for the string us want to find the data. Please suggest. Thanks in advance.

Reply With Quote
  #2  
Old 14-02-2010
Member
 
Join Date: Jan 2008
Posts: 1,515
How to use XML engine XQEngine

XQEngine can be found under website, it is a JavaBean, using a SAX parser to index one or more XML documents, and then you can be carried out in these documents searched the compound. It uses a search language is a superset of XQL with similar XPath syntax.Use XQEngine The Java class must implement a result () method, the search is complete, the engine will call this method to search results transmitted result () method. Check and reply.
Reply With Quote
  #3  
Old 14-02-2010
Member
 
Join Date: Feb 2008
Posts: 1,845
How to use XML engine XQEngine

I use XQEngine given a routine, now let's analyze. First of all, main () method instantiates a search engine: XmlEngine engine = new XmlEngine (), and then it obtained from the command line file name, format and the search request to return the results of these three parameters, and then use a variety of configuration methods to set the engine , and then call the setSaxParserName () method to set the SAX parser's full name, because we are using the Xerces parser, so use the "org.apache.xerces.parsers.SAXParser". Then we need to set search parameters, then in this case, we will not index numbers, or any words of less than 3 characters. Check this process and reply.
Reply With Quote
  #4  
Old 14-02-2010
Member
 
Join Date: May 2008
Posts: 2,382
How to use XML engine XQEngine

Use the command-line arguments specify the search parameters you need, for example, if you can specify a file that contains the word stop, they will not be indexed; and if you can ignore the parameters of the command engine that is below the specified number of words the child. XQEngine engine will use three kinds of search results are returned in different formats: STANDARD, SUMMARY, and comma separated values for simplicity sake, I return to the results for each type defines a figure to replace the (1,2,3), and then use the appropriate parameters called setListenerType () method. There is a method printSessionState () is used. Best of luck.
__________________
The FIFA Manager 2009 PC Game
Reply With Quote
  #5  
Old 14-02-2010
Member
 
Join Date: Oct 2005
Posts: 2,389
How to use XML engine XQEngine

You need to download the XQEngine and the SAX parser. I have downloaded from the xml.apache.org to the Xerces parser. I use the operating system is Windows 2000 Professional, JDK 1.3 version is good, Set up the CLASSPATH after it, in the "Environment Variables" and modify the CLASSPATH, add the "c: \ xql \ XQEngine.jar; c: \ xql \ antlr.jar; c: \ xerces \ xerces.jar ". Now you can compile the code, but in order to be able to run the program, we also need an XML file, I used the Apache Tomcat inside the web.xml file. Best of luck.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to use XML engine XQEngine"
Thread Thread Starter Forum Replies Last Post
Which is the best Web Search Engine? Maq.H Polls & Voting 7 04-12-2013 02:53 PM
Which search engine do you use? gangol Polls & Voting 1 10-08-2012 06:47 PM
Cheat Engine for mac amylii Video Games 3 10-09-2009 06:16 PM
Search Engine through PHP SalVatore Software Development 5 19-09-2008 06:39 PM


All times are GMT +5.5. The time now is 06:48 AM.