Women in Technology

Hear us Roar



Article:
  Storing an XML Document in Apache Xindice
Subject:   Searching / WHERE equivalent?
Date:   2006-03-12 07:49:48
From:   dvohra09
Response to: Searching / WHERE equivalent?

Querying in Xindice is performed with XPath.
An XPath expression retrieves a node or a node set. The query is run in the context of a collection. XPath query does not retrieve documents, but an XPath query is run on all the documents in the specified collection.


"find me all documents whose subject is 'adenine'"


A document that is stored as adenine.xml may be retrieved with:
>xindice rd -c xmldb:xindice://localhost:7001/db/catalog
-n adenine.xml


Only one document may be retrieved with rd action.

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Searching / WHERE equivalent?
    2006-03-13 21:47:56  noahgreen [View]

    This is great - thanks!
    -Noah