[basex-talk] Traling empty nodes in csv:serialize

2014-03-22 Thread Lars Johnsen
Hi all I have a question about csv:serialize and blank nodes. Trailing blanks are indicated with a separator, but those in the middle are. csv:serialize( rows row f1/f s2/s t3/t/row row f/f s/s t3/t/row row f1/f s/s t3/t/row row f1/f s/s t/t/row

Re: [basex-talk] Traling empty nodes in csv:serialize

2014-03-22 Thread Christian Grün
Hi Lars, this behavior is a feature indeed, because the empty strings don't contribute to the result. Do you encounter any problems when processing the resulting CSV output? If yes, we could have another look at this. Best, Christian I have a question about csv:serialize and blank nodes.

Re: [basex-talk] Traling empty nodes in csv:serialize

2014-03-22 Thread Hans-Juergen Rennau
If I may add a comment - I find it counter-intuitive to skip the trailing separators. What I expect from CSV data is strict uniformity, every line same number of cells. This has also a (though modest) control effect, like a a minimalistic checksum: deviations from the expected number of cells

Re: [basex-talk] Traling empty nodes in csv:serialize

2014-03-22 Thread Christian Grün
Thanks for your assessment. The CSV output of the latest snapshot [1] should now contain all trailing delimiters. [1] http://files.basex.org/releases/latest/ On Sat, Mar 22, 2014 at 1:08 PM, Hans-Juergen Rennau hren...@yahoo.de wrote: If I may add a comment - I find it counter-intuitive to

Re: [basex-talk] pearl pigments

2014-03-22 Thread tony-zhao
Title: 无标题文档 Dear Sir, I sent you the following email onMar. 08, it will be appreciated if we get any reply from you. Best regardsTony Zhao__HANGZHOU GOLDLAND PEARL PIGMENT CO., LTDTANGQI INDUSTRY AREA,YUHANG,HANGZHOU, CHINA, 311106T: (86)

[basex-talk] Confusing error using GROUP BY

2014-03-22 Thread Charles Duffy
Howdy -- I've run into a somewhat confusing error message using GROUP BY in BaseX 7.8.1, while trying to answer a question on StackOverflow ( http://stackoverflow.com/questions/22585865/grouping-with-counts-in-xquery). Against the database at

Re: [basex-talk] Confusing error using GROUP BY

2014-03-22 Thread Liam R E Quin
On Sat, 2014-03-22 at 20:44 -0500, Charles Duffy wrote: I'd guess: let $speaker := $line/../SPEAKER/text()[1] A list of all text nodes that are the fist child of SPEAKER elements? Try ($line/../SPEAKER/text())[1] if you want the first text node in the list. Maybe you have a SPEAKER element