Skip to main content.
home | support | download

Back to List Archive

Re: search in the same tag.

From: Carmelo Carchedi <c.carchedi(at)not-real.juniorbit.it>
Date: Wed Aug 24 2005 - 12:48:58 GMT
Peter Karman wrote:

> you would need to add some attributes to your tags and use the 
> XMLClassAttributes config param. Otherwise, swish-e treats everything 
> in the <art> tag as a single metaname.
>
> example:
>
> XMLClassAttributes class
> MetaNames art.foo art.bar
>
>
> <adoc>
> <art class="foo">red green gray</art>
> <art class="bar">brown blue yellow</art>
> </adoc>
>
> swish-e -w art.foo=(red and brown)   # fails
> swish-e -w art.foo=(red and greed)   # succeeds
>
But if i want to search in all class ?
I need to make:
 swish-e -w art.foo=(red and brown) OR art.bar=(red and brown) ecc. ecc.

or it's possible a search like:
 swish-e -w art.*=(red and brown)

 -- 
Cordialmente.

Carmelo Carchedi
Juniorbit Sas www.juniorbit.it
via Bramantino 9 - 20155 Milano
Fax:0270033713
Received on Wed Aug 24 05:49:15 2005