Hi Boris, thanks a lot. That's what I was looking for. With using the --root-type option I was able to serialize a local complex type of my schema. What about a parser for that type? Is it already created properly by using the --root-type option? best regards, Sebastian