PDA

View Full Version : Search XML Files


bonkekrusher
12-07-2007, 04:59 PM
Hi I use Zoom 5 to search XML files. When I choose to show title when it returns the hits, I get [no title] for the link.

Does the indexer look for the <title> tags to log this? or is it something else. e.g. <HTML><TITLE>

Thanks

bonkekrusher
12-07-2007, 05:12 PM
I confirmed that the following is picked up as the "title" if it is placed in my xml file:

<title>TEST</title>

my next question. Can I change this to pick up another element?

wrensoft
12-07-2007, 08:24 PM
The indexer is hard coded to look for <Title> as the title. But, from memory, if you turn off the indexing of the title, it displays the file name.

bonkekrusher
12-08-2007, 12:43 PM
Thank you for your response. Unfortunately my file names are a sequence of numbers and dashes that mean a lot to me on the backup and nothing to the end use.

I Think I will add a <title> tag to the schema.

Thank you for the help.

Bones