> Would this variation work? It's slightly easier to implement.
>
> <mydoc1>
> content
> </mydoc1>
> <mydoc2>
> metadata
> </mydoc2>
>
that would work if you indexed as html but not as xml. If you are using
libxml2, anyway. The libxml2 xml parser (XML2) will fail since that isn't
well-formed XML. The libxml2 html parser will work since it's more
forgiving for real-world HTML. I don't know about the expat parsers (XML
and HTML).
> -Lars
> Lars Nooden (lars@umich.edu)
> On the Internet, nobody knows you're a dog ...
> ... until you start barking.
>
> On Fri, 4 Nov 2005, Peter Karman wrote:
> [snip]
>>> Can swish-e process two separate XML files (content + metadata) as one
>>> if they are concatenated?
>>
>> yes. if by concat'd you mean:
>>
>> <mydoc>
>> metadata
>> content
>> </mydoc>
>>
>> so that it remains a valid XML doc.
> [snip]
>
--
Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
Received on Fri Nov 4 06:34:18 2005