LONDON -- It shouldn't take much to beat the FTSE 100 (INDEX: ^FTSE) today, after the index dived 90 points in morning trade to 5,563 points on fresh eurozone fears.

The Spanish banking crisis has once again regained center stage after struggling regional governments began to seek cash from the country's national government. The developments pushed the country's 10-year bond yields to 7.55% today and raised the specter of a major national bailout.

But some companies in the various FTSE indexes did well today. We look at three bucking the wider downward trend.

XP Power
It was a good day for electronics companies, as XP Power (LSE: XPP.L) gained 7% to reach 1,102 pence after releasing interim figures.

The firm, which makes power control components for the electronics industry, told us that turnover for the six months to June was down by 10% to 47 million pounds and that pretax profits had fallen by 20% to 10 million pounds. However, XPP added that second-half sales and profits were expected to be substantially higher.

An improved first-half dividend of 21 pence per share, up from 19 pence per share, is to be paid, with full-year forecasts currently supporting a yield of 5%.

Dialight
Also in the electronics business, Dialight (LSE: DIA.L) saw its shares rise 5% to 1,052 pence after releasing its interim results.

This time, the maker of industrial LED lights recorded an 18% rise in turnover to 61 million pounds and saw diluted earnings per share grow by 51% to 16.5 pence. The interim dividend was boosted by 21% to 4 pence per share.

These shares have 10-bagged since their 2009 low, and their 1.2% forecast dividend yield is a lot lower than that of XP Power. But Dialight expects two years of strong earnings growth.

Edge Resources
Oil and gas explorer Edge Resources (LSE: EDG.L) put on a very nice 21% this morning to reach 18.2 pence following conformation that its summer Canadian drilling season had started earlier than expected.

After getting its hands on a nearby rig that was not being used, Edge says it will now be able to get two wells drilled and start production testing earlier than planned.

Earnings forecasts for the next two years, ending March 2013 and 2014, respectively, are strong.

What now?
If high technology or oil and gas aren't the sectors for you, there are some sectors that are currently looking undervalued. I think the retail sector could be set for a long-term comeback, and "Top Sectors for 2012," a free Motley Fool report, explores three other sectors. Click here to enjoy your copy while the report is still freely available.

Are you looking to profit as a long-term investor? " 10 Steps To Making A Million In The Market " is the latest Motley Fool guide to help Britain invest. Better. We urge you to read the report today -- while it's still free and available.

Further Motley Fool investment opportunities: