Page 1 of 1

sample xml generation and namespaces

Posted: Fri Aug 26, 2011 10:01 pm
by xmlguy
Have a set of schemas with numerous namespaces. Some elements have the same local name but occur in more than one namespace (i.e. <person:person> and <personv2:person>). I want to generate sample xml instances, but the tool only offers me the chance to select the local name. I can't tell it which "person" I want to generate the sample from.
Is there any way to tell the tool which "person" I want generated in the sample creation?
Thank you.

Re: sample xml generation and namespaces

Posted: Mon Aug 29, 2011 6:14 pm
by adrian
Hello,

Note that the Generate Sample XML Files tool only allows you to choose a root element from the elements in the target namespace(Namespace field, above the Root Element combo). You can check the prefix mappings in the Namespaces section from the bottom.

Regards,
Adrian