On Wed, Aug 24, 2005 at 05:47:31AM -0700, Carmelo Carchedi wrote:
> 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.
<colors>
<art class="foo"></art>
<art class="bar"</art>
</colors>
Use colors to search in both.
> or it's possible a search like:
> swish-e -w art.*=(red and brown)
No, not currently.
--
Bill Moseley
moseley@hank.org
Unsubscribe from or help with the swish-e list:
http://swish-e.org/Discussion/
Help with Swish-e:
http://swish-e.org/current/docs
swish-e@sunsite.berkeley.edu
Received on Wed Aug 24 05:53:59 2005