On 10/05/2007 04:52 AM, Carl Johnstone wrote: > Hi, > > This may be more of a DBIx::Class question than Catalyst, but anyway. > > I have a system where the bulk of the content is generated elsewhere in > XML format, I've implemented a Catalyst Model that reads the XML, and > returns a blessed perl data structure (with appropriate caching etc.) > > Where I've got problems is searching, it's impractical to search 1000s > of XML files, so I want to put some of the meta-information (and maybe > dump a copy of the text) into a DB for search purposes. > > What I'd like to do though is when I do a search in the DB, turn any > rows returned into these XML objects so I can then access the whole of > the content as usual. >
Check out SWISH::API::Object. Swish-e indexes XML from the ground up. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ Dev site: http://dev.catalyst.perl.org/
