Results 1 to 1 of 1

Thread: Querying XML

  1. #1
    maggu is offline Member
    Join Date
    Aug 2013
    Posts
    1
    Rep Power
    0

    Default Querying XML

    Is there a way, to get the XPath positional predicates from a certain instance of a node. So i search for a position(Node) function, which returns the position of a node in a dom tree. Example:

    <page>
    <line>
    <wd> bla </wd>
    <wd> blabla </wd>
    </line>
    <line>
    <wd> lorem </wd>
    <wd> ipsum </wd>
    <wd> dolor </wd>
    <wd> sit </wd>
    </line>
    </page>
    So the function applied on the node with the content "ipsum" should return something like: second word, second line, first page.

    cheers
    Last edited by maggu; 08-11-2013 at 10:38 PM.

Similar Threads

  1. Score combination - Filtering vs. Querying
    By gmuresan in forum Lucene
    Replies: 1
    Last Post: 06-16-2011, 05:10 AM
  2. Querying in JDBC to oracle DB
    By 123456.kiran in forum JDBC
    Replies: 6
    Last Post: 03-31-2011, 12:47 PM
  3. Replies: 7
    Last Post: 06-22-2010, 11:49 AM
  4. Help needed with querying collections
    By Jawaharlal in forum Advanced Java
    Replies: 5
    Last Post: 04-28-2010, 05:43 PM
  5. querying russian data from db problem
    By mr_empty in forum JDBC
    Replies: 0
    Last Post: 03-04-2008, 08:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •