Guest kamlesh_sharma Posted January 6, 2006 Share Posted January 6, 2006 hi all,In xmlbeans is it possible to use custom processing?I created an "t1.xsd" file and "data.xml" file .In t1.xsd i define schema of data.<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"targetNamespace="http://openuri.org/easypo"elementFormDefault="qualified"><xs:element name="customer"><xs:complexType><xs:sequence><xs:element name="Name" type="xs:string"/></xs:sequence></xs:complexType></xs:element>and from " data.xml" file i entered data.<customer xmlns="http://openuri.org/easypo"><Name>Gladys Kravitz</Name></customer>now i want to set customer id inplace of name i.ewhen user entered name in xml file than inplace of name,id should beset. for example:name - idGladys Kravitz - 201.if I called getName() method than i should got '201' in place of 'Gladys Kravitz'Can we use custom processing in xmlbeans by which we can changed it?and how?or betwixt in xsd file.or what changed i have to made in t1.xsd file to get that result?hi all,In xmlbeans is it possible to use custom processing?I created an "t1.xsd" file and "data.xml" file .In t1.xsd i define schema of data.<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"targetNamespace="http://openuri.org/easypo"elementFormDefault="qualified"><xs:element name="customer"><xs:complexType><xs:sequence><xs:element name="Name" type="xs:string"/></xs:sequence></xs:complexType></xs:element>and from " data.xml" file i entered data.<customer xmlns="http://openuri.org/easypo"><Name>Gladys Kravitz</Name></customer>now i want to set customer id inplace of name i.ewhen user entered name in xml file than inplace of name,id should beset. for example:name - idGladys Kravitz - 201.if I called getName() method than i should got '201' in place of 'Gladys Kravitz'Can we use custom processing in xmlbeans by which we can changed it?and how?or what changed i have to made in t1.xsd file to get that result? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now