Page 1 of 1

Use prefixes instead op xmlns attribute

Posted: Wed Nov 02, 2005 4:20 pm
by dkruitbosch
Hi,

When I generate a document based on a schema, is it possible to "automagically" use prefixes for the element etc. instead of the xmlns attribute?

Example:

<prefix:myelement>data</myelement>

instead of

<myelement xmlns="http://mynamespace.com">data</myelement>

Thanks,

Danny

Posted: Wed Nov 02, 2005 5:57 pm
by george
Hi Danny,

Yes, just fill in the Prefix field in the New XML dialog and the root element namespace will be declared mapped to that prefix. See:
http://www.oxygenxml.com/doc/ug-oxygen/ ... tml#d4e734

Best regards,
George