I'm trying to transform the preferredLanguage attribute from eDirectory.
If it's missing in eDirectory I want to set 'sv' as the default value by
using outputValue='sv'

This doesn't work.

If the attribute exists in eDirectory then I can transform it to
anything, for example with:

if (inputValue=='en') outputValue='sv'

Is the transform script used if the value in eDirectory is missing?