[developers] PET XML input and [incr tsdb()]

Rebecca Dridan bec.dridan at gmail.com
Wed Feb 14 14:46:26 CET 2007


Berthold Crysmann wrote:

>>There's yet another way to do the batch parsing with xml_counts:
>>
>>Pipe the PIC to cheap and dump a profile using -tsdbdump. Items are the
>>readable items, and you get trees and mrs, whatever you want. 
>>
>>E.g. 
>>
>>cat my_beautiful_pic|cheap -limit=100000 -tok=xml_counts -default-les
>>-packing=15 -mrs -tsdbdump=. GRMFILE
>>
>>Then create  a profile in [incr tsdb()] and copy item, parse, result,
>>and relations over. 
>>
>>Works for me. 
>>
>>Make sure you've got a recent SVN-Pet, otherwise you don't have a
>>matching relations file...
>>    
>>
Lovely. That should solve my problem, and may even be easier. I will 
give that a go.  How recent does PET need to be, by the way?

(I tried adding the pic.dtd file header, but got the same results within 
[incr tsdb()].)

Thanks,

Rebecca



More information about the developers mailing list