How can i get the text of a single DomElement?

In the documentation it says " the text() function operates recursively to find the text (since not all elements contain text)."

So if i have something like this

<faktoren>
<faktor resolution="1680x1050" fullscreen="5">6</faktor>
<faktor resolution="1280x1024" fullscreen="5">8</faktor>
</faktoren>

and i call the text function on the faktoren tag i get "68" and i should get an empty string.

So my question is how can i get the text value of a single element, and ignore it's child tags?