Title: Message
Hi,
 
Is it possible to manipulate the number of results that will be returned by a query ?
 
What I want to do is the following:
 
xml-document contains following:
 
<mydoc>
<myitem id='1' timestamp='20020514123458568'>
    <elem1>content1</elem1>
    <elem2>content1</elem2>
    <elem3>content1</elem3>
</myitem>
<myitem id='2' timestamp='20020514123712235'>
    <elem1>content1</elem1>
    <elem2>content1</elem2>
    <elem3>content1</elem3>
</myitem>
<myitem id='3' timestamp='20020514124420645'>
    <elem1>content1</elem1>
    <elem2>content1</elem2>
    <elem3>content1</elem3>
</myitem>
<myitem id='4' timestamp='20020514125337067'>
    <elem1>content1</elem1>
    <elem2>content1</elem2>
    <elem3>content1</elem3>
</myitem>
<myitem id='5' timestamp='20020514125901348'>
    <elem1>content1</elem1>
    <elem2>content1</elem2>
    <elem3>content1</elem3>
</myitem>
</mydoc>
 
Now, I want to query this document for the next 2 items, starting with item which timestamp='20020514124420645'
 
the query I am thinking of is something like this:
xindice xpath -c /db/mytestcol -q "/mydoc/[EMAIL PROTECTED]'20020514124420645']"
 
but this will return only that one element
 
 
 
Guy

Reply via email to