Worked like a charm! Decided to go with ^ as my delimeter character since
it is fairly uncommonly used in the real world. Thanks!
From: Bill Moseley [mailto:email@example.com]
Sent: Thursday, April 24, 2003 5:48 PM
To: Multiple recipients of list
Subject: [SWISH-E] Re: how to handle multiple occurrences of an xml
On Thu, 24 Apr 2003, Steven Moy wrote:
> If I have documents with multiple fields of the same name, e.g. the field
> named <client> in an example like this:
> <salesperson>Mr. Foo</salesperson>
> <company>XYZ Corp.</company>
> <client>John Doe</client>
> <client>Jane Doe</client>
> <client>John Smith</client>
> If I then choose to display the field contents in the search results ( -x
> "<salesperson>|<client>|<company>|") it displays the clients all
> concatenated together:
> Mr.Foo|John Doe Jane Doe John Smith|XYZ Corp.
> Is there any way to get at the clients individually? Or maybe at least
> a separator between the clients? For example "John Doe#JaneDoe#John
> would be great. Then I could just parse that string.
Do you mind recompiling?
in src/docprop.c search for:
if ( add_a_space )
p->propValue[p->propLen++] = ' ';
Bill Moseley firstname.lastname@example.org
Received on Thu Apr 24 22:34:06 2003