[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] XPath on sequences of nodes
- From: David Carlisle <davidc@nag.co.uk>
- To: gottif@iro.umontreal.ca
- Date: Fri, 12 Jan 2007 17:24:54 GMT
> For the life of me, I don't know what's happening. How can a variable
> store 2 different results? I'd really appreciate it if someone could
> give me a hint.
most operations on nodes, including / are defined to return their reults
in document order, with duplicates removed, so $x/. is one way to
reorder and de-duplicate a sequence for example.
You have $selectedSents/c so you reorder.
for $x in $selectedSents return $x/c
would not reorder.
David
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]