How to default attribute in XML when defined in schema

Hello Experts,

Is there an easy way to default the attribute when it is already defined in the schema as a fixed or default value. I have tried everything I know and I cannot get this to work without actually mapping it.

Basically I want the type=“CHAR” in the xml node PONUM to look like this:

What I get with my testing is just the following

or

I cant seem to get the “CHAR” in there.

As of now there is no option. With xsd when you generate IS document, the schema that is getting created holds the Default/Fixed values for an element. But this is not reflecting anywhere in the IS document which we use to generate XML string for example.

-Senthil