Thank you for your answer. I tried again and i worked (see the config below). I think I got tricked because there is no graphical component for the dom-to-xml in the designer. Sorry for stealing your time for a dumb question.
I am still a beginner
But I think I am starting to get the idea - Is it so that the only made graphic components in the designer for the most common transformers, but you can use the full range by doing "xml by hand"?
My new config:
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns:mulexml="http://www.mulesoft.org/schema/mule/xml"
>
xmlns:file="http://www.mulesoft.org/schema/mule/file" xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:doc="http://www.mulesoft.org/schema/mule/documentation"
xmlns:spring="http://www.springframework.org/schema/beans" version="CE-3.3.0"
xmlns

si="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/file http://www.mulesoft.org/schema/mule/file/current/mule-file.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/xml http://www.mulesoft.org/schema/mule/xml/current/mule-xml.xsd ">
<!-- <mulexml:dom-to-xml-transformer name="domToXml"/> -->
<flow name="SplitterFlow1" doc:name="SplitterFlow1">
<file:inbound-endpoint path="C

ataMuleTestDataMuleInputSplitter"
>
moveToDirectory="C

ataMuleTestDataMuleSafeSplitter"
responseTimeout="10000" doc:name="File" fileAge="200"/>
<byte-array-to-string-transformer doc:name="Byte Array to String"/>
<splitter evaluator="xpath" expression="/order/orderitems/item"
>
doc:name="Splitter" />
<mulexml:dom-to-xml-transformer name="domToXml"/>
<!-- <transformer ref="domToXml" doc:name="Transformer Reference"/> -->
<logger level="INFO" doc:name="Logger"/>
<file:outbound-endpoint path="C

ataMuleTestDataMuleOutputSplitter"
>
outputPattern="#[function:dateStamp:dd-MM-yyyy-HH.mm.ss]-#[header:OUTBOUND:MULE_CORRELATION_SEQUENCE].xml"
responseTimeout="10000" doc:name="File"></file:outbound-endpoint>
</flow>
</mule>
Best regards
Kaj Bromose