[Home] [By Thread] [By Date] [Recent Entries]

  • From: David Carlisle <davidc@n...>
  • To: gottif@i...
  • 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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member