Skip to main content.
home | support | download

Back to List Archive

Re: attribute value attaching to wrords

From: <moseley(at)>
Date: Thu Nov 13 2003 - 07:02:58 GMT
On Wed, Nov 12, 2003 at 06:23:30PM -0800, Dave Moreau wrote:
> I am having a problem with how swish-e indexes my XML files. I have 
> formatting information on poem files like the following:
>   <line indent="3em">fills ...
> Which indexes the word 3emfills!

Can you provide an example?

moseley@bumby:~$ cat c
ParserWarnLevel 9
DefaultContents XML2
UndefinedMetaTags index

moseley@bumby:~$ cat 1.xml 
<line indent="3em">fills</line>

moseley@bumby:~$ swish-e -c c -i 1.xml -T indexed_words -v0
    Adding:[1:swishdefault(1)]   'fills'   Pos:5  Stuct:0x1 ( FILE )

Bill Moseley
Received on Thu Nov 13 07:03:04 2003