I don't really know much about PHP, but I know Perl to a degree and have found that its text processing/pattern matching abilities are very useful for this sort of thing. I think a Perl module that directly interfaces with the SWORD libraries would be invaluable. Maybe PHP can offer the same things as Perl, however. --Chris Little