XPuzzle

Ok, this is a simple one, if
XML + XSLT = 5
XPATH + XPOINTER = 10
RSS + ATOM = 7
XINCLUDE + RELAXNG = 11

Then what is
XHTML + MATHML = ?

Related Blog Posts

Oh f#ck, my fault, sorry guys, I screw up everything today...
Of course RSS + ATOM should be 6.
Anyway all of you get virtual first prize! Lets see if I can come up with something more convolute :)

This was my logic but zyh answer made me wonder :
why RSS+ATOM=7 and not 6...

Hehe, good exercise for your brains, guys.

The answer is 6.
It's a number of distict letters in both words.

Stolen here - http://www.google.com/puzzles :)

Count(1)+Count(2)-Count(1&&2)

7

6 for sure! (Got my score by counting number of unique letters)

I agree with 6.

5

Withdrawn...faulty logic

Given XML=1

if(firstword != XML)
f1 = count_letters_in_word(firstword)
else
f1 = 1

if(secondword != XML)
f2 = count_letters_in_word(secondword)
else
f2 = 1

f1 = divide_by2_ifeven(f1)
f2 = divide_by2_ifeven(f2)
final answer = f1 + f2

Therefore XHTML + MATHML = 8

10.. Just add the letters and remove all X's and N's

6