HI All, I am using Schema to Instance generation functionality of XMLBeans.While doing so , the prefix used in the instance is decided by the framework.(it picks the first 3 or 4 letters of the last token from the URL).
Example : "<schema xmlns=\"http://www.w3.org/2001/XMLSchema\" targetNamespace=\"http://mycomp/city\">" + "<element name=\"city\">" + "<complexType>" + "<all>" + "<element name=\"name\"/>" + "<element name=\"population\"/>" + "</all>" + "</complexType>" + "</element>" + "</schema> The instance generated for this Schema is as below : <city:city xmlns:city="http://mycomp/city"> <name>anyType</name> <population>anyType</population> </city:city> My question is "Is it possible to specify the prefix while generating the instance from the schema" ? For example as a user I want mycity to be used as the prefix iso city . Regards, Siddhath *********************************************************************** The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. This email does not constitute any commitment from Cordys Holding BV or any of its subsidiaries except when expressly agreed in a written agreement between the intended recipient and Cordys Holding BV or its subsidiaries. ***********************************************************************

